--- license: llama2 library_name: peft tags: - generated_from_trainer base_model: codellama/CodeLlama-7b-hf model-index: - name: sql-code-llama results: [] --- # sql-code-llama This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.5699 ## 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.0003 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 128 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 100 - training_steps: 100 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 2.1594 | 0.04 | 20 | 1.9765 | | 1.1079 | 0.07 | 40 | 0.8140 | | 0.8124 | 0.11 | 60 | 0.6610 | | 0.5827 | 0.14 | 80 | 0.5901 | | 0.4148 | 0.18 | 100 | 0.5699 | ### Framework versions - PEFT 0.10.1.dev0 - Transformers 4.36.0 - Pytorch 2.0.1+cu118 - Datasets 2.18.0 - Tokenizers 0.15.2