migueldeguzmandev
commited on
Commit
•
c6a7e87
1
Parent(s):
232f6ed
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-1"
|
6 |
tokenizer = GPT2Tokenizer.from_pretrained(model_name)
|
7 |
model = GPT2LMHeadModel.from_pretrained(model_name)
|
8 |
|