File size: 264 Bytes
ed6b901
 
 
 
 
 
1
2
3
4
5
6
7
from transformers import AutoTokenizer, AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf")
tokenizer = AutoTokenizer.from_pretrained("codellama/CodeLlama-7b-Instruct-hf")

print("✅ Download complete.")