mirror of
https://github.com/openai/gpt-2
synced 2025-08-22 02:02:01 +00:00
9 lines
282 B
Bash
9 lines
282 B
Bash
model=$1
|
|
|
|
mkdir -p models/$model
|
|
|
|
# TODO: gsutil rsync -r gs://gpt-2/models/ models/
|
|
for filename in checkpoint encoder.json hparams.json model.ckpt.data-00000-of-00001 model.ckpt.index model.ckpt.meta vocab.bpe; do
|
|
gsutil cp gs://gpt-2/models/$model/$filename models/$model
|
|
done
|