Instructions to use hellowYJY/xlm-roberta-base-finetuned-panx-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hellowYJY/xlm-roberta-base-finetuned-panx-fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hellowYJY/xlm-roberta-base-finetuned-panx-fr")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hellowYJY/xlm-roberta-base-finetuned-panx-fr") model = AutoModelForTokenClassification.from_pretrained("hellowYJY/xlm-roberta-base-finetuned-panx-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm-roberta-base-finetuned-panx-fr
This model is a fine-tuned version of xlm-roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2697
- F1: 0.8419
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: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 0.559 | 1.0 | 191 | 0.3183 | 0.7927 |
| 0.2646 | 2.0 | 382 | 0.2719 | 0.8288 |
| 0.1768 | 3.0 | 573 | 0.2697 | 0.8419 |
Framework versions
- Transformers 4.46.3
- Pytorch 2.4.1+cu118
- Datasets 3.1.0
- Tokenizers 0.20.3
- Downloads last month
- 4
Model tree for hellowYJY/xlm-roberta-base-finetuned-panx-fr
Base model
FacebookAI/xlm-roberta-base