Instructions to use SIRIS-Lab/citation-parser-ENTITY with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SIRIS-Lab/citation-parser-ENTITY with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="SIRIS-Lab/citation-parser-ENTITY")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("SIRIS-Lab/citation-parser-ENTITY") model = AutoModelForTokenClassification.from_pretrained("SIRIS-Lab/citation-parser-ENTITY", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
|
@@ -44,6 +44,7 @@
|
|
| 44 |
"clean_up_tokenization_spaces": false,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_lower_case": false,
|
|
|
|
| 47 |
"mask_token": "[MASK]",
|
| 48 |
"model_max_length": 512,
|
| 49 |
"pad_token": "[PAD]",
|
|
|
|
| 44 |
"clean_up_tokenization_spaces": false,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_lower_case": false,
|
| 47 |
+
"extra_special_tokens": {},
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
"model_max_length": 512,
|
| 50 |
"pad_token": "[PAD]",
|