mistral / app.py
gradiostudent's picture
Update app.py
fa46ed4
raw
history blame contribute delete
246 Bytes
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("TheBloke/Yarn-Mistral-7B-128k-GPTQ")
model = AutoModelForCausalLM.from_pretrained("TheBloke/Yarn-Mistral-7B-128k-GPTQ")