Instructions to use Ludo33/eurobert210m_RSE_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ludo33/eurobert210m_RSE_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ludo33/eurobert210m_RSE_v1", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ludo33/eurobert210m_RSE_v1", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("Ludo33/eurobert210m_RSE_v1", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "EuroBERT/EuroBERT-210m", | |
| "architectures": [ | |
| "EuroBertForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "EuroBERT/EuroBERT-210m--configuration_eurobert.EuroBertConfig", | |
| "AutoModel": "EuroBERT/EuroBERT-210m--modeling_eurobert.EuroBertModel", | |
| "AutoModelForMaskedLM": "EuroBERT/EuroBERT-210m--modeling_eurobert.EuroBertForMaskedLM", | |
| "AutoModelForPreTraining": "EuroBERT/EuroBERT-210m--modeling_eurobert.EuroBertPreTrainedModel", | |
| "AutoModelForSequenceClassification": "EuroBERT/EuroBERT-210m--modeling_eurobert.EuroBertForSequenceClassification" | |
| }, | |
| "bos_token": "<|begin_of_text|>", | |
| "bos_token_id": 128000, | |
| "clf_pooling": "late", | |
| "eos_token": "<|end_of_text|>", | |
| "eos_token_id": 128001, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_dropout": 0.0, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3", | |
| "4": "LABEL_4", | |
| "5": "LABEL_5", | |
| "6": "LABEL_6", | |
| "7": "LABEL_7" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3, | |
| "LABEL_4": 4, | |
| "LABEL_5": 5, | |
| "LABEL_6": 6, | |
| "LABEL_7": 7 | |
| }, | |
| "mask_token": "<|mask|>", | |
| "mask_token_id": 128002, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "model_type": "eurobert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "num_key_value_heads": 12, | |
| "pad_token": "<|end_of_text|>", | |
| "pad_token_id": 128001, | |
| "pretraining_tp": 1, | |
| "problem_type": "single_label_classification", | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 250000, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.48.3", | |
| "use_cache": false, | |
| "vocab_size": 128256 | |
| } | |