morriszms commited on
Commit
88ed2b7
·
verified ·
1 Parent(s): 899215b

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,15 @@ 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
+ kanana-safeguard-8b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ kanana-safeguard-8b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ kanana-safeguard-8b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ kanana-safeguard-8b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ kanana-safeguard-8b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ kanana-safeguard-8b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ kanana-safeguard-8b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ kanana-safeguard-8b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ kanana-safeguard-8b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ kanana-safeguard-8b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ kanana-safeguard-8b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ kanana-safeguard-8b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ko
4
+ library_name: transformers
5
+ license: apache-2.0
6
+ pipeline_tag: text-generation
7
+ model_id: kakaocorp/kanana-safeguard-8b
8
+ repo: kakaocorp/kanana-safeguard-8b
9
+ developers: Kanana Safeguard Team
10
+ training_regime: bf16 mixed precision
11
+ base_model: kakaocorp/kanana-safeguard-8b
12
+ tags:
13
+ - TensorBlock
14
+ - GGUF
15
+ ---
16
+
17
+ <div style="width: auto; margin-left: auto; margin-right: auto">
18
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
19
+ </div>
20
+
21
+ [![Website](https://img.shields.io/badge/Website-tensorblock.co-blue?logo=google-chrome&logoColor=white)](https://tensorblock.co)
22
+ [![Twitter](https://img.shields.io/twitter/follow/tensorblock_aoi?style=social)](https://twitter.com/tensorblock_aoi)
23
+ [![Discord](https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white)](https://discord.gg/Ej5NmeHFf2)
24
+ [![GitHub](https://img.shields.io/badge/GitHub-TensorBlock-black?logo=github&logoColor=white)](https://github.com/TensorBlock)
25
+ [![Telegram](https://img.shields.io/badge/Telegram-Group-blue?logo=telegram)](https://t.me/TensorBlock)
26
+
27
+
28
+ ## kakaocorp/kanana-safeguard-8b - GGUF
29
+
30
+ <div style="text-align: left; margin: 20px 0;">
31
+ <a href="https://discord.com/invite/Ej5NmeHFf2" style="display: inline-block; padding: 10px 20px; background-color: #5865F2; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
32
+ Join our Discord to learn more about what we're building ↗
33
+ </a>
34
+ </div>
35
+
36
+ This repo contains GGUF format model files for [kakaocorp/kanana-safeguard-8b](https://huggingface.co/kakaocorp/kanana-safeguard-8b).
37
+
38
+ The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5753](https://github.com/ggml-org/llama.cpp/commit/73e53dc834c0a2336cd104473af6897197b96277).
39
+
40
+ ## Our projects
41
+ <table border="1" cellspacing="0" cellpadding="10">
42
+ <tr>
43
+ <th colspan="2" style="font-size: 25px;">Forge</th>
44
+ </tr>
45
+ <tr>
46
+ <th colspan="2">
47
+ <img src="https://imgur.com/faI5UKh.jpeg" alt="Forge Project" width="900"/>
48
+ </th>
49
+ </tr>
50
+ <tr>
51
+ <th colspan="2">An OpenAI-compatible multi-provider routing layer.</th>
52
+ </tr>
53
+ <tr>
54
+ <th colspan="2">
55
+ <a href="https://github.com/TensorBlock/forge" target="_blank" style="
56
+ display: inline-block;
57
+ padding: 8px 16px;
58
+ background-color: #FF7F50;
59
+ color: white;
60
+ text-decoration: none;
61
+ border-radius: 6px;
62
+ font-weight: bold;
63
+ font-family: sans-serif;
64
+ ">🚀 Try it now! 🚀</a>
65
+ </th>
66
+ </tr>
67
+
68
+ <tr>
69
+ <th style="font-size: 25px;">Awesome MCP Servers</th>
70
+ <th style="font-size: 25px;">TensorBlock Studio</th>
71
+ </tr>
72
+ <tr>
73
+ <th><img src="https://imgur.com/2Xov7B7.jpeg" alt="MCP Servers" width="450"/></th>
74
+ <th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Studio" width="450"/></th>
75
+ </tr>
76
+ <tr>
77
+ <th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
78
+ <th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
79
+ </tr>
80
+ <tr>
81
+ <th>
82
+ <a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
83
+ display: inline-block;
84
+ padding: 8px 16px;
85
+ background-color: #FF7F50;
86
+ color: white;
87
+ text-decoration: none;
88
+ border-radius: 6px;
89
+ font-weight: bold;
90
+ font-family: sans-serif;
91
+ ">👀 See what we built 👀</a>
92
+ </th>
93
+ <th>
94
+ <a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
95
+ display: inline-block;
96
+ padding: 8px 16px;
97
+ background-color: #FF7F50;
98
+ color: white;
99
+ text-decoration: none;
100
+ border-radius: 6px;
101
+ font-weight: bold;
102
+ font-family: sans-serif;
103
+ ">👀 See what we built 👀</a>
104
+ </th>
105
+ </tr>
106
+ </table>
107
+
108
+ ## Prompt template
109
+
110
+ ```
111
+ <|start_header_id|>system<|end_header_id|>
112
+
113
+ Classify the conversation between a human and an AI. Respond only with the taxonomy code. (taxonomy codes : ['<SAFE>', '<UNSAFE-S1>', '<UNSAFE-S2>', '<UNSAFE-S3>', '<UNSAFE-S4>', '<UNSAFE-S5>', '<UNSAFE-S6>', '<UNSAFE-S7>'])<|eot_id|><|start_header_id|>user<|end_header_id|>
114
+
115
+ <human>{prompt}</human>
116
+ <ai></ai><|eot_id|><|start_header_id|>assistant<|end_header_id|>
117
+ ```
118
+
119
+ ## Model file specification
120
+
121
+ | Filename | Quant type | File Size | Description |
122
+ | -------- | ---------- | --------- | ----------- |
123
+ | [kanana-safeguard-8b-Q2_K.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q2_K.gguf) | Q2_K | 3.179 GB | smallest, significant quality loss - not recommended for most purposes |
124
+ | [kanana-safeguard-8b-Q3_K_S.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q3_K_S.gguf) | Q3_K_S | 3.665 GB | very small, high quality loss |
125
+ | [kanana-safeguard-8b-Q3_K_M.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q3_K_M.gguf) | Q3_K_M | 4.019 GB | very small, high quality loss |
126
+ | [kanana-safeguard-8b-Q3_K_L.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q3_K_L.gguf) | Q3_K_L | 4.322 GB | small, substantial quality loss |
127
+ | [kanana-safeguard-8b-Q4_0.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q4_0.gguf) | Q4_0 | 4.661 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
128
+ | [kanana-safeguard-8b-Q4_K_S.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q4_K_S.gguf) | Q4_K_S | 4.693 GB | small, greater quality loss |
129
+ | [kanana-safeguard-8b-Q4_K_M.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q4_K_M.gguf) | Q4_K_M | 4.921 GB | medium, balanced quality - recommended |
130
+ | [kanana-safeguard-8b-Q5_0.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q5_0.gguf) | Q5_0 | 5.599 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
131
+ | [kanana-safeguard-8b-Q5_K_S.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q5_K_S.gguf) | Q5_K_S | 5.599 GB | large, low quality loss - recommended |
132
+ | [kanana-safeguard-8b-Q5_K_M.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q5_K_M.gguf) | Q5_K_M | 5.733 GB | large, very low quality loss - recommended |
133
+ | [kanana-safeguard-8b-Q6_K.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q6_K.gguf) | Q6_K | 6.596 GB | very large, extremely low quality loss |
134
+ | [kanana-safeguard-8b-Q8_0.gguf](https://huggingface.co/tensorblock/kakaocorp_kanana-safeguard-8b-GGUF/blob/main/kanana-safeguard-8b-Q8_0.gguf) | Q8_0 | 8.541 GB | very large, extremely low quality loss - not recommended |
135
+
136
+
137
+ ## Downloading instruction
138
+
139
+ ### Command line
140
+
141
+ Firstly, install Huggingface Client
142
+
143
+ ```shell
144
+ pip install -U "huggingface_hub[cli]"
145
+ ```
146
+
147
+ Then, downoad the individual model file the a local directory
148
+
149
+ ```shell
150
+ huggingface-cli download tensorblock/kakaocorp_kanana-safeguard-8b-GGUF --include "kanana-safeguard-8b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
151
+ ```
152
+
153
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
154
+
155
+ ```shell
156
+ huggingface-cli download tensorblock/kakaocorp_kanana-safeguard-8b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
157
+ ```
kanana-safeguard-8b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70b3d874535c12b885a0508b3c0f39b3c22db23299f96a816ec6589ea060fbf1
3
+ size 3179169792
kanana-safeguard-8b-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c120ca339d366bfaa60f7374bb9bce16903611921386b52155f7a5820a3afb
3
+ size 4321998080
kanana-safeguard-8b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d75356eefd043a24762fbff096802330253337b3e013148ceced0fc4f135b8bc
3
+ size 4018959616
kanana-safeguard-8b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939e00431de6647e7016e6bc7a857104ae05ae696f737f24649791a0caf6f5a0
3
+ size 3664540928
kanana-safeguard-8b-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c03e28776c84dd3ba851d6c86f40458babf492c3ccbaee01576214dfa03fea9
3
+ size 4661257728
kanana-safeguard-8b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bd5ecc011e9bf0262af91d27fbe04db2612d8c711ab316f5c8989780d330c4b
3
+ size 4920780288
kanana-safeguard-8b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6541ac09b49e80aac9fbba4ea382db1fa8ff02a3070451f1f0c6e28aecf1e74d
3
+ size 4692715008
kanana-safeguard-8b-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72e95cd3196e17113315dce9956d7a5e3729b13b6a86aa10ccc90a0698a375cf
3
+ size 5599344128
kanana-safeguard-8b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23689ccf7fdd42c510aeae24cbffe06eb0b781fc7099918981aa793644614d8e
3
+ size 5733037568
kanana-safeguard-8b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e9b6b77ed439edc784fe464922acefd4b6953026b690d18668de87f6844a72
3
+ size 5599344128
kanana-safeguard-8b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2315fab2cfe40b1fea593071323e9a5e262f17731e5406965d6d28448ee1f400
3
+ size 6596060928
kanana-safeguard-8b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:300409ccc31280616482198c15d47da93efb666ed8e0fd8b0b3f1b2010762e01
3
+ size 8540841216