openai / gpt-2

Code for the paper "Language Models are Unsupervised Multitask Learners"
https://openai.com/blog/better-language-models/
Other
22.57k stars 5.53k forks source link

upgrade to TensorFlow 2 #262

Open alexis779 opened 4 years ago

alexis779 commented 4 years ago

This PR upgrades the script to work with TensorFlow 2. Main goal was to be able to run it on Google colab, which has the new version.

gselsidi commented 4 years ago

I've copied the files from this branch locally, and still have tensorflow.contrib issues. Even tried #231. Is the fix above still working or is something missing? and when will it get merged?

ok-cleek commented 2 years ago

Should you also modify DEVELOPERS.md, to reflect the prerequisite change?