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 ·
ae07f36
1
Parent(s): 13f7872
updated config
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -4,5 +4,6 @@
|
|
| 4 |
"hidden_size": 768,
|
| 5 |
"num_labels": 3,
|
| 6 |
"max_position_embeddings": 514,
|
|
|
|
| 7 |
"vocab_size": 50265
|
| 8 |
}
|
|
|
|
| 4 |
"hidden_size": 768,
|
| 5 |
"num_labels": 3,
|
| 6 |
"max_position_embeddings": 514,
|
| 7 |
+
"type_vocab_size": 1,
|
| 8 |
"vocab_size": 50265
|
| 9 |
}
|