Spaces:
Sleeping
Sleeping
curelycue
commited on
Commit
•
197a245
1
Parent(s):
b6b3a04
Updated model
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
3 |
import torch
|
4 |
|
5 |
# Load the tokenizer and model from Hugging Face
|
6 |
-
model_name = "waterdrops0/mistral-
|
7 |
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
9 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype=torch.float16)
|
|
|
3 |
import torch
|
4 |
|
5 |
# Load the tokenizer and model from Hugging Face
|
6 |
+
model_name = "waterdrops0/mistral-nouns400"
|
7 |
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
9 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype=torch.float16)
|