--- library_name: peft license: llama3.2 base_model: meta-llama/Llama-3.2-1B-Instruct tags: - generated_from_trainer metrics: - accuracy - f1 model-index: - name: llama-1b-sst-2 results: [] --- # llama-1b-sst-2 This model is a fine-tuned version of [meta-llama/Llama-3.2-1B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.3046 - Accuracy: 0.8761 - F1: 0.8805 ## 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: 0.0002 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 128 - optimizer: Use 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: 100 - num_epochs: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | |:-------------:|:------:|:----:|:---------------:|:--------:|:------:| | No log | 0.1900 | 100 | 0.6003 | 0.6858 | 0.7375 | | No log | 0.3800 | 200 | 0.4186 | 0.8154 | 0.8282 | | No log | 0.5701 | 300 | 0.3709 | 0.8463 | 0.8511 | | No log | 0.7601 | 400 | 0.3565 | 0.8532 | 0.8612 | | 2.0823 | 0.9501 | 500 | 0.3391 | 0.8589 | 0.8591 | | 2.0823 | 1.1387 | 600 | 0.3303 | 0.8681 | 0.8686 | | 2.0823 | 1.3287 | 700 | 0.3285 | 0.8704 | 0.8660 | | 2.0823 | 1.5188 | 800 | 0.3177 | 0.8681 | 0.8715 | | 2.0823 | 1.7088 | 900 | 0.3406 | 0.8567 | 0.8691 | | 1.3266 | 1.8988 | 1000 | 0.3094 | 0.8842 | 0.8843 | | 1.3266 | 2.0874 | 1100 | 0.3051 | 0.8819 | 0.8841 | | 1.3266 | 2.2774 | 1200 | 0.3046 | 0.8784 | 0.8817 | | 1.3266 | 2.4675 | 1300 | 0.3041 | 0.8773 | 0.8810 | | 1.3266 | 2.6575 | 1400 | 0.3034 | 0.8773 | 0.8810 | | 1.2318 | 2.8475 | 1500 | 0.3046 | 0.8761 | 0.8805 | ### Framework versions - PEFT 0.14.0 - Transformers 4.47.1 - Pytorch 2.5.1+cu124 - Datasets 3.2.0 - Tokenizers 0.21.0