Instructions to use contemmcm/4b312d8db7e722491ca48d4d9e0d3d02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use contemmcm/4b312d8db7e722491ca48d4d9e0d3d02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="contemmcm/4b312d8db7e722491ca48d4d9e0d3d02")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("contemmcm/4b312d8db7e722491ca48d4d9e0d3d02") model = AutoModelForSequenceClassification.from_pretrained("contemmcm/4b312d8db7e722491ca48d4d9e0d3d02", device_map="auto") - Notebooks
- Google Colab
- Kaggle
4b312d8db7e722491ca48d4d9e0d3d02
This model is a fine-tuned version of meta-llama/Llama-3.2-1B-Instruct on the nyu-mll/glue [qnli] dataset. It achieves the following results on the evaluation set:
- Loss: 2.1942
- Data Size: 1.0
- Epoch Runtime: 428.5133
- Accuracy: 0.8006
- F1 Macro: 0.7999
- Rouge1: 0.8004
- Rouge2: 0.0
- Rougel: 0.8006
- Rougelsum: 0.8002
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 | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 4.2218 | 0 | 7.2212 | 0.5086 | 0.5086 | 0.5085 | 0.0 | 0.5086 | 0.5086 |
| No log | 1 | 3273 | 3.3771 | 0.0078 | 10.3293 | 0.4943 | 0.3308 | 0.4947 | 0.0 | 0.4943 | 0.4944 |
| 0.0842 | 2 | 6546 | 2.6269 | 0.0156 | 14.3091 | 0.6513 | 0.6328 | 0.6511 | 0.0 | 0.6513 | 0.6509 |
| 2.548 | 3 | 9819 | 2.2013 | 0.0312 | 22.7586 | 0.7301 | 0.7220 | 0.7301 | 0.0 | 0.7301 | 0.7301 |
| 2.3436 | 4 | 13092 | 2.0594 | 0.0625 | 34.9346 | 0.7649 | 0.7648 | 0.7650 | 0.0 | 0.7651 | 0.7647 |
| 2.0779 | 5 | 16365 | 2.8494 | 0.125 | 61.6705 | 0.6669 | 0.6381 | 0.6669 | 0.0 | 0.6675 | 0.6669 |
| 1.9541 | 6 | 19638 | 1.8534 | 0.25 | 111.6309 | 0.7875 | 0.7874 | 0.7875 | 0.0 | 0.7879 | 0.7873 |
| 1.7703 | 7 | 22911 | 2.0874 | 0.5 | 214.4400 | 0.7540 | 0.7485 | 0.7542 | 0.0 | 0.7546 | 0.7540 |
| 1.661 | 8.0 | 26184 | 1.9472 | 1.0 | 429.1279 | 0.7919 | 0.7904 | 0.7919 | 0.0 | 0.7923 | 0.7923 |
| 1.1802 | 9.0 | 29457 | 1.9696 | 1.0 | 429.9294 | 0.7937 | 0.7921 | 0.7939 | 0.0 | 0.7941 | 0.7939 |
| 0.8204 | 10.0 | 32730 | 2.1942 | 1.0 | 428.5133 | 0.8006 | 0.7999 | 0.8004 | 0.0 | 0.8006 | 0.8002 |
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/4b312d8db7e722491ca48d4d9e0d3d02
Base model
meta-llama/Llama-3.2-1B-Instruct