--- license: llama2 library_name: peft tags: - generated_from_trainer base_model: codellama/CodeLlama-7b-hf model-index: - name: codellama-7b-openapi-completion-ctx-lvl-fim-no-spm results: [] --- [Visualize in Weights & Biases](https://wandb.ai/bohdan-petryshyn/huggingface/runs/nb7a206s) # codellama-7b-openapi-completion-ctx-lvl-fim-no-spm 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.5037 ## 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: 4 - eval_batch_size: 4 - seed: 42 - gradient_accumulation_steps: 8 - total_train_batch_size: 32 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_ratio: 0.05 - training_steps: 1000 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 0.4017 | 0.1 | 100 | 0.5068 | | 0.4416 | 0.2 | 200 | 0.4932 | | 0.7172 | 0.3 | 300 | 0.4954 | | 0.2772 | 0.4 | 400 | 0.4986 | | 0.5172 | 0.5 | 500 | 0.5012 | | 0.3635 | 0.6 | 600 | 0.4983 | | 0.2458 | 0.7 | 700 | 0.5086 | | 0.3804 | 0.8 | 800 | 0.4972 | | 0.2095 | 0.9 | 900 | 0.4992 | | 0.0881 | 1.0 | 1000 | 0.5037 | ### Framework versions - PEFT 0.10.1.dev0 - Transformers 4.41.0.dev0 - Pytorch 2.2.2+cu121 - Datasets 2.19.0 - Tokenizers 0.19.1