Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use JhonMR/RoBertaLex_v12 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JhonMR/RoBertaLex_v12 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JhonMR/RoBertaLex_v12")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JhonMR/RoBertaLex_v12") model = AutoModelForSequenceClassification.from_pretrained("JhonMR/RoBertaLex_v12") - Notebooks
- Google Colab
- Kaggle
RoBertaLex_v12
This model is a fine-tuned version of PlanTL-GOB-ES/RoBERTalex on the None dataset. It achieves the following results on the evaluation set:
- Accuracy: 0.8997
- F1: 0.8995
- Precision: 0.9028
- Recall: 0.9010
- Loss: 0.4588
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: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 500
- num_epochs: 12
Training results
Framework versions
- Transformers 4.44.2
- Pytorch 2.5.0+cu121
- Datasets 3.1.0
- Tokenizers 0.19.1
- Downloads last month
- 2
Model tree for JhonMR/RoBertaLex_v12
Base model
PlanTL-GOB-ES/RoBERTalex