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="songdemin/codellama_with_comments")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("songdemin/codellama_with_comments")
model = AutoModelForCausalLM.from_pretrained("songdemin/codellama_with_comments", device_map="auto")
Quick Links

This model is fine-tuned on data with rich comments based on CodeLlama.

Downloads last month
16
Safetensors
Model size
7B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support