Add mmada_safety_aligned safety-aligned checkpoint
Browse files- mmada_safety_aligned/chat_template.jinja +3 -0
- mmada_safety_aligned/config.json +3 -0
- mmada_safety_aligned/generation_config.json +3 -0
- mmada_safety_aligned/pytorch_model.bin +3 -0
- mmada_safety_aligned/special_tokens_map.json +3 -0
- mmada_safety_aligned/tokenizer.json +3 -0
- mmada_safety_aligned/tokenizer_config.json +3 -0
mmada_safety_aligned/chat_template.jinja
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
| 2 |
+
'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
| 3 |
+
' }}
|
mmada_safety_aligned/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a33fa2068a98ef7292c1c59d6e9f0049acd092fe58d3202f69f142bfca97155f
|
| 3 |
+
size 1687
|
mmada_safety_aligned/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b06946000aac36401a59811f315ea250926dfc7886f84460d147c65365b9d1d
|
| 3 |
+
size 121
|
mmada_safety_aligned/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9c8dc8595cd07e2fbb75f9e5d8b473a1d75e43291bb1ca645cccdea0307cee4
|
| 3 |
+
size 16165471779
|
mmada_safety_aligned/special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9f1f0f6fa133da3169ae69b1969c51cced047a900050893d7a0711c6bd063aa
|
| 3 |
+
size 747
|
mmada_safety_aligned/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06d32b6f4d0bcfb307b4efebdb84ccf100596a97f50e2b0002ca5bffe0900e24
|
| 3 |
+
size 9748080
|
mmada_safety_aligned/tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2046ba08178e21b4c03325b237b913bc491cfb363844291734d5533a0f80dd0
|
| 3 |
+
size 51351
|