aaa / app.py
EEggeE's picture
Create app.py
c61e5a9 verified
raw
history blame contribute delete
280 Bytes
# 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")