How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="ZahrizhalAli/llama-7b-code-generation")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("ZahrizhalAli/llama-7b-code-generation", dtype="auto")
Quick Links

LoRA based Fine-Tuning LLaMa-7b Code Generation Instruct


datasets: - sahil2801/CodeAlpaca-20k metrics: - code_eval - accuracy pipeline_tag: text-generation tags: - code library_name: adapter-transformers

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

Dataset used to train ZahrizhalAli/llama-7b-code-generation