gabobe5576 commited on
Commit
ba077a6
·
verified ·
1 Parent(s): 3e56958

Update pytorch_model.bin

Browse files
Files changed (1) hide show
  1. pytorch_model.bin +3 -3
pytorch_model.bin CHANGED
@@ -1,4 +1,4 @@
1
- from transformers import GPT2LMHeadModel
2
 
3
- model = GPT2LMHeadModel.from_pretrained("gpt2")
4
- tokenizer = GPT2Tokenizer.from_pretrained("gpt2")
 
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