Token Classification
Transformers
Safetensors
Spanish
ner
named-entity-recognition
biomedical
adverse-drug-reactions
spanish
roberta
Instructions to use guerrerotook/CIMA-RoBERTa-NER-baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use guerrerotook/CIMA-RoBERTa-NER-baseline with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="guerrerotook/CIMA-RoBERTa-NER-baseline")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("guerrerotook/CIMA-RoBERTa-NER-baseline", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 370 Bytes
90ee766 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"label_to_id": {
"O": 0,
"B-ACTIVE": 1,
"I-ACTIVE": 2,
"B-REACT": 3,
"I-REACT": 4,
"B-FREQ": 5,
"I-FREQ": 6,
"B-SYS": 7,
"I-SYS": 8
},
"id_to_label": {
"0": "O",
"1": "B-ACTIVE",
"2": "I-ACTIVE",
"3": "B-REACT",
"4": "I-REACT",
"5": "B-FREQ",
"6": "I-FREQ",
"7": "B-SYS",
"8": "I-SYS"
}
} |