root commited on
Commit ·
23017e7
1
Parent(s): 6b0c275
Added llama
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +9 -0
- .gitignore +3 -0
- CODE_OF_CONDUCT.md +3 -0
- CONTRIBUTING.md +3 -0
- LICENSE +3 -0
- MODEL_CARD.md +3 -0
- README.md +3 -0
- Responsible-Use-Guide.pdf +3 -0
- USE_POLICY.md +3 -0
- download.sh +3 -0
- example_chat_completion.py +3 -0
- example_text_completion.py +3 -0
- llama-2-13b-chat/checklist.chk +3 -0
- llama-2-13b-chat/consolidated.00.pth +3 -0
- llama-2-13b-chat/consolidated.01.pth +3 -0
- llama-2-13b-chat/params.json +3 -0
- llama-2-13b/checklist.chk +3 -0
- llama-2-13b/consolidated.00.pth +3 -0
- llama-2-13b/consolidated.01.pth +3 -0
- llama-2-13b/params.json +3 -0
- llama-2-70b-chat/checklist.chk +3 -0
- llama-2-70b-chat/consolidated.00.pth +3 -0
- llama-2-70b-chat/consolidated.01.pth +3 -0
- llama-2-70b-chat/consolidated.02.pth +3 -0
- llama-2-70b-chat/consolidated.03.pth +3 -0
- llama-2-70b-chat/consolidated.04.pth +3 -0
- llama-2-70b-chat/consolidated.05.pth +3 -0
- llama-2-70b-chat/consolidated.06.pth +3 -0
- llama-2-70b-chat/consolidated.07.pth +3 -0
- llama-2-70b-chat/params.json +3 -0
- llama-2-70b/checklist.chk +3 -0
- llama-2-70b/consolidated.00.pth +3 -0
- llama-2-70b/consolidated.01.pth +3 -0
- llama-2-70b/consolidated.02.pth +3 -0
- llama-2-70b/consolidated.03.pth +3 -0
- llama-2-70b/consolidated.04.pth +3 -0
- llama-2-70b/consolidated.05.pth +3 -0
- llama-2-70b/consolidated.06.pth +3 -0
- llama-2-70b/consolidated.07.pth +3 -0
- llama-2-70b/params.json +3 -0
- llama-2-7b-chat/checklist.chk +3 -0
- llama-2-7b-chat/consolidated.00.pth +3 -0
- llama-2-7b-chat/params.json +3 -0
- llama-2-7b/checklist.chk +3 -0
- llama-2-7b/consolidated.00.pth +3 -0
- llama-2-7b/params.json +3 -0
- llama/__init__.py +3 -0
- llama/generation.py +3 -0
- llama/model.py +3 -0
- llama/tokenizer.py +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.gitignore filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.md filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
/LICENSE filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.pdf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sh filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.py filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.chk filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.txt filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ebd2d002ba8253bc5b19496696688ac77cf0ba7504bf3ce12cd12b0a2d36f33
|
| 3 |
+
size 3077
|
CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:497945844fa2b1c2153e9d41d821a5a8a8d8df5b789fb6b083a0f07486cc8803
|
| 3 |
+
size 3536
|
CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08d3c204d02f8e3d21d2cfb6edde31fb1c739fc2732b5a863b59599b631f9351
|
| 3 |
+
size 1236
|
LICENSE
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c17c2ebb0ea011be9981cc3922db8ca8fa61e828c5d3f44cb6ae342bf80460b
|
| 3 |
+
size 7020
|
MODEL_CARD.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:937e41ed14957f6708ee0f0beeacac66a2c96b9b94ebd9cddecda8430dbf3fd6
|
| 3 |
+
size 7445
|
README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d073f18b83ef5bef720a07dfa2e5718193a486ff38424a1af53e1ec484f94c7
|
| 3 |
+
size 6285
|
Responsible-Use-Guide.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:525dc349d71fe257fce4098c146446df6fef4247174f351381e4c3214af126f0
|
| 3 |
+
size 1253223
|
USE_POLICY.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c23fb36d80141c4ab8cdbb61ee4790102ebd2bf7aeff414453177d4f2110e5d
|
| 3 |
+
size 4766
|
download.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0521761cf8c8ad0e243c30b9ba03c052d33cf106e94d6829d791adab9de7020
|
| 3 |
+
size 2171
|
example_chat_completion.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:496e7c8c0a725740ff612bd5486052a745c8d3de30db7d784a6e38564ea746e2
|
| 3 |
+
size 2774
|
example_text_completion.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8d2e37629c46fbbaa267ba389a98de8fafa05db4aadfdca8b67e11e69e1384c
|
| 3 |
+
size 1552
|
llama-2-13b-chat/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fb01f49623f71abd01609940301a5773658ce311b9ecb8080f9b796f8ac0051
|
| 3 |
+
size 154
|
llama-2-13b-chat/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59f026e2108e238fe06f51c2dc2ac29f2d6aead2ed105073cfd3c18c608d2638
|
| 3 |
+
size 13016397277
|
llama-2-13b-chat/consolidated.01.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56462ddf1cddbfdba7ffe339ce7453e8500c843414c78fa096e69f414f20bd0f
|
| 3 |
+
size 13016397277
|
llama-2-13b-chat/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:713ac69eaa9387a19d25c10e03270de04a5fe4232f136751595683c26f6f996a
|
| 3 |
+
size 102
|
llama-2-13b/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58989513420c24de9ca19d51f6c5f08b33f9a1bf36936112bef56001886f586d
|
| 3 |
+
size 154
|
llama-2-13b/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dedb73e0c6754a8f157c571cfebfb30b4025deefaf74ab35f805d12f7af4c8a9
|
| 3 |
+
size 13016329643
|
llama-2-13b/consolidated.01.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e812610fda976e1e7f3ebfaadf069568c8b61844c647fc779da12957ab0af544
|
| 3 |
+
size 13016329643
|
llama-2-13b/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:713ac69eaa9387a19d25c10e03270de04a5fe4232f136751595683c26f6f996a
|
| 3 |
+
size 102
|
llama-2-70b-chat/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:569f85744d43904dc0b2bba5d79e7aa67fc35808077e44454714d95d648d2ce3
|
| 3 |
+
size 478
|
llama-2-70b-chat/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1454f4aa8d61cae8261202521a5457229b0099268dddd6f71ae0dec06f11ec8
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.01.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:054e0982b5e3c74621fc281ad3d3220afa018fd68992e3e19acfe4bc780633fb
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.02.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfecfc70559f61b65ae910c4815efd788a33159399bcc8a7146ae11893434841
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.03.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d360067d1b29a3768df24e2b3d8c790e4baa6b4cb71d118b69256290dd4d03c2
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.04.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90171c81cf43817099b93b7f85c3a86338b4e863f212eb37facd0c66b1fb7905
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.05.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c5b32dcfa2f403d69d0417c31951978a6780d17206476a91eb065595215baf1
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.06.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f935b6f7fc7e198ae17aed6fc55b735f9811bbdc9015b0c82b15f7547868f09f
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/consolidated.07.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24cd36f1860359657443d6dc69883da43f3ee7ebe7cb99a556404ed17ed235c1
|
| 3 |
+
size 17246706245
|
llama-2-70b-chat/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41d9845a73ef54a527146a163a0b69b3572aaa2f7ed58d9ff747ad3affed32bb
|
| 3 |
+
size 147
|
llama-2-70b/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5618be5b6e4e552e80ad3aada5defc917ce5e77201807c3ee80a4b954f7e572
|
| 3 |
+
size 478
|
llama-2-70b/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af5747340beaf5414afaeae46def2e8d0740a3002309a0d99a3062b70300bdbd
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.01.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edf5bc0efacd437b2571beb53245ae2c7343648832c89c983d17e9736af9efcd
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.02.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc3079f65404eebeeba14c09580708ae1253e941b898cf32cdee9f454dea19ff
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.03.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c6a40261531f78e1f8fc860354f8b86890692bc0d8524bab9dfef26cd9446a5
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.04.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4951937266e51a698f58ae2d574e237032195ebdb4bee1cd9e3356303460fb69
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.05.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72d967dcc6a893a67efcf20938e4a88a1996b42c53f5268ca90f4b8b12b937ca
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.06.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:123f9934dcac8e22c8f74cf643bdbb4206885dd32567438564cce5d0ef4e2063
|
| 3 |
+
size 17246706245
|
llama-2-70b/consolidated.07.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:823480b2bc4d957d1402e65de786b33b95bf8267887e44a0035670c97d2da061
|
| 3 |
+
size 17246706245
|
llama-2-70b/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41d9845a73ef54a527146a163a0b69b3572aaa2f7ed58d9ff747ad3affed32bb
|
| 3 |
+
size 147
|
llama-2-7b-chat/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30f6ff145747d6454af4789ef8b8f87894e8232e8d67407eb4e6aacb0a173a04
|
| 3 |
+
size 100
|
llama-2-7b-chat/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6234f92a9191a4887b65a7f14a9692b4af3beffa2a26359869daf36bdf71b8d8
|
| 3 |
+
size 13476925163
|
llama-2-7b-chat/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f89517190dd9c285e58f30d66e80932465192c244a716bc8ebafedbdc903a259
|
| 3 |
+
size 102
|
llama-2-7b/checklist.chk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fe08165d353c59b3bf8b359aa470780a33a45e6223b5d300b33d95d85c64165
|
| 3 |
+
size 100
|
llama-2-7b/consolidated.00.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d67a91807d5879d193a694da57f28ff85092e92dc9fbef4888bd05e22b15ab75
|
| 3 |
+
size 13476925163
|
llama-2-7b/params.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abca3ac5d29c564e8bd2bd2672fb2dd83213c58b673d18e8eb64c502ed8401a2
|
| 3 |
+
size 102
|
llama/__init__.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92643256d465e73524f639690b9b57b5e53d5f69c861a11ae01b925b7ece5fac
|
| 3 |
+
size 270
|
llama/generation.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be2941db1194c638969ffbb15a513e11770eb7204a435e6587804844ea3497a1
|
| 3 |
+
size 11461
|
llama/model.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:800376a87372a5dd00925d3d271c523a0647b2cf36101ccaed78322976223efb
|
| 3 |
+
size 9816
|
llama/tokenizer.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:789f22dccd4d9fc82b47bef27d3ed980e311659942ee79491edb64326223b31d
|
| 3 |
+
size 1345
|