Instructions to use justtherightsize/small-e-czech-2stage-online-risks-cs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use justtherightsize/small-e-czech-2stage-online-risks-cs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="justtherightsize/small-e-czech-2stage-online-risks-cs")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("justtherightsize/small-e-czech-2stage-online-risks-cs") model = AutoModel.from_pretrained("justtherightsize/small-e-czech-2stage-online-risks-cs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from justtherightsize/small-e-czech-2stage-online-risks-cs: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/justtherightsize/small-e-czech-2stage-online-risks-cs/resolve/main/config.json
- Command line
-
hf download hf://justtherightsize/small-e-czech-2stage-online-risks-cs/config.json
-
curl -L -o config.json https://huggingface.co/justtherightsize/small-e-czech-2stage-online-risks-cs/resolve/main/config.json
1.08 kB
| { | |
| "_name_or_path": "./results/170/1/split-1_eacl_256_02c_ts1_id-170", | |
| "architectures": [ | |
| "ElectraModel" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "embedding_size": 128, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 256, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3", | |
| "4": "LABEL_4" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1024, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3, | |
| "LABEL_4": 4 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "electra", | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "multi_label_classification", | |
| "summary_activation": "gelu", | |
| "summary_last_dropout": 0.1, | |
| "summary_type": "first", | |
| "summary_use_proj": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.33.1", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 30522 | |
| } | |