Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
3 |
import torch
|
4 |
|
5 |
# モデルとトークナイザーの読み込み
|
6 |
-
model_name = "
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name, ignore_mismatched_sizes=True)
|
9 |
|
|
|
3 |
import torch
|
4 |
|
5 |
# モデルとトークナイザーの読み込み
|
6 |
+
model_name = "EleutherAI/Pythia-1b"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name, ignore_mismatched_sizes=True)
|
9 |
|