--- 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-05-spm-5120 results: [] --- [Visualize in Weights & Biases](https://wandb.ai/bohdan-petryshyn/huggingface/runs/idvwl4dj) # codellama-7b-openapi-completion-ctx-lvl-fim-05-spm-5120 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.4677 ## 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.3838 | 0.1 | 100 | 0.4693 | | 0.3106 | 0.2 | 200 | 0.4574 | | 0.385 | 0.3 | 300 | 0.4565 | | 0.3358 | 0.4 | 400 | 0.4650 | | 0.3582 | 0.5 | 500 | 0.4669 | | 0.3661 | 0.6 | 600 | 0.4637 | | 0.2986 | 0.7 | 700 | 0.4649 | | 0.2366 | 0.8 | 800 | 0.4778 | | 0.2344 | 0.9 | 900 | 0.4692 | | 0.3131 | 1.0 | 1000 | 0.4677 | ### Framework versions - PEFT 0.10.1.dev0 - Transformers 4.41.0.dev0 - Pytorch 2.2.2+cu121 - Datasets 2.19.1 - Tokenizers 0.19.1