File size: 280 Bytes
c61e5a9
 
 
 
 
1
2
3
4
5
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions")
model = AutoModelForCausalLM.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions")