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
|
Download README.md from Navaneeth123456789/NavCoder-LoRA-v1: direct link, hf CLI and curl.
- Browser
- Download file 705 Bytes
-
https://huggingface.co/Navaneeth123456789/NavCoder-LoRA-v1/resolve/main/README.md
- Command line
-
hf download hf://Navaneeth123456789/NavCoder-LoRA-v1/README.md
-
curl -L -o README.md https://huggingface.co/Navaneeth123456789/NavCoder-LoRA-v1/resolve/main/README.md
705 Bytes
metadata
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.