morriszms commited on
Commit
12137be
·
verified ·
1 Parent(s): 0b70b0d

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
+ shieldgemma-9b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ shieldgemma-9b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ shieldgemma-9b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ shieldgemma-9b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ shieldgemma-9b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ shieldgemma-9b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ shieldgemma-9b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ shieldgemma-9b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ shieldgemma-9b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ shieldgemma-9b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ shieldgemma-9b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ shieldgemma-9b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ library_name: transformers
4
+ pipeline_tag: text-generation
5
+ extra_gated_heading: Access Gemma on Hugging Face
6
+ extra_gated_prompt: To access Gemma on Hugging Face, you’re required to review and
7
+ agree to Google’s usage license. To do this, please ensure you’re logged in to Hugging
8
+ Face and click below. Requests are processed immediately.
9
+ extra_gated_button_content: Acknowledge license
10
+ tags:
11
+ - TensorBlock
12
+ - GGUF
13
+ base_model: google/shieldgemma-9b
14
+ ---
15
+
16
+ <div style="width: auto; margin-left: auto; margin-right: auto">
17
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
18
+ </div>
19
+ <div style="display: flex; justify-content: space-between; width: 100%;">
20
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
21
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
22
+ Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
23
+ </p>
24
+ </div>
25
+ </div>
26
+
27
+ ## google/shieldgemma-9b - GGUF
28
+
29
+ This repo contains GGUF format model files for [google/shieldgemma-9b](https://huggingface.co/google/shieldgemma-9b).
30
+
31
+ The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
32
+
33
+ <div style="text-align: left; margin: 20px 0;">
34
+ <a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
35
+ Run them on the TensorBlock client using your local machine ↗
36
+ </a>
37
+ </div>
38
+
39
+ ## Prompt template
40
+
41
+ ```
42
+ <bos>You are a policy expert trying to help determine whether a user prompt is in violation of the defined safety policies.
43
+
44
+ <start_of_turn>
45
+ Human Question: {prompt}
46
+ <end_of_turn>
47
+
48
+ Our safety principle is defined in the below:
49
+
50
+ * {system_prompt}
51
+
52
+ ===
53
+
54
+ Does the human question violate the above principle? Your answer must start with 'Yes' or 'No'. And then walk through step by step to be sure we answer correctly.
55
+ ```
56
+
57
+ ## Model file specification
58
+
59
+ | Filename | Quant type | File Size | Description |
60
+ | -------- | ---------- | --------- | ----------- |
61
+ | [shieldgemma-9b-Q2_K.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q2_K.gguf) | Q2_K | 3.805 GB | smallest, significant quality loss - not recommended for most purposes |
62
+ | [shieldgemma-9b-Q3_K_S.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q3_K_S.gguf) | Q3_K_S | 4.338 GB | very small, high quality loss |
63
+ | [shieldgemma-9b-Q3_K_M.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q3_K_M.gguf) | Q3_K_M | 4.762 GB | very small, high quality loss |
64
+ | [shieldgemma-9b-Q3_K_L.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q3_K_L.gguf) | Q3_K_L | 5.132 GB | small, substantial quality loss |
65
+ | [shieldgemma-9b-Q4_0.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q4_0.gguf) | Q4_0 | 5.443 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
66
+ | [shieldgemma-9b-Q4_K_S.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q4_K_S.gguf) | Q4_K_S | 5.479 GB | small, greater quality loss |
67
+ | [shieldgemma-9b-Q4_K_M.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q4_K_M.gguf) | Q4_K_M | 5.761 GB | medium, balanced quality - recommended |
68
+ | [shieldgemma-9b-Q5_0.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q5_0.gguf) | Q5_0 | 6.484 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
69
+ | [shieldgemma-9b-Q5_K_S.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q5_K_S.gguf) | Q5_K_S | 6.484 GB | large, low quality loss - recommended |
70
+ | [shieldgemma-9b-Q5_K_M.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q5_K_M.gguf) | Q5_K_M | 6.647 GB | large, very low quality loss - recommended |
71
+ | [shieldgemma-9b-Q6_K.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q6_K.gguf) | Q6_K | 7.589 GB | very large, extremely low quality loss |
72
+ | [shieldgemma-9b-Q8_0.gguf](https://huggingface.co/tensorblock/shieldgemma-9b-GGUF/blob/main/shieldgemma-9b-Q8_0.gguf) | Q8_0 | 9.827 GB | very large, extremely low quality loss - not recommended |
73
+
74
+
75
+ ## Downloading instruction
76
+
77
+ ### Command line
78
+
79
+ Firstly, install Huggingface Client
80
+
81
+ ```shell
82
+ pip install -U "huggingface_hub[cli]"
83
+ ```
84
+
85
+ Then, downoad the individual model file the a local directory
86
+
87
+ ```shell
88
+ huggingface-cli download tensorblock/shieldgemma-9b-GGUF --include "shieldgemma-9b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
89
+ ```
90
+
91
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
92
+
93
+ ```shell
94
+ huggingface-cli download tensorblock/shieldgemma-9b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
95
+ ```
shieldgemma-9b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1268aca5585431cb2dfd8bbbd798eee99b030081a51620cd25b6f60e79df7fc
3
+ size 3805398784
shieldgemma-9b-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df4861ab1c6d373ac642aa9c1bf5fea3fa356040cba07d89188f529b68b4a795
3
+ size 5132453632
shieldgemma-9b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f89147ec73f7b8194cc5198842c0086d150c993996beb8b4810ca85a2b0b0c4f
3
+ size 4761782016
shieldgemma-9b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4c1e8bf055ffc19731cea43ca44372346e3b27fca6e5171475c5783856d4815
3
+ size 4337665792
shieldgemma-9b-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b659942b2c153ad57b2b162199cad66c4be170f114ce1dc5af18b072bf972a9e
3
+ size 5443143424
shieldgemma-9b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d9f59a2e5b3c81d2af73c14b9915796ac89830c78fb681ce7c1c94fb0325880
3
+ size 5761058560
shieldgemma-9b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:967627827f086fcf69e0ae63e2b1b8f5b5ea2abfb2e14aa71b4d7c9247f3325d
3
+ size 5478926080
shieldgemma-9b-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:664512167e494e68bd1f9743caa752ebf04eeb57e284d3f773149dc87c0d637a
3
+ size 6483592960
shieldgemma-9b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ace1989b063f07ca3ebab84a26ef18d3909a2ec37c80d703c5bfdeb7eb403091
3
+ size 6647367424
shieldgemma-9b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32e410ffe3c06f03dc4ecd28f0a79e4090ce170e7f3fd7d1a4910e3133601ab6
3
+ size 6483592960
shieldgemma-9b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a77e59a3afc59806e112698eaffea1c7eb23c1b405c8d5007069bb38af47383
3
+ size 7589070592
shieldgemma-9b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bee36b091fb4d8e7e5e0aaad687ac223311505ef6486b0a4fe9167701c2d4ad
3
+ size 9827149568