Update pytorch_model.bin
Browse files- pytorch_model.bin +3 -3
pytorch_model.bin
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from transformers import GPT2LMHeadModel
|
2 |
|
3 |
-
model = GPT2LMHeadModel.from_pretrained("
|
4 |
-
tokenizer = GPT2Tokenizer.from_pretrained("
|
|
|
1 |
+
from transformers import GPT2LMHeadModel, GPT2Tokenizer
|
2 |
|
3 |
+
model = GPT2LMHeadModel.from_pretrained("path_to_model") # Replace with the path to your model
|
4 |
+
tokenizer = GPT2Tokenizer.from_pretrained("path_to_model") # Replace with the path to your tokenizer
|