Instructions to use RJuro/SciNERTopic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RJuro/SciNERTopic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RJuro/SciNERTopic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RJuro/SciNERTopic") model = AutoModelForTokenClassification.from_pretrained("RJuro/SciNERTopic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"do_basic_tokenize": true,
|
| 4 |
"do_lower_case": false,
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
-
"name_or_path": "/content/drive/MyDrive/Colab/NER-bert-sci/ner-scibert-
|
| 7 |
"never_split": null,
|
| 8 |
"pad_token": "[PAD]",
|
| 9 |
"sep_token": "[SEP]",
|
|
|
|
| 3 |
"do_basic_tokenize": true,
|
| 4 |
"do_lower_case": false,
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
+
"name_or_path": "/content/drive/MyDrive/Colab/NER-bert-sci/ner-scibert-model_ddsa",
|
| 7 |
"never_split": null,
|
| 8 |
"pad_token": "[PAD]",
|
| 9 |
"sep_token": "[SEP]",
|