levmckinney commited on
Commit
6caa2f8
1 Parent(s): eb6b4f3

opt-6.7b migrated

Browse files
lens/opt-6.7b/config.json CHANGED
@@ -1 +1 @@
1
- {"dropout": 0.0, "identity_init": true, "include_input": true, "layer_norm": false, "mlp_hidden_sizes": [], "rank": null, "shared_mlp_hidden_sizes": [], "share_weights": false, "sublayers": false, "num_layers": 32, "vocab_size": 50272, "bias": true, "d_model": 4096}
 
1
+ {"base_model_name_or_path": "facebook/opt-6.7b", "d_model": 4096, "num_hidden_layers": 32, "bias": true, "base_model_revision": "a45aa65bbeb77c1558bc99bedc6779195462dab0", "unemebd_hash": "35676bc5e38da5b53231218f1c829b91bc89de7f65fec1b2fe885b9c42f93dcb", "lens_type": "linear_tuned_lens"}
lens/opt-6.7b/params.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc4721db7049a4d0e9b84a07c44e58da28c778ba58bd42540e58507e2664fc10
3
- size 2971714775
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9580fbf6e967c1be832ef415f3f74c0f6ee111637fba253dc5a75216dc305ebb
3
+ size 2148022563
migrate.sh CHANGED
@@ -2,11 +2,11 @@
2
 
3
  set -e
4
 
5
- for i in gpt2,gpt2 pythia-160m-deduped-v0,EleutherAI/pythia-160m-deduped-v0 gpt2-large,gpt2-large gpt2-xl,gpt2-xl opt-125m,facebook/opt-125m opt-6.7b,facebook/opt-6.7b pythia-1.4b-deduped-v0,EleutherAI/pythia-1.4b-deduped-v0 pythia-1b-deduped-v0,EleutherAI/pythia-1b-deduped-v0 pythia-6.9b-deduped-v0,EleutherAI/pythia-6.9b-deduped-v0 opt-1.3b,facebook/opt-1.3b pythia-410m-deduped-v0,EleutherAI/pythia-410m-deduped-v0 pythia-12b-deduped-v0,EleutherAI/pythia-12b-deduped-v0 gpt-neox-20b,EleutherAI/gpt-neox-20b
6
  do
7
  IFS=","
8
  set -- $i
9
  echo "migrating $2"
10
- python3 lens_migration.py --model $2 --resource-id $1 --output lens/$1
11
  git commit -am "$1 migrated"
12
  done
 
2
 
3
  set -e
4
 
5
+ for i in opt-6.7b,facebook/opt-6.7b pythia-1.4b-deduped-v0,EleutherAI/pythia-1.4b-deduped-v0 pythia-1b-deduped-v0,EleutherAI/pythia-1b-deduped-v0 pythia-6.9b-deduped-v0,EleutherAI/pythia-6.9b-deduped-v0 opt-1.3b,facebook/opt-1.3b pythia-410m-deduped-v0,EleutherAI/pythia-410m-deduped-v0 pythia-12b-deduped-v0,EleutherAI/pythia-12b-deduped-v0 gpt-neox-20b,EleutherAI/gpt-neox-20b
6
  do
7
  IFS=","
8
  set -- $i
9
  echo "migrating $2"
10
+ CUDA_VISIBLE_DEVICES=-1 python3 lens_migration.py --model $2 --resource-id $1 --output lens/$1
11
  git commit -am "$1 migrated"
12
  done