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
End of training
Browse files- README.md +5 -6
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -16,8 +16,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
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.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.
|
| 20 |
-
- Macro F1: 0.
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -43,16 +43,15 @@ The following hyperparameters were used during training:
|
|
| 43 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
- lr_scheduler_warmup_ratio: 0.1
|
| 46 |
-
- num_epochs:
|
| 47 |
- mixed_precision_training: Native AMP
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Macro F1 |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.0411 | 3.0 | 420 | 0.5583 | 0.8882 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 16 |
|
| 17 |
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.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.2719
|
| 20 |
+
- Macro F1: 0.8756
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 43 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
- lr_scheduler_warmup_ratio: 0.1
|
| 46 |
+
- num_epochs: 2
|
| 47 |
- mixed_precision_training: Native AMP
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Macro F1 |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| 0.2024 | 1.0 | 175 | 0.2124 | 0.8776 |
|
| 54 |
+
| 0.0955 | 2.0 | 350 | 0.2719 | 0.8756 |
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1421483128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1992573815c72d904b20259c7fcf180f0ad9aa31dab5d52a91c1238471d3cea
|
| 3 |
size 1421483128
|