We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def _extend_conversation(conversation_as_string): generated_samples = gpt2.generate( sess, model_name=model_name, prefix=conversation_as_string, length=100, return_as_list = True )
I am getting error here if I run it on colab.
The text was updated successfully, but these errors were encountered:
This is the fix:
from nltk.tokenize import sent_tokenize import gpt_2_simple as gpt2 sess = gpt2.start_tf_sess() model_name = "774M" gpt2.download_gpt2(model_name=model_name) gpt2.load_gpt2( sess, model_name=model_name )
Sorry, something went wrong.
@bjayakumar thanks a lot for reporting the bug.
Feel free to open a PR
Otherwise, we will try and push a fix soon.
No branches or pull requests
I am getting error here if I run it on colab.
The text was updated successfully, but these errors were encountered: