Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Med-Qwen2-7B-Q2_K.gguf +3 -0
- Med-Qwen2-7B-Q3_K_L.gguf +3 -0
- Med-Qwen2-7B-Q3_K_M.gguf +3 -0
- Med-Qwen2-7B-Q3_K_S.gguf +3 -0
- Med-Qwen2-7B-Q4_0.gguf +3 -0
- Med-Qwen2-7B-Q4_K_M.gguf +3 -0
- Med-Qwen2-7B-Q4_K_S.gguf +3 -0
- Med-Qwen2-7B-Q5_0.gguf +3 -0
- Med-Qwen2-7B-Q5_K_M.gguf +3 -0
- Med-Qwen2-7B-Q5_K_S.gguf +3 -0
- Med-Qwen2-7B-Q6_K.gguf +3 -0
- Med-Qwen2-7B-Q8_0.gguf +3 -0
- README.md +82 -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 |
+
Med-Qwen2-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Med-Qwen2-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Med-Qwen2-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Med-Qwen2-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Med-Qwen2-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Med-Qwen2-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Med-Qwen2-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Med-Qwen2-7B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Med-Qwen2-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Med-Qwen2-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Med-Qwen2-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Med-Qwen2-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Med-Qwen2-7B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:609ff48db284e2426a9055e8602b28ba045cb40676082b0734f1d12e77fb891f
|
3 |
+
size 3015938112
|
Med-Qwen2-7B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6146cc3a46ef2aee4b2bcda0d40537562f86918a21c1ab5f190aadfb1b2ce00
|
3 |
+
size 4088457280
|
Med-Qwen2-7B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:acb5efb5c2af7f6681820b8258f016158359d4112ab207c577dcca90c8731b44
|
3 |
+
size 3808389184
|
Med-Qwen2-7B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abb4ef5bb9e06dcbdaea4c026e8eb7831c2e6aff32f4302c84a67cd3400c3223
|
3 |
+
size 3492366400
|
Med-Qwen2-7B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dce013db572dd3c3cc8bd1c0d913edc5c795b6b6e27f714fb515f47c7b9b03ed
|
3 |
+
size 4431388736
|
Med-Qwen2-7B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34ed22203473f4467c1bd4deadb68e60d6bca12de090e959b72c7e10fca597d4
|
3 |
+
size 4683071552
|
Med-Qwen2-7B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f0c979f185b348713ae6c555b6a6b4b6ea24b9816808b92a0a9d8b970c3a1a9
|
3 |
+
size 4457766976
|
Med-Qwen2-7B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ceb1284e4eead4e87c49c44f0a27ee7a7c88587f311ea7b844ab7e133c58ac7
|
3 |
+
size 5315174464
|
Med-Qwen2-7B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d4a75e1163cb86b3ed1c63844e37d4e3f5366a438a74e1870bc3e4ea4777e7a
|
3 |
+
size 5444829248
|
Med-Qwen2-7B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4adb9ff240ba97ca18aa775d56b5ed7c68224dd2b4e1e107125583c7647273a
|
3 |
+
size 5315174464
|
Med-Qwen2-7B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29d3e74c0f5118f3dc7ed3c499ebf88003fb81391827a3ea3b38d8a628d84922
|
3 |
+
size 6254196800
|
Med-Qwen2-7B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cb461bcce9db204a2a887113a6a660dfb6faa92a4f10b0a85ae1f06cfadf5ab
|
3 |
+
size 8098523200
|
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- Malikeh1375/medical-question-answering-datasets
|
5 |
+
base_model: Echelon-AI/Med-Qwen2-7B
|
6 |
+
tags:
|
7 |
+
- TensorBlock
|
8 |
+
- GGUF
|
9 |
+
---
|
10 |
+
|
11 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
12 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
13 |
+
</div>
|
14 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
15 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
16 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
17 |
+
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>
|
18 |
+
</p>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
## Echelon-AI/Med-Qwen2-7B - GGUF
|
23 |
+
|
24 |
+
This repo contains GGUF format model files for [Echelon-AI/Med-Qwen2-7B](https://huggingface.co/Echelon-AI/Med-Qwen2-7B).
|
25 |
+
|
26 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
27 |
+
|
28 |
+
<div style="text-align: left; margin: 20px 0;">
|
29 |
+
<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;">
|
30 |
+
Run them on the TensorBlock client using your local machine ↗
|
31 |
+
</a>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
## Prompt template
|
35 |
+
|
36 |
+
```
|
37 |
+
<|im_start|>system
|
38 |
+
{system_prompt}<|im_end|>
|
39 |
+
<|im_start|>user
|
40 |
+
{prompt}<|im_end|>
|
41 |
+
<|im_start|>assistant
|
42 |
+
```
|
43 |
+
|
44 |
+
## Model file specification
|
45 |
+
|
46 |
+
| Filename | Quant type | File Size | Description |
|
47 |
+
| -------- | ---------- | --------- | ----------- |
|
48 |
+
| [Med-Qwen2-7B-Q2_K.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q2_K.gguf) | Q2_K | 3.016 GB | smallest, significant quality loss - not recommended for most purposes |
|
49 |
+
| [Med-Qwen2-7B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q3_K_S.gguf) | Q3_K_S | 3.492 GB | very small, high quality loss |
|
50 |
+
| [Med-Qwen2-7B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q3_K_M.gguf) | Q3_K_M | 3.808 GB | very small, high quality loss |
|
51 |
+
| [Med-Qwen2-7B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q3_K_L.gguf) | Q3_K_L | 4.088 GB | small, substantial quality loss |
|
52 |
+
| [Med-Qwen2-7B-Q4_0.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q4_0.gguf) | Q4_0 | 4.431 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
53 |
+
| [Med-Qwen2-7B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q4_K_S.gguf) | Q4_K_S | 4.458 GB | small, greater quality loss |
|
54 |
+
| [Med-Qwen2-7B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q4_K_M.gguf) | Q4_K_M | 4.683 GB | medium, balanced quality - recommended |
|
55 |
+
| [Med-Qwen2-7B-Q5_0.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q5_0.gguf) | Q5_0 | 5.315 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
56 |
+
| [Med-Qwen2-7B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q5_K_S.gguf) | Q5_K_S | 5.315 GB | large, low quality loss - recommended |
|
57 |
+
| [Med-Qwen2-7B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q5_K_M.gguf) | Q5_K_M | 5.445 GB | large, very low quality loss - recommended |
|
58 |
+
| [Med-Qwen2-7B-Q6_K.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q6_K.gguf) | Q6_K | 6.254 GB | very large, extremely low quality loss |
|
59 |
+
| [Med-Qwen2-7B-Q8_0.gguf](https://huggingface.co/tensorblock/Med-Qwen2-7B-GGUF/blob/main/Med-Qwen2-7B-Q8_0.gguf) | Q8_0 | 8.099 GB | very large, extremely low quality loss - not recommended |
|
60 |
+
|
61 |
+
|
62 |
+
## Downloading instruction
|
63 |
+
|
64 |
+
### Command line
|
65 |
+
|
66 |
+
Firstly, install Huggingface Client
|
67 |
+
|
68 |
+
```shell
|
69 |
+
pip install -U "huggingface_hub[cli]"
|
70 |
+
```
|
71 |
+
|
72 |
+
Then, downoad the individual model file the a local directory
|
73 |
+
|
74 |
+
```shell
|
75 |
+
huggingface-cli download tensorblock/Med-Qwen2-7B-GGUF --include "Med-Qwen2-7B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
76 |
+
```
|
77 |
+
|
78 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
79 |
+
|
80 |
+
```shell
|
81 |
+
huggingface-cli download tensorblock/Med-Qwen2-7B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
82 |
+
```
|