Add PeBR_R1 3B and 7B model weights
Browse files- .gitattributes +1 -0
- PeBR_R1_3B/added_tokens.json +3 -0
- PeBR_R1_3B/chat_template.jinja +7 -0
- PeBR_R1_3B/config.json +3 -0
- PeBR_R1_3B/generation_config.json +3 -0
- PeBR_R1_3B/merges.txt +0 -0
- PeBR_R1_3B/model-00001-of-00002.safetensors +3 -0
- PeBR_R1_3B/model-00002-of-00002.safetensors +3 -0
- PeBR_R1_3B/model.safetensors.index.json +3 -0
- PeBR_R1_3B/preprocessor_config.json +3 -0
- PeBR_R1_3B/special_tokens_map.json +3 -0
- PeBR_R1_3B/tokenizer.json +3 -0
- PeBR_R1_3B/tokenizer_config.json +3 -0
- PeBR_R1_3B/video_preprocessor_config.json +3 -0
- PeBR_R1_3B/vocab.json +3 -0
- PeBR_R1_7B/added_tokens.json +3 -0
- PeBR_R1_7B/chat_template.jinja +7 -0
- PeBR_R1_7B/config.json +3 -0
- PeBR_R1_7B/generation_config.json +3 -0
- PeBR_R1_7B/merges.txt +0 -0
- PeBR_R1_7B/model-00001-of-00004.safetensors +3 -0
- PeBR_R1_7B/model-00002-of-00004.safetensors +3 -0
- PeBR_R1_7B/model-00003-of-00004.safetensors +3 -0
- PeBR_R1_7B/model-00004-of-00004.safetensors +3 -0
- PeBR_R1_7B/model.safetensors.index.json +3 -0
- PeBR_R1_7B/preprocessor_config.json +3 -0
- PeBR_R1_7B/special_tokens_map.json +3 -0
- PeBR_R1_7B/tokenizer.json +3 -0
- PeBR_R1_7B/tokenizer_config.json +3 -0
- PeBR_R1_7B/video_preprocessor_config.json +3 -0
- PeBR_R1_7B/vocab.json +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
PeBR_R1_3B/added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
|
| 3 |
+
size 605
|
PeBR_R1_3B/chat_template.jinja
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
|
| 2 |
+
You are a helpful assistant.<|im_end|>
|
| 3 |
+
{% endif %}<|im_start|>{{ message['role'] }}
|
| 4 |
+
{% if message['content'] is string %}{{ message['content'] }}<|im_end|>
|
| 5 |
+
{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
|
| 6 |
+
{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
|
| 7 |
+
{% endif %}
|
PeBR_R1_3B/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a1170d3759f244648569e938cec542962bdae23b6cc99bb143625cdff90972b
|
| 3 |
+
size 2521
|
PeBR_R1_3B/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1907680abebd52e299619cc991b917a2190df45138cf861d618fdbeeb341c95
|
| 3 |
+
size 169
|
PeBR_R1_3B/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
PeBR_R1_3B/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77d7c1bd9263dbfb53c746d97d9197c70fee5144e9f7a7297603c716d3849902
|
| 3 |
+
size 4478075904
|
PeBR_R1_3B/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e5fb541d4c8101ed88e3b7f57fa6ba01e534d40cb5d8db39eef131859b22f36
|
| 3 |
+
size 3653592048
|
PeBR_R1_3B/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37da48126ad5c04bd7d6a87237b5617e4bf3e9569ebcd5aff1b988cad2239c02
|
| 3 |
+
size 65506
|
PeBR_R1_3B/preprocessor_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1c9d43adb750cc52f317b130734fefa8edba78a5814066f6c10ecc1826e98af
|
| 3 |
+
size 763
|
PeBR_R1_3B/special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
|
| 3 |
+
size 613
|
PeBR_R1_3B/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
PeBR_R1_3B/tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1787b87c6b8cc386ddf53a1ea9cff378eee18c3e1da5b4df7e098687c2c073d7
|
| 3 |
+
size 4777
|
PeBR_R1_3B/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caa66a5efec40232005736e255bef439afa9853d7b1249e925ba627fc60d2758
|
| 3 |
+
size 1730
|
PeBR_R1_3B/vocab.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
|
| 3 |
+
size 2776833
|
PeBR_R1_7B/added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
|
| 3 |
+
size 605
|
PeBR_R1_7B/chat_template.jinja
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
|
| 2 |
+
You are a helpful assistant.<|im_end|>
|
| 3 |
+
{% endif %}<|im_start|>{{ message['role'] }}
|
| 4 |
+
{% if message['content'] is string %}{{ message['content'] }}<|im_end|>
|
| 5 |
+
{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
|
| 6 |
+
{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
|
| 7 |
+
{% endif %}
|
PeBR_R1_7B/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e984350174eb32af041ccbf8d1bf1fd1ac0083e2cd83b4fdfa865811b4efa0e1
|
| 3 |
+
size 2520
|
PeBR_R1_7B/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1907680abebd52e299619cc991b917a2190df45138cf861d618fdbeeb341c95
|
| 3 |
+
size 169
|
PeBR_R1_7B/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
PeBR_R1_7B/model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:605e8462d21395eb4452a39944fea14d0bb6204365459a48c000323f318017ef
|
| 3 |
+
size 4969986592
|
PeBR_R1_7B/model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06e9c5d05200ee9ac3a73aeb90e0209a3a39bc5e454ab638efad1a4562ec405a
|
| 3 |
+
size 4997277752
|
PeBR_R1_7B/model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d99d516d2ec41a956615cd9ec0d4e1aceb05fae5cf9eef1dd316b1ae89e308ff
|
| 3 |
+
size 4953007760
|
PeBR_R1_7B/model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6aa0c624265bb2fe50e010bc7a09329f6c32ccea685095adaeffde931f5d006e
|
| 3 |
+
size 1664142368
|
PeBR_R1_7B/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ed06be8b32ea2c201499e56cb429ce1e88b95e9277458a5c5813438a023e9d4
|
| 3 |
+
size 57619
|
PeBR_R1_7B/preprocessor_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1c9d43adb750cc52f317b130734fefa8edba78a5814066f6c10ecc1826e98af
|
| 3 |
+
size 763
|
PeBR_R1_7B/special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
|
| 3 |
+
size 613
|
PeBR_R1_7B/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
PeBR_R1_7B/tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1787b87c6b8cc386ddf53a1ea9cff378eee18c3e1da5b4df7e098687c2c073d7
|
| 3 |
+
size 4777
|
PeBR_R1_7B/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caa66a5efec40232005736e255bef439afa9853d7b1249e925ba627fc60d2758
|
| 3 |
+
size 1730
|
PeBR_R1_7B/vocab.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
|
| 3 |
+
size 2776833
|