Instructions to use d4data/biomedical-ner-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d4data/biomedical-ner-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="d4data/biomedical-ner-all")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all") model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -76,7 +76,7 @@
|
|
| 76 |
"64": "I-Lab_value",
|
| 77 |
"65": "I-Mass",
|
| 78 |
"66": "I-Medication",
|
| 79 |
-
"67": "I-
|
| 80 |
"68": "I-Occupation",
|
| 81 |
"69": "I-Other_entity",
|
| 82 |
"70": "I-Other_event",
|
|
@@ -162,7 +162,7 @@
|
|
| 162 |
"I-Lab_value": 64,
|
| 163 |
"I-Mass": 65,
|
| 164 |
"I-Medication": 66,
|
| 165 |
-
"I-
|
| 166 |
"I-Occupation": 68,
|
| 167 |
"I-Other_entity": 69,
|
| 168 |
"I-Other_event": 70,
|
|
|
|
| 76 |
"64": "I-Lab_value",
|
| 77 |
"65": "I-Mass",
|
| 78 |
"66": "I-Medication",
|
| 79 |
+
"67": "I-location",
|
| 80 |
"68": "I-Occupation",
|
| 81 |
"69": "I-Other_entity",
|
| 82 |
"70": "I-Other_event",
|
|
|
|
| 162 |
"I-Lab_value": 64,
|
| 163 |
"I-Mass": 65,
|
| 164 |
"I-Medication": 66,
|
| 165 |
+
"I-location": 67,
|
| 166 |
"I-Occupation": 68,
|
| 167 |
"I-Other_entity": 69,
|
| 168 |
"I-Other_event": 70,
|