Spaces:
Runtime error
Runtime error
Commit
·
e5c60ed
1
Parent(s):
94d66a9
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
|
4 |
# Specify the directory containing the tokenizer's configuration file (config.json)
|
5 |
-
model_name = "
|
6 |
|
7 |
# Initialize the tokenizer
|
8 |
# tokenizer = AutoTokenizer.from_pretrained(model_name, local_files_only=True)
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
|
4 |
# Specify the directory containing the tokenizer's configuration file (config.json)
|
5 |
+
model_name = "pytorch_model-00001-of-00002.bin"
|
6 |
|
7 |
# Initialize the tokenizer
|
8 |
# tokenizer = AutoTokenizer.from_pretrained(model_name, local_files_only=True)
|