CodeLLaMA-Linux-BugFix / train /download_codellama_model.py
Mac
Refactor filenames and paths for clarity and structure
15eb8ca
raw
history blame contribute delete
264 Bytes
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.")