Instructions to use contemmcm/33e096b6e580d5322733859d9f65d20a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use contemmcm/33e096b6e580d5322733859d9f65d20a with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="contemmcm/33e096b6e580d5322733859d9f65d20a")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("contemmcm/33e096b6e580d5322733859d9f65d20a") model = AutoModelForSequenceClassification.from_pretrained("contemmcm/33e096b6e580d5322733859d9f65d20a", device_map="auto") - Notebooks
- Google Colab
- Kaggle
33e096b6e580d5322733859d9f65d20a
This model is a fine-tuned version of meta-llama/Llama-3.2-1B on the contemmcm/clickbait dataset. It achieves the following results on the evaluation set:
- Loss: 0.5677
- Data Size: 0.125
- Epoch Runtime: 19.8320
- Accuracy: 0.9884
- F1 Macro: 0.9877
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- total_train_batch_size: 32
- total_eval_batch_size: 32
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: constant
- num_epochs: 50
Training results
| Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro |
|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 3.0334 | 0 | 7.2967 | 0.6128 | 0.6093 |
| No log | 1 | 650 | 0.1917 | 0.0078 | 7.8576 | 0.9925 | 0.9921 |
| No log | 2 | 1300 | 1.2754 | 0.0156 | 9.0468 | 0.9730 | 0.9719 |
| No log | 3 | 1950 | 3.0198 | 0.0312 | 11.2595 | 0.8009 | 0.7570 |
| No log | 4 | 2600 | 0.6380 | 0.0625 | 13.8333 | 0.9898 | 0.9893 |
| 0.0544 | 5 | 3250 | 0.5677 | 0.125 | 19.8320 | 0.9884 | 0.9877 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 5
Model tree for contemmcm/33e096b6e580d5322733859d9f65d20a
Base model
meta-llama/Llama-3.2-1B