Instructions to use ufal/eleczech-lc-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ufal/eleczech-lc-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ufal/eleczech-lc-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from ufal/eleczech-lc-small: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/ufal/eleczech-lc-small/resolve/main/config.json
- Command line
-
hf download hf://ufal/eleczech-lc-small/config.json
-
curl -L -o config.json https://huggingface.co/ufal/eleczech-lc-small/resolve/main/config.json
419 Bytes
| { | |
| "attention_probs_dropout_prob": 0.1, | |
| "hidden_size": 256, | |
| "intermediate_size": 1024, | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 12, | |
| "embedding_size": 128, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "initializer_range": 0.02, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "type_vocab_size": 2, | |
| "vocab_size": 30522, | |
| "model_type": "electra" | |
| } | |