Beginner questions
ModuleNotFoundError: No module named 'tensorflow.contrib'
May I know How can I solve this issue. Thank you
Sounds like tensorflow versioning issues. Two options:
- Run tensorflow == 1.13.1 (not ANY other)
- Run the tensorflow updating script on all your scripts in the GPT-2 folder, place hparams in your folder, then run tensorflow == 2.2.
I have done both and am running on TF = 2.2, with Python 3.7.3
See this thread: https://github.com/openai/gpt-2/issues/265
Good luck!
Sounds like tensorflow versioning issues. Two options:
- Run tensorflow == 1.13.1 (not ANY other)
- Run the tensorflow updating script on all your scripts in the GPT-2 folder, place hparams in your folder, then run tensorflow == 2.2.
I have done both and am running on TF = 2.2, with Python 3.7.3
See this thread: #265
Good luck!
okay thank you really appreciate your help and explanations
excuse me, sorry, but what is the update script? i couldnt find it anywhere.
Hi, my name is noman. I am using this gpt2 model. I am running application on K 80 GPU server. But the compute time is almost 15 to 20 seconds. Can you help if i am using the right gpu for huggingface pretrained models or not. I have listened about nvidia A 100 GPU server. But i am not sure if there will be a difference between K80 and A100 gpu servers plus A100 is quite expensive.