Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
8 |
import torch
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
10 |
|
11 |
-
model_id = 'EleutherAI/pythia-1b'
|
|
|
12 |
#gr.load(f"models/{model_id}").launch()
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
14 |
|
|
|
8 |
import torch
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
10 |
|
11 |
+
#model_id = 'EleutherAI/pythia-1b'
|
12 |
+
model_id = 'EleutherAI/GPT-Neo-2.7B'
|
13 |
#gr.load(f"models/{model_id}").launch()
|
14 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
15 |
|