Instructions to use BohdanPetryshyn/codellama-7b-openapi-completion-ctx-lvl-fim-no-spm-inf-seq-a-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BohdanPetryshyn/codellama-7b-openapi-completion-ctx-lvl-fim-no-spm-inf-seq-a-32 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "BohdanPetryshyn/codellama-7b-openapi-completion-ctx-lvl-fim-no-spm-inf-seq-a-32") - Notebooks
- Google Colab
- Kaggle
codellama-7b-openapi-completion-ctx-lvl-fim-no-spm-inf-seq-a-32
This model is a fine-tuned version of codellama/CodeLlama-7b-hf on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4744
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: 5
- eval_batch_size: 5
- seed: 42
- gradient_accumulation_steps: 6
- total_train_batch_size: 30
- 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.3733 | 0.1 | 100 | 0.4593 |
| 0.4185 | 0.2 | 200 | 0.4609 |
| 0.3707 | 0.3 | 300 | 0.4595 |
| 0.3995 | 0.4 | 400 | 0.4673 |
| 0.3393 | 0.5 | 500 | 0.4664 |
| 0.3196 | 0.6 | 600 | 0.4664 |
| 0.3372 | 0.7 | 700 | 0.4732 |
| 0.3179 | 0.8 | 800 | 0.4728 |
| 0.2717 | 0.9 | 900 | 0.4745 |
| 0.3782 | 1.0 | 1000 | 0.4744 |
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
- Downloads last month
- 13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for BohdanPetryshyn/codellama-7b-openapi-completion-ctx-lvl-fim-no-spm-inf-seq-a-32
Base model
codellama/CodeLlama-7b-hf