Instructions to use Navaneeth123456789/NavCoder-LoRA-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Navaneeth123456789/NavCoder-LoRA-v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "Navaneeth123456789/NavCoder-LoRA-v1") - Notebooks
- Google Colab
- Kaggle
File size: 705 Bytes
485845a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | ---
base_model: Qwen/Qwen2.5-Coder-0.5B-Instruct
base_model_relation: adapter
library_name: peft
pipeline_tag: text-generation
tags:
- lora
- peft
- code
datasets:
- sahil2801/CodeAlpaca-20k
---
# NavCoder LoRA v1
A coding-focused LoRA fine-tune of
Qwen/Qwen2.5-Coder-0.5B-Instruct.
## Training configuration
- Dataset: CodeAlpaca-20k
- Training examples: 1,800
- Validation examples: 180
- LoRA rank: 8
- LoRA alpha: 16
- LoRA dropout: 0.05
- Learning rate: 2e-4
- Epochs: 1
- GPU: NVIDIA T4
## Results
- Final reported training loss: 0.678341
- Evaluation loss: 0.588350
Coding correctness benchmarks have not yet been run.
## Usage
Load the adapter with PEFT and the original
Qwen base model.
|