Issues running gpt-2 with provided Docker image
source link: https://www.kevinhooke.com/2021/05/18/issues-running-gpt-2-with-provided-docker-image/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Issues running gpt-2 with provided Docker image
After following the instructions to build the gpt-2 Docker image here, I started up a bash shell into the container:
docker run -it gpt-2 bash
And then ran:
python3 src/generate_unconditional_samples.py | tee /tmp/samples
This failed with this error:
AttributeError: module 'tensorflow' has no attribute 'sort'
A post here says to upgrade to Tensorflow 1.14.0 in the container, so running:
pip install tensorflow==1.14.0
And then retrying, text generated! Now to start playing and see what this provided models will generate!
CategoriesKev's BlogTagsAI, gpt2, ML, openai
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Post navigation
Recommend
-
133
A Go program with no human provided knowledge. Using MCTS (but without Monte Carlo playouts) and a deep residual convolutional neural network stack. This is a fairly faithful reimplementation of the system described in the Alpha Go Zero pap...
-
83
前言首先简单讲一下这个需求的背景,大部分&...
-
57
If you have followed this blog you would know that the Remote Server Admin Tools are an essential set of tools for managed Group Policy, Active Directory and almost all other core components of Windows Server. These tools can be...
-
60
Parses a boolean user query and adds the terms and logic to a provided Query object.
-
7
Introducing DALL·E: Inspired by GPT-3 and Image-GPT from OpenAIIntroducing DALL·E: Inspired by GPT-3 and Image-GPT from OpenAI by@whatsai
-
5
My preferred remote backup solution is Duplicacy. Every night, I have Duplicacy backup data from my local NAS to Backblaze B2. In this post, I’...
-
3
Tip of the day: running Flagr Docker image on a M1 mac ...
-
8
php-app Docker image for running PHP apps in a single container with nginx and PHP-fpm Components The image consists of: multirun - Small util for executing multiple processes with proper signal handling...
-
6
@ssukhpinderSukhpinder SinghI'm Sukhpinder Singh, a passionate self-taught .Net devel...
-
5
AI Image Generation With GPT and Diffusion Models The world is captivated by artificial intelligence (AI), particularly by recent advances in natural lang...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK