Token Classification
Transformers
Safetensors
English
roberta
sequence-labeling
political-science
social-groups
parliamentary-debates
Instructions to use maxwlnd/roberta_group_mention_detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maxwlnd/roberta_group_mention_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="maxwlnd/roberta_group_mention_detector")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("maxwlnd/roberta_group_mention_detector") model = AutoModelForTokenClassification.from_pretrained("maxwlnd/roberta_group_mention_detector") - Notebooks
- Google Colab
- Kaggle
MaximilianWeiland commited on
Commit ·
312efd9
1
Parent(s): 9228645
changed vocab size
Browse files
config_roberta_group_mention_detector.json
CHANGED
|
@@ -2,5 +2,6 @@
|
|
| 2 |
"architectures": ["RobertaForTokenClassification"],
|
| 3 |
"model_type": "roberta",
|
| 4 |
"hidden_size": 768,
|
| 5 |
-
"num_labels": 3
|
|
|
|
| 6 |
}
|
|
|
|
| 2 |
"architectures": ["RobertaForTokenClassification"],
|
| 3 |
"model_type": "roberta",
|
| 4 |
"hidden_size": 768,
|
| 5 |
+
"num_labels": 3,
|
| 6 |
+
"vocab_size": 514
|
| 7 |
}
|