Instructions to use tner/roberta-large-conll2003 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tner/roberta-large-conll2003 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tner/roberta-large-conll2003")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tner/roberta-large-conll2003") model = AutoModelForTokenClassification.from_pretrained("tner/roberta-large-conll2003") - Notebooks
- Google Colab
- Kaggle
add tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"errors": "replace",
|
| 7 |
"mask_token": "<mask>",
|
| 8 |
"model_max_length": 512,
|
| 9 |
-
"name_or_path": "
|
| 10 |
"pad_token": "<pad>",
|
| 11 |
"sep_token": "</s>",
|
| 12 |
"special_tokens_map_file": null,
|
|
|
|
| 6 |
"errors": "replace",
|
| 7 |
"mask_token": "<mask>",
|
| 8 |
"model_max_length": 512,
|
| 9 |
+
"name_or_path": "roberta-large-conll2003",
|
| 10 |
"pad_token": "<pad>",
|
| 11 |
"sep_token": "</s>",
|
| 12 |
"special_tokens_map_file": null,
|