Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use QuimBallester/question_focus_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuimBallester/question_focus_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="QuimBallester/question_focus_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("QuimBallester/question_focus_model") model = AutoModelForSequenceClassification.from_pretrained("QuimBallester/question_focus_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from QuimBallester/question_focus_model: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/QuimBallester/question_focus_model/resolve/main/README.md
- Command line
-
hf download hf://QuimBallester/question_focus_model/README.md
-
curl -L -o README.md https://huggingface.co/QuimBallester/question_focus_model/resolve/main/README.md
1.78 kB
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: PlanTL-GOB-ES/roberta-base-bne | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: question_focus_model | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # question_focus_model | |
| This model is a fine-tuned version of [PlanTL-GOB-ES/roberta-base-bne](https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.5105 | |
| - Accuracy: 0.8 | |
| ## 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: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 50 | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | 0.7071 | 1.0 | 13 | 0.6947 | 0.52 | | |
| | 0.7218 | 2.0 | 26 | 0.6797 | 0.64 | | |
| | 0.6588 | 3.0 | 39 | 0.5430 | 0.72 | | |
| | 0.1865 | 4.0 | 52 | 0.5481 | 0.8 | | |
| | 0.0525 | 5.0 | 65 | 0.5105 | 0.8 | | |
| ### Framework versions | |
| - Transformers 4.52.3 | |
| - Pytorch 2.7.0 | |
| - Datasets 3.6.0 | |
| - Tokenizers 0.21.1 | |