edited app file
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import Trainer, TrainingArguments
|
|
| 4 |
from os.path import dirname
|
| 5 |
|
| 6 |
|
| 7 |
-
model_output_path="model-dir"
|
| 8 |
my_model = GPT2LMHeadModel.from_pretrained(model_output_path)
|
| 9 |
my_tokenizer = GPT2Tokenizer.from_pretrained(model_output_path)
|
| 10 |
|
|
|
|
| 4 |
from os.path import dirname
|
| 5 |
|
| 6 |
|
| 7 |
+
model_output_path="/model-dir"
|
| 8 |
my_model = GPT2LMHeadModel.from_pretrained(model_output_path)
|
| 9 |
my_tokenizer = GPT2Tokenizer.from_pretrained(model_output_path)
|
| 10 |
|