mmoreirast commited on
Commit
af5cccf
1 Parent(s): 933d8de

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "mmoreirast/final-project-160",
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:e70266c2cf94dd0ec2ba3230943cb2e0a7572c2b700d114b4f942179dd6ca56e
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:3908209262839bf037d1f443d741b94dd5edce7b46805796c71c6ff5ab5af13e
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:5cc10e0a373020fbbc72d694fc387095a9b190f09cd90fcfcd1647fba789c121
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:449a6ee1952201bb7ca35275e57dd30c3eb9b4075b7e91125773cf56fa6cbbe3
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:1f91fae5ab601837e9bc6b12836456bdfc607fc7d6271d68caffcc7ce25cb2a5
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,