mmoreirast
commited on
Commit
•
af5cccf
1
Parent(s):
933d8de
Upload folder using huggingface_hub
Browse files- config.json +1 -1
- model.safetensors +1 -1
- optimizer.bin +1 -1
- random_states_0.pkl +1 -1
- scaler.pt +1 -1
- scheduler.bin +1 -1
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "mmoreirast/
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "mmoreirast/TeenyTinyLlama-Doc-160m",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 649694240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da2ce13f860d92e60fae811db356b346273e336a743f5519b1bfac95dd67e669
|
3 |
size 649694240
|
optimizer.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1299457658
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83da455459001bebc5e312a298c9ac7a2a6f5ffe9a40a1b8a8b804fe221b0de7
|
3 |
size 1299457658
|
random_states_0.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ffe6eac3ca96709bc5d144746ad6b78b6e9e3c17135e5d60464e8733d407397
|
3 |
size 14344
|
scaler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 988
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c95c7497d33f2785cb2f67a995520ce6739dd3ac88ce67cf71c9146a5e36cbba
|
3 |
size 988
|
scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1064
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dea17d5f8d807e9ff7efdd532f7dc8a46c2df4efb022fd9c3ca2bb0e5b12686b
|
3 |
size 1064
|
tokenizer_config.json
CHANGED
@@ -57,7 +57,7 @@
|
|
57 |
],
|
58 |
"bos_token": "<s>",
|
59 |
"bos_token_id": 1,
|
60 |
-
"chat_template": " ",
|
61 |
"clean_up_tokenization_spaces": false,
|
62 |
"eos_token": "</s>",
|
63 |
"eos_token_id": 2,
|
|
|
57 |
],
|
58 |
"bos_token": "<s>",
|
59 |
"bos_token_id": 1,
|
60 |
+
"chat_template": "{{bos_token}}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '<instruction>' + message['content'].strip() + '</instruction>'}}{% elif message['role'] == 'assistant' %}{{ message['content'].strip() + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
61 |
"clean_up_tokenization_spaces": false,
|
62 |
"eos_token": "</s>",
|
63 |
"eos_token_id": 2,
|