Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Gemma-2-9b-it-chat-doctor-Q2_K.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q3_K_L.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q3_K_M.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q3_K_S.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q4_0.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q4_K_M.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q4_K_S.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q5_0.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q5_K_M.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q5_K_S.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q6_K.gguf +3 -0
- Gemma-2-9b-it-chat-doctor-Q8_0.gguf +3 -0
- README.md +88 -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 |
+
Gemma-2-9b-it-chat-doctor-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Gemma-2-9b-it-chat-doctor-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Gemma-2-9b-it-chat-doctor-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Gemma-2-9b-it-chat-doctor-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Gemma-2-9b-it-chat-doctor-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Gemma-2-9b-it-chat-doctor-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Gemma-2-9b-it-chat-doctor-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Gemma-2-9b-it-chat-doctor-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Gemma-2-9b-it-chat-doctor-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Gemma-2-9b-it-chat-doctor-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Gemma-2-9b-it-chat-doctor-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Gemma-2-9b-it-chat-doctor-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Gemma-2-9b-it-chat-doctor-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20bfdf808e69af29ac7addead23c9123bfd5fcc81af4500f36e4e5f2c5adc5bd
|
3 |
+
size 3805403712
|
Gemma-2-9b-it-chat-doctor-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26f1e3e3aea9644f86fb15d9da69952b60b21ed1ebe1f640b46c6de32020727a
|
3 |
+
size 5132458560
|
Gemma-2-9b-it-chat-doctor-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bddab85d536816d1b57a120bdba279f20f3e634a6102aa295db596d51b15b3d6
|
3 |
+
size 4761786944
|
Gemma-2-9b-it-chat-doctor-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:576d6b6d2085ad1caba69a8ea89b7d7494465a15639f62ace8f367f718d84603
|
3 |
+
size 4337670720
|
Gemma-2-9b-it-chat-doctor-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c2920c90c614c7c082e348f18350ff3e0dab372b013c759168542963d5b9dfe
|
3 |
+
size 5443148352
|
Gemma-2-9b-it-chat-doctor-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66197258d997a071991b77bbfd38713cbe3e23b00c73e26da19abf41dd5c28d4
|
3 |
+
size 5761063488
|
Gemma-2-9b-it-chat-doctor-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:935b69a2e81e5345d873b993ccd0e937065678479b59d3132c056b18f74a4407
|
3 |
+
size 5478931008
|
Gemma-2-9b-it-chat-doctor-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:962426bd47306a12d5cfaa78be3489d8caf0b5b2e3a995a0bc339dc32caf6afc
|
3 |
+
size 6483597888
|
Gemma-2-9b-it-chat-doctor-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6bf28ce9d25943c32c3935b850aa844c9f46475d537f0f3587895c9f9e228b5b
|
3 |
+
size 6647372352
|
Gemma-2-9b-it-chat-doctor-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8f632837e7dd90ecb71db9991c4aa28318dd6722e6b0819119330d3392acba5
|
3 |
+
size 6483597888
|
Gemma-2-9b-it-chat-doctor-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3a6fdcbbbf6f3ec8317ad29b25b702dcccddeb187dd6de597c0cbb7f470b42c
|
3 |
+
size 7589075520
|
Gemma-2-9b-it-chat-doctor-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14d28a1aa64066e56586d368ada5c5d72a198242df05561879aad11100c974ea
|
3 |
+
size 9827156224
|
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- medical
|
5 |
+
- gemma2
|
6 |
+
- TensorBlock
|
7 |
+
- GGUF
|
8 |
+
license: apache-2.0
|
9 |
+
datasets:
|
10 |
+
- lavita/ChatDoctor-HealthCareMagic-100k
|
11 |
+
language:
|
12 |
+
- en
|
13 |
+
pipeline_tag: question-answering
|
14 |
+
base_model: kingabzpro/Gemma-2-9b-it-chat-doctor
|
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 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
21 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
22 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
23 |
+
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>
|
24 |
+
</p>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
## kingabzpro/Gemma-2-9b-it-chat-doctor - GGUF
|
29 |
+
|
30 |
+
This repo contains GGUF format model files for [kingabzpro/Gemma-2-9b-it-chat-doctor](https://huggingface.co/kingabzpro/Gemma-2-9b-it-chat-doctor).
|
31 |
+
|
32 |
+
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).
|
33 |
+
|
34 |
+
<div style="text-align: left; margin: 20px 0;">
|
35 |
+
<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;">
|
36 |
+
Run them on the TensorBlock client using your local machine ↗
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
## Prompt template
|
41 |
+
|
42 |
+
```
|
43 |
+
<|im_start|>system
|
44 |
+
{system_prompt}<|im_end|>
|
45 |
+
<|im_start|>user
|
46 |
+
{prompt}<|im_end|>
|
47 |
+
<|im_start|>assistant
|
48 |
+
```
|
49 |
+
|
50 |
+
## Model file specification
|
51 |
+
|
52 |
+
| Filename | Quant type | File Size | Description |
|
53 |
+
| -------- | ---------- | --------- | ----------- |
|
54 |
+
| [Gemma-2-9b-it-chat-doctor-Q2_K.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q2_K.gguf) | Q2_K | 3.805 GB | smallest, significant quality loss - not recommended for most purposes |
|
55 |
+
| [Gemma-2-9b-it-chat-doctor-Q3_K_S.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q3_K_S.gguf) | Q3_K_S | 4.338 GB | very small, high quality loss |
|
56 |
+
| [Gemma-2-9b-it-chat-doctor-Q3_K_M.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q3_K_M.gguf) | Q3_K_M | 4.762 GB | very small, high quality loss |
|
57 |
+
| [Gemma-2-9b-it-chat-doctor-Q3_K_L.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q3_K_L.gguf) | Q3_K_L | 5.132 GB | small, substantial quality loss |
|
58 |
+
| [Gemma-2-9b-it-chat-doctor-Q4_0.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q4_0.gguf) | Q4_0 | 5.443 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
59 |
+
| [Gemma-2-9b-it-chat-doctor-Q4_K_S.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q4_K_S.gguf) | Q4_K_S | 5.479 GB | small, greater quality loss |
|
60 |
+
| [Gemma-2-9b-it-chat-doctor-Q4_K_M.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q4_K_M.gguf) | Q4_K_M | 5.761 GB | medium, balanced quality - recommended |
|
61 |
+
| [Gemma-2-9b-it-chat-doctor-Q5_0.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q5_0.gguf) | Q5_0 | 6.484 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
62 |
+
| [Gemma-2-9b-it-chat-doctor-Q5_K_S.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q5_K_S.gguf) | Q5_K_S | 6.484 GB | large, low quality loss - recommended |
|
63 |
+
| [Gemma-2-9b-it-chat-doctor-Q5_K_M.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q5_K_M.gguf) | Q5_K_M | 6.647 GB | large, very low quality loss - recommended |
|
64 |
+
| [Gemma-2-9b-it-chat-doctor-Q6_K.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q6_K.gguf) | Q6_K | 7.589 GB | very large, extremely low quality loss |
|
65 |
+
| [Gemma-2-9b-it-chat-doctor-Q8_0.gguf](https://huggingface.co/tensorblock/Gemma-2-9b-it-chat-doctor-GGUF/blob/main/Gemma-2-9b-it-chat-doctor-Q8_0.gguf) | Q8_0 | 9.827 GB | very large, extremely low quality loss - not recommended |
|
66 |
+
|
67 |
+
|
68 |
+
## Downloading instruction
|
69 |
+
|
70 |
+
### Command line
|
71 |
+
|
72 |
+
Firstly, install Huggingface Client
|
73 |
+
|
74 |
+
```shell
|
75 |
+
pip install -U "huggingface_hub[cli]"
|
76 |
+
```
|
77 |
+
|
78 |
+
Then, downoad the individual model file the a local directory
|
79 |
+
|
80 |
+
```shell
|
81 |
+
huggingface-cli download tensorblock/Gemma-2-9b-it-chat-doctor-GGUF --include "Gemma-2-9b-it-chat-doctor-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
82 |
+
```
|
83 |
+
|
84 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
85 |
+
|
86 |
+
```shell
|
87 |
+
huggingface-cli download tensorblock/Gemma-2-9b-it-chat-doctor-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
88 |
+
```
|