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="mzbac/CodeLlama-34b-guanaco")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("mzbac/CodeLlama-34b-guanaco")
model = AutoModelForCausalLM.from_pretrained("mzbac/CodeLlama-34b-guanaco")
Quick Links

Codellama 34b base model fine-tuned on the text chunk from the OpenAssistant-Guanaco dataset instead of Q&A pair, so it struggles to determine the end of the answer. recommend using a stop string like "### Human:" to prevent the model from talking to itself.

Prompt template:

### Human: {prompt}
### Assistant:
Downloads last month
946
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support