Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use dcere/ta1c-Clickbait-Detector-es-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dcere/ta1c-Clickbait-Detector-es-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dcere/ta1c-Clickbait-Detector-es-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dcere/ta1c-Clickbait-Detector-es-large") model = AutoModelForSequenceClassification.from_pretrained("dcere/ta1c-Clickbait-Detector-es-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: PlanTL-GOB-ES/roberta-large-bne | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: ta1c-Clickbait-Detector-es-large | |
| 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. --> | |
| # ta1c-Clickbait-Detector-es-large | |
| This model is a fine-tuned version of [PlanTL-GOB-ES/roberta-large-bne](https://huggingface.co/PlanTL-GOB-ES/roberta-large-bne) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.2719 | |
| - Macro F1: 0.8756 | |
| ## 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: 16 | |
| - eval_batch_size: 32 | |
| - seed: 428 | |
| - 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_ratio: 0.1 | |
| - num_epochs: 2 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Macro F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | 0.2024 | 1.0 | 175 | 0.2124 | 0.8776 | | |
| | 0.0955 | 2.0 | 350 | 0.2719 | 0.8756 | | |
| ### Framework versions | |
| - Transformers 4.52.2 | |
| - Pytorch 2.6.0+cu124 | |
| - Datasets 2.14.4 | |
| - Tokenizers 0.21.1 | |