File size: 275 Bytes
438fb10
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

for i in pythia-70m-deduped-v0,EleutherAI/pythia-70m-deduped-v0
do
    IFS=","
    set -- $i
    echo "migrating $2"
    CUDA_VISIBLE_DEVICES=-1 python3 lens_migration.py --model $2 --resource-id $1 --output lens/$1
    git commit -am "$1 migrated"
done