How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct")
model = PeftModel.from_pretrained(base_model, "ctemplin/Llama-3.2-1B-PythonProgrammer")

Llama-3.2-1B Python Programmer

Llama-3.2-1B-Instruct fine-tuned on a dataset of python code examples using 4-bit quantization and Low-Rank Adaption.

The dataset used can be found here: https://huggingface.co/datasets/Vezora/Tested-143k-Python-Alpaca

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ctemplin/Llama-3.2-1B-PythonProgrammer

Adapter
(620)
this model