Instructions to use amitjain171980/xlm-roberta-base-finetuned-panx-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amitjain171980/xlm-roberta-base-finetuned-panx-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="amitjain171980/xlm-roberta-base-finetuned-panx-all")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("amitjain171980/xlm-roberta-base-finetuned-panx-all") model = AutoModelForTokenClassification.from_pretrained("amitjain171980/xlm-roberta-base-finetuned-panx-all", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm-roberta-base-finetuned-panx-all
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1533
- F1: 0.8514
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: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 0.2975 | 1.0 | 574 | 0.1738 | 0.7941 |
| 0.1427 | 2.0 | 1148 | 0.1585 | 0.8281 |
| 0.0947 | 3.0 | 1722 | 0.1533 | 0.8514 |
Framework versions
- Transformers 4.16.2
- Pytorch 2.1.0+cu121
- Datasets 1.16.1
- Tokenizers 0.15.2
- Downloads last month
- 8