ghosthamlet / gpt2-ml-torch

Pytorch model for https://github.com/imcaspar/gpt2-ml
Apache License 2.0
79 stars 16 forks source link

请问是否无损转化,即和huggingface库的代码中参数对的上吗? #5

Closed lemon234071 closed 4 years ago

ghosthamlet commented 4 years ago

是无损转化,和huggingface库的参数一致,只有modeling_gpt2.py中加_USE_GROVER条件内的代码是新增的。

lemon234071 commented 4 years ago

是无损转化,和huggingface库的参数一致,只有modeling_gpt2.py中加_USE_GROVER条件内的代码是新增的。

十分感谢

ghosthamlet commented 4 years ago

不客气