SIRIS-Lab/citation-parser-ENTITY
Viewer โข Updated โข 2.69k โข 30
How to use EshAhm/xlm-roberta-baseFullTune with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="EshAhm/xlm-roberta-baseFullTune") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("EshAhm/xlm-roberta-baseFullTune")
model = AutoModelForTokenClassification.from_pretrained("EshAhm/xlm-roberta-baseFullTune", device_map="auto")This model is a fine-tuned version of xlm-roberta-base on SIRIS-Lab/citation-parser-ENTITY dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 1.6802 | 1.0 | 68 | 0.3909 | 0.6138 | 0.6296 | 0.6216 | 0.9132 |
| 0.3432 | 2.0 | 136 | 0.1687 | 0.8981 | 0.9357 | 0.9165 | 0.9670 |
| 0.0845 | 3.0 | 204 | 0.1430 | 0.9298 | 0.9537 | 0.9416 | 0.9742 |
| 0.0689 | 4.0 | 272 | 0.1330 | 0.9403 | 0.9627 | 0.9514 | 0.9773 |
| 0.0497 | 5.0 | 340 | 0.1212 | 0.9548 | 0.9653 | 0.9600 | 0.9782 |
| 0.0400 | 6.0 | 408 | 0.1253 | 0.9506 | 0.9653 | 0.9579 | 0.9784 |
| 0.0363 | 7.0 | 476 | 0.1189 | 0.9543 | 0.9659 | 0.9601 | 0.9791 |
| 0.0333 | 8.0 | 544 | 0.1219 | 0.9592 | 0.9666 | 0.9628 | 0.9783 |
| 0.0257 | 9.0 | 612 | 0.1244 | 0.9573 | 0.9659 | 0.9616 | 0.9781 |
| 0.0299 | 10.0 | 680 | 0.1247 | 0.9561 | 0.9659 | 0.9610 | 0.9776 |
Base model
FacebookAI/xlm-roberta-base