Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +94 -0
- codegemma-7b-it-Q2_K.gguf +3 -0
- codegemma-7b-it-Q3_K_L.gguf +3 -0
- codegemma-7b-it-Q3_K_M.gguf +3 -0
- codegemma-7b-it-Q3_K_S.gguf +3 -0
- codegemma-7b-it-Q4_0.gguf +3 -0
- codegemma-7b-it-Q4_K_M.gguf +3 -0
- codegemma-7b-it-Q4_K_S.gguf +3 -0
- codegemma-7b-it-Q5_0.gguf +3 -0
- codegemma-7b-it-Q5_K_M.gguf +3 -0
- codegemma-7b-it-Q5_K_S.gguf +3 -0
- codegemma-7b-it-Q6_K.gguf +3 -0
- codegemma-7b-it-Q8_0.gguf +3 -0
.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 |
+
codegemma-7b-it-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
codegemma-7b-it-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
codegemma-7b-it-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
codegemma-7b-it-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
codegemma-7b-it-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
codegemma-7b-it-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
codegemma-7b-it-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
codegemma-7b-it-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
codegemma-7b-it-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
codegemma-7b-it-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
codegemma-7b-it-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
codegemma-7b-it-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: gemma
|
4 |
+
license_link: https://ai.google.dev/gemma/terms
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
extra_gated_heading: Access CodeGemma on Hugging Face
|
7 |
+
extra_gated_prompt: To access CodeGemma on Hugging Face, you’re required to review
|
8 |
+
and agree to Google’s usage license. To do this, please ensure you’re logged-in
|
9 |
+
to Hugging Face and click below. Requests are processed immediately.
|
10 |
+
extra_gated_button_content: Acknowledge license
|
11 |
+
widget:
|
12 |
+
- text: '<start_of_turn>user Write a Python function to calculate the nth fibonacci
|
13 |
+
number.<end_of_turn> <start_of_turn>model
|
14 |
+
|
15 |
+
'
|
16 |
+
inference:
|
17 |
+
parameters:
|
18 |
+
max_new_tokens: 200
|
19 |
+
base_model: google/codegemma-7b-it
|
20 |
+
tags:
|
21 |
+
- TensorBlock
|
22 |
+
- GGUF
|
23 |
+
---
|
24 |
+
|
25 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
26 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
27 |
+
</div>
|
28 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
29 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
30 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
31 |
+
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>
|
32 |
+
</p>
|
33 |
+
</div>
|
34 |
+
</div>
|
35 |
+
|
36 |
+
## google/codegemma-7b-it - GGUF
|
37 |
+
|
38 |
+
This repo contains GGUF format model files for [google/codegemma-7b-it](https://huggingface.co/google/codegemma-7b-it).
|
39 |
+
|
40 |
+
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).
|
41 |
+
|
42 |
+
<div style="text-align: left; margin: 20px 0;">
|
43 |
+
<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;">
|
44 |
+
Run them on the TensorBlock client using your local machine ↗
|
45 |
+
</a>
|
46 |
+
</div>
|
47 |
+
|
48 |
+
## Prompt template
|
49 |
+
|
50 |
+
```
|
51 |
+
<bos><start_of_turn>user
|
52 |
+
{prompt}<end_of_turn>
|
53 |
+
<start_of_turn>model
|
54 |
+
```
|
55 |
+
|
56 |
+
## Model file specification
|
57 |
+
|
58 |
+
| Filename | Quant type | File Size | Description |
|
59 |
+
| -------- | ---------- | --------- | ----------- |
|
60 |
+
| [codegemma-7b-it-Q2_K.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q2_K.gguf) | Q2_K | 3.481 GB | smallest, significant quality loss - not recommended for most purposes |
|
61 |
+
| [codegemma-7b-it-Q3_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q3_K_S.gguf) | Q3_K_S | 3.982 GB | very small, high quality loss |
|
62 |
+
| [codegemma-7b-it-Q3_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q3_K_M.gguf) | Q3_K_M | 4.369 GB | very small, high quality loss |
|
63 |
+
| [codegemma-7b-it-Q3_K_L.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q3_K_L.gguf) | Q3_K_L | 4.709 GB | small, substantial quality loss |
|
64 |
+
| [codegemma-7b-it-Q4_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q4_0.gguf) | Q4_0 | 5.012 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
65 |
+
| [codegemma-7b-it-Q4_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q4_K_S.gguf) | Q4_K_S | 5.046 GB | small, greater quality loss |
|
66 |
+
| [codegemma-7b-it-Q4_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q4_K_M.gguf) | Q4_K_M | 5.330 GB | medium, balanced quality - recommended |
|
67 |
+
| [codegemma-7b-it-Q5_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q5_0.gguf) | Q5_0 | 5.981 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
68 |
+
| [codegemma-7b-it-Q5_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q5_K_S.gguf) | Q5_K_S | 5.981 GB | large, low quality loss - recommended |
|
69 |
+
| [codegemma-7b-it-Q5_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q5_K_M.gguf) | Q5_K_M | 6.145 GB | large, very low quality loss - recommended |
|
70 |
+
| [codegemma-7b-it-Q6_K.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q6_K.gguf) | Q6_K | 7.010 GB | very large, extremely low quality loss |
|
71 |
+
| [codegemma-7b-it-Q8_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-it-GGUF/blob/main/codegemma-7b-it-Q8_0.gguf) | Q8_0 | 9.078 GB | very large, extremely low quality loss - not recommended |
|
72 |
+
|
73 |
+
|
74 |
+
## Downloading instruction
|
75 |
+
|
76 |
+
### Command line
|
77 |
+
|
78 |
+
Firstly, install Huggingface Client
|
79 |
+
|
80 |
+
```shell
|
81 |
+
pip install -U "huggingface_hub[cli]"
|
82 |
+
```
|
83 |
+
|
84 |
+
Then, downoad the individual model file the a local directory
|
85 |
+
|
86 |
+
```shell
|
87 |
+
huggingface-cli download tensorblock/codegemma-7b-it-GGUF --include "codegemma-7b-it-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
88 |
+
```
|
89 |
+
|
90 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
91 |
+
|
92 |
+
```shell
|
93 |
+
huggingface-cli download tensorblock/codegemma-7b-it-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
94 |
+
```
|
codegemma-7b-it-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3576528f1c684c260eba0cae420b8c922a4e8eccd2b85b9e49e064b0b521dca
|
3 |
+
size 3481446912
|
codegemma-7b-it-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a99b4428691d26caf4d8896760dcc34516d4a52a4989721b7d7f933f93439ec6
|
3 |
+
size 4709067264
|
codegemma-7b-it-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aed3e16c2dbacaadb217a1c07aa8dc1d3c6b1c05c1fde77407a1e19c53ce761e
|
3 |
+
size 4369328640
|
codegemma-7b-it-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c363b1a7267edd329cf9f98e46ae3778cde76ae33879760e67ddb4740a825cc6
|
3 |
+
size 3982404096
|
codegemma-7b-it-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9686c64d69012e8d7864061e573bb566c5d29185d49db8752bf67273c2427cc9
|
3 |
+
size 5011843584
|
codegemma-7b-it-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8dc047fd841fa3ce21d538d18e7401acfa2f15a5a11653aaeee98bf119d12dd9
|
3 |
+
size 5329758720
|
codegemma-7b-it-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff81e8d09ce750efaf973072bb9490d0a5b5f14c0a5680d82093547866aa7d5e
|
3 |
+
size 5046446592
|
codegemma-7b-it-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d9ecaa356b08d7ea40a69781edd941188fdfe37132fb95081e8ee6cad33b1c7
|
3 |
+
size 5980727808
|
codegemma-7b-it-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80e8a4d47e7436d62e5f9796de87526bdf863c658bd75b5256713c1f0664b2eb
|
3 |
+
size 6144502272
|
codegemma-7b-it-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0cb0a4101159af0bb8be78359aacf5c5185fcd31c36d7992db264d81c5b5bee9
|
3 |
+
size 5980727808
|
codegemma-7b-it-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:888455a68f8de637cdef2b04ef836a2504e5b9cd0187d82e1495098169765a64
|
3 |
+
size 7010167296
|
codegemma-7b-it-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c2a8b2b51c200f32042faef590e5daf26498e64a45eca06aed8b1b25b465b7a
|
3 |
+
size 9077844480
|