Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ model_name = 'jncraton/fastchat-t5-3b-v1.0-ct2-int8'
|
|
8 |
|
9 |
# Load model directly
|
10 |
#from transformers import AutoModel
|
11 |
-
model = AutoModel.from_pretrained("jncraton/fastchat-t5-3b-v1.0-ct2-int8"
|
12 |
|
13 |
tokenizer = T5Tokenizer.from_pretrained(model_name)
|
14 |
#model = T5ForConditionalGeneration.from_pretrained(model_name)
|
|
|
8 |
|
9 |
# Load model directly
|
10 |
#from transformers import AutoModel
|
11 |
+
model = AutoModel.from_pretrained("jncraton/fastchat-t5-3b-v1.0-ct2-int8")
|
12 |
|
13 |
tokenizer = T5Tokenizer.from_pretrained(model_name)
|
14 |
#model = T5ForConditionalGeneration.from_pretrained(model_name)
|