Last active
February 11, 2023 22:22
-
-
Save jaymody/9054ca64eeea7fad1b58a185696bb518 to your computer and use it in GitHub Desktop.
Dockerfile for https://github.com/openai/gpt-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tensorflow/tensorflow:1.13.2-py3 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt update -y && apt upgrade -y && apt install git -y | |
RUN git clone https://github.com/openai/gpt-2 /gpt-2 | |
WORKDIR /gpt-2 | |
RUN python3 -m pip install --upgrade pip && python3 -m pip install -r requirements.txt | |
RUN python3 download_model.py 124M | |
RUN python3 download_model.py 355M | |
RUN python3 download_model.py 774M | |
RUN python3 download_model.py 1558M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment