Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use abischoff/test-trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abischoff/test-trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abischoff/test-trainer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("abischoff/test-trainer") model = AutoModelForSequenceClassification.from_pretrained("abischoff/test-trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("abischoff/test-trainer")
model = AutoModelForSequenceClassification.from_pretrained("abischoff/test-trainer", device_map="auto")Quick Links
test-trainer
This model is a fine-tuned version of xlm-roberta-base on the generator dataset. It achieves the following results on the evaluation set:
- Loss: 0.0057
- Mse: 0.1064
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: 1
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Mse |
|---|---|---|---|---|
| 0.0041 | 1.0 | 25720 | 0.0053 | 0.1029 |
| 0.0033 | 2.0 | 51440 | 0.0061 | 0.1105 |
| 0.0042 | 3.0 | 77160 | 0.0061 | 0.1106 |
| 0.0037 | 4.0 | 102880 | 0.0055 | 0.1044 |
| 0.0037 | 5.0 | 128600 | 0.0057 | 0.1064 |
Framework versions
- Transformers 4.45.2
- Pytorch 2.5.1+cu124
- Datasets 3.2.0
- Tokenizers 0.20.3
- Downloads last month
- 3
Model tree for abischoff/test-trainer
Base model
FacebookAI/xlm-roberta-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abischoff/test-trainer")