Instructions to use Gregorig/roberta-large-finetuned-t_product with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gregorig/roberta-large-finetuned-t_product with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Gregorig/roberta-large-finetuned-t_product")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Gregorig/roberta-large-finetuned-t_product") model = AutoModelForSequenceClassification.from_pretrained("Gregorig/roberta-large-finetuned-t_product", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta-large-finetuned-t_product
This model is a fine-tuned version of roberta-large on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3718
- Accuracy: 0.905
- F1: 0.9047
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: 32
- eval_batch_size: 32
- 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.6026 | 1.0 | 51 | 0.3883 | 0.83 | 0.8297 |
| 0.3048 | 2.0 | 102 | 0.3992 | 0.88 | 0.8786 |
| 0.1709 | 3.0 | 153 | 0.3718 | 0.905 | 0.9047 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Tokenizers 0.19.1
- Downloads last month
- 3
Model tree for Gregorig/roberta-large-finetuned-t_product
Base model
FacebookAI/roberta-large