Skip to content

Instantly share code, notes, and snippets.

@jaymody
Last active February 11, 2023 22:22
Show Gist options
  • Save jaymody/9054ca64eeea7fad1b58a185696bb518 to your computer and use it in GitHub Desktop.
Save jaymody/9054ca64eeea7fad1b58a185696bb518 to your computer and use it in GitHub Desktop.
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