Spaces:
Runtime error
Runtime error
levmckinney
commited on
Commit
•
6caa2f8
1
Parent(s):
eb6b4f3
opt-6.7b migrated
Browse files- lens/opt-6.7b/config.json +1 -1
- lens/opt-6.7b/params.pt +2 -2
- migrate.sh +2 -2
lens/opt-6.7b/config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"
|
|
|
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:
|
3 |
-
size
|
|
|
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
|
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
|