Instructions to use tonitt97/twitter-xlm-roberta-allData-class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tonitt97/twitter-xlm-roberta-allData-class with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tonitt97/twitter-xlm-roberta-allData-class")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tonitt97/twitter-xlm-roberta-allData-class") model = AutoModelForSequenceClassification.from_pretrained("tonitt97/twitter-xlm-roberta-allData-class", device_map="auto") - Notebooks
- Google Colab
- Kaggle
twitter-xlm-roberta-allData-class
This model is a fine-tuned version of cardiffnlp/twitter-xlm-roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7406
- F1: 0.7219
- Recall: 0.7477
- Accuracy: 0.7342
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: 1.7197827530913808e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 101
- distributed_type: multi-GPU
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3.0
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Recall | Accuracy |
|---|---|---|---|---|---|---|
| 0.9921 | 1.22 | 500 | 0.7383 | 0.6907 | 0.7194 | 0.7157 |
| 0.5734 | 2.44 | 1000 | 0.7406 | 0.7219 | 0.7477 | 0.7342 |
Framework versions
- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0
- Downloads last month
- 5
Model tree for tonitt97/twitter-xlm-roberta-allData-class
Base model
cardiffnlp/twitter-xlm-roberta-base