Skip to content

Commit

Permalink
update hubconf for gpt2 torchhub compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorSanh committed Jun 1, 2019
1 parent a92b6dc commit 2576a5c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hubconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@
openAIGPTModel,
openAIGPTLMHeadModel,
openAIGPTDoubleHeadsModel
)
)
from hubconfs.gpt2_hubconf import (
gpt2Tokenizer,
gpt2Model,
gpt2LMHeadModel,
gpt2DoubleHeadsModel
)

0 comments on commit 2576a5c

Please sign in to comment.