--- license: llama3 base_model: meta-llama/Meta-Llama-3-8B tags: - generated_from_trainer model-index: - name: MSc_llama3_finetuned_model_secondData results: [] library_name: peft --- # MSc_llama3_finetuned_model_secondData This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.7284 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure The following `bitsandbytes` quantization config was used during training: - quant_method: bitsandbytes - _load_in_8bit: False - _load_in_4bit: True - llm_int8_threshold: 6.0 - llm_int8_skip_modules: None - llm_int8_enable_fp32_cpu_offload: False - llm_int8_has_fp16_weight: False - bnb_4bit_quant_type: nf4 - bnb_4bit_use_double_quant: True - bnb_4bit_compute_dtype: bfloat16 - load_in_4bit: True - load_in_8bit: False ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-05 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 8 - total_train_batch_size: 64 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_ratio: 0.03 - training_steps: 250 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 3.7573 | 1.36 | 10 | 3.3722 | | 2.8144 | 2.71 | 20 | 2.0325 | | 1.5867 | 4.07 | 30 | 1.2586 | | 1.1875 | 5.42 | 40 | 1.0898 | | 1.0487 | 6.78 | 50 | 1.0168 | | 0.9716 | 8.14 | 60 | 0.9688 | | 0.9134 | 9.49 | 70 | 0.9304 | | 0.8505 | 10.85 | 80 | 0.8940 | | 0.7963 | 12.2 | 90 | 0.8640 | | 0.7497 | 13.56 | 100 | 0.8379 | | 0.7067 | 14.92 | 110 | 0.8080 | | 0.6484 | 16.27 | 120 | 0.7751 | | 0.5945 | 17.63 | 130 | 0.7385 | | 0.5349 | 18.98 | 140 | 0.6990 | | 0.4854 | 20.34 | 150 | 0.6956 | | 0.4729 | 21.69 | 160 | 0.6990 | | 0.4496 | 23.05 | 170 | 0.6885 | | 0.4405 | 24.41 | 180 | 0.7089 | | 0.435 | 25.76 | 190 | 0.7215 | | 0.4243 | 27.12 | 200 | 0.7162 | | 0.418 | 28.47 | 210 | 0.7205 | | 0.4156 | 29.83 | 220 | 0.7296 | | 0.4153 | 31.19 | 230 | 0.7275 | | 0.4146 | 32.54 | 240 | 0.7292 | | 0.4094 | 33.9 | 250 | 0.7284 | ### Framework versions - PEFT 0.4.0 - Transformers 4.38.2 - Pytorch 2.3.1+cu121 - Datasets 2.13.1 - Tokenizers 0.15.2