Token Classification
Transformers
PyTorch
roberta
LABEL-0 = NONE
LABEL-1 = B-DATE
LABEL-2 = I-DATE
LABEL-3 = B-TIME
LABEL-4 = I-TIME
LABEL-5 = B-DURATION
LABEL-6 = I-DURATION
LABEL-7 = B-SET
LABEL-8 = I-SET
Instructions to use asdc/Bio-RoBERTime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asdc/Bio-RoBERTime with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="asdc/Bio-RoBERTime", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("asdc/Bio-RoBERTime") model = AutoModelForTokenClassification.from_pretrained("asdc/Bio-RoBERTime", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 34 |
|
| 35 |
# Bio-RoBERTime
|
| 36 |
|
| 37 |
-
This model is a fine-tuned version of [PlanTL-GOB-ES/roberta-base-biomedical-clinical-es](https://huggingface.co/PlanTL-GOB-ES/roberta-base-biomedical-clinical-es) on the
|
| 38 |
|
| 39 |
It achieves the following results on the [E3C corpus](https://github.com/hltfbk/E3C-Corpus) test set following the TempEval-3 evaluation metrics:
|
| 40 |
|
|
@@ -44,6 +44,8 @@ It achieves the following results on the [E3C corpus](https://github.com/hltfbk/
|
|
| 44 |
| Heideltime | 0.5945 | 0.7558 | 0.6083 |
|
| 45 |
| Annotador | 0.6006 | 0.7347 | 0.5598 |
|
| 46 |
|
|
|
|
|
|
|
| 47 |
## Model description
|
| 48 |
|
| 49 |
- **Developed by**: Alejandro Sánchez de Castro, Juan Martínez Romo, Lourdes Araujo
|
|
|
|
| 34 |
|
| 35 |
# Bio-RoBERTime
|
| 36 |
|
| 37 |
+
This model is a fine-tuned version of [PlanTL-GOB-ES/roberta-base-biomedical-clinical-es](https://huggingface.co/PlanTL-GOB-ES/roberta-base-biomedical-clinical-es) on the [E3C](https://github.com/hltfbk/E3C-Corpus) and Timebank datasets.
|
| 38 |
|
| 39 |
It achieves the following results on the [E3C corpus](https://github.com/hltfbk/E3C-Corpus) test set following the TempEval-3 evaluation metrics:
|
| 40 |
|
|
|
|
| 44 |
| Heideltime | 0.5945 | 0.7558 | 0.6083 |
|
| 45 |
| Annotador | 0.6006 | 0.7347 | 0.5598 |
|
| 46 |
|
| 47 |
+
RoBERTime is a token classification model, it labels each token into one of the 9 posible labels. We follow the BIO label schema, so each class has two posible values: Begining or Interior. For more Details on the implementation and evaluation refer to the paper: ["RoBERTime: A novel model for the detection of temporal expressions in Spanish" ](https://rua.ua.es/dspace/handle/10045/133235)
|
| 48 |
+
|
| 49 |
## Model description
|
| 50 |
|
| 51 |
- **Developed by**: Alejandro Sánchez de Castro, Juan Martínez Romo, Lourdes Araujo
|