metadata
license: mit
base_model: FacebookAI/xlm-roberta-large
tags:
- generated_from_trainer
datasets:
- cnec
metrics:
- precision
- recall
- f1
- accuracy
model-index:
- name: CNEC1_1_extended_xlm-roberta-large
results:
- task:
name: Token Classification
type: token-classification
dataset:
name: cnec
type: cnec
config: default
split: validation
args: default
metrics:
- name: Precision
type: precision
value: 0.8450920245398773
- name: Recall
type: recall
value: 0.8834847675040085
- name: F1
type: f1
value: 0.8638620329239612
- name: Accuracy
type: accuracy
value: 0.9686893876420061
CNEC1_1_extended_xlm-roberta-large
This model is a fine-tuned version of FacebookAI/xlm-roberta-large on the cnec dataset. It achieves the following results on the evaluation set:
- Loss: 0.1689
- Precision: 0.8451
- Recall: 0.8835
- F1: 0.8639
- Accuracy: 0.9687
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- lr_scheduler_warmup_steps: 500
- num_epochs: 8
Training results
Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
---|---|---|---|---|---|---|---|
0.622 | 1.72 | 500 | 0.1439 | 0.7485 | 0.8525 | 0.7971 | 0.9606 |
0.1138 | 3.44 | 1000 | 0.1308 | 0.8185 | 0.8846 | 0.8502 | 0.9684 |
0.056 | 5.15 | 1500 | 0.1430 | 0.8528 | 0.8915 | 0.8717 | 0.9717 |
0.0285 | 6.87 | 2000 | 0.1689 | 0.8451 | 0.8835 | 0.8639 | 0.9687 |
Framework versions
- Transformers 4.36.2
- Pytorch 2.1.2+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0