aenriquez27
aenriquez27
Hello! Have this been figured out? I tried to follow the same from here with this code ``` config = transformers.GPT2Config.from_pretrained('/content/hparams.json') tokenizer = transformers.GPT2Tokenizer("/content/encoder.json", "/content/vocab.bpe") model = transformers.GPT2Model.from_pretrained('/content/model.index',from_tf=True,config=config) ``` But...
> Typically the GPT2Model.from_pretrained should point to a folder rather then a specific file. Try `model = transformers.GPT2Model.from_pretrained('/content/model.index',from_tf=True,config=config)` > > If that doesn't work print off your file structure in...