Spaces:
Runtime error
Runtime error
migueldeguzmandev
commited on
Commit
•
c245e56
1
Parent(s):
fa7bc9e
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import GPT2Tokenizer, GPT2LMHeadModel
|
3 |
|
4 |
# Load the model and tokenizer
|
5 |
-
model_name = "migueldeguzmandev/
|
6 |
tokenizer = GPT2Tokenizer.from_pretrained(model_name)
|
7 |
model = GPT2LMHeadModel.from_pretrained(model_name)
|
8 |
|
|
|
2 |
from transformers import GPT2Tokenizer, GPT2LMHeadModel
|
3 |
|
4 |
# Load the model and tokenizer
|
5 |
+
model_name = "migueldeguzmandev/GPT2XL_RLLM-HDI-2"
|
6 |
tokenizer = GPT2Tokenizer.from_pretrained(model_name)
|
7 |
model = GPT2LMHeadModel.from_pretrained(model_name)
|
8 |
|