Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Qwen2-Math-7B-Instruct-Q2_K.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_0.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_0.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q6_K.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q8_0.gguf +3 -0
- README.md +78 -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 |
+
Qwen2-Math-7B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen2-Math-7B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen2-Math-7B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen2-Math-7B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen2-Math-7B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen2-Math-7B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2-Math-7B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2-Math-7B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2-Math-7B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen2-Math-7B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen2-Math-7B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen2-Math-7B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen2-Math-7B-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34d8d43384a569d530aa6a18f81f2149bb3063977585d2f3dd68aeb238ec1816
|
| 3 |
+
size 3015937920
|
Qwen2-Math-7B-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48252b1c7862ececd0bda7c318885049d4d71984bae95df299372e66ededb1a0
|
| 3 |
+
size 4088457088
|
Qwen2-Math-7B-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7df3036699c50dac29d9a56edc8759d2e3959517aa8c0c7cad9017926dc54b1c
|
| 3 |
+
size 3808388992
|
Qwen2-Math-7B-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4b6dc3f13f9a6b1db3c1f4bbddc9d0a9d66ae64db403daf9e5fc04bc903534d
|
| 3 |
+
size 3492366208
|
Qwen2-Math-7B-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f81374d1ef9be165f8816e63c1205ee61ff60252f8568afa0d8cb8d420711543
|
| 3 |
+
size 4431388544
|
Qwen2-Math-7B-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be3f2a043909f8d53d4c83b2057a1ef358c29fab534a3e9816e361d4d5590b0b
|
| 3 |
+
size 4683071360
|
Qwen2-Math-7B-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d73bf4e22ae48e98ad5c83027db287ad52d6327002364646189f3b4176ef0bc
|
| 3 |
+
size 4457766784
|
Qwen2-Math-7B-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:661bc397847dc96e471ba7f7ecddc7b7078018dcd9b667bcb891826e7b1b32bc
|
| 3 |
+
size 5315174272
|
Qwen2-Math-7B-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4ac21884f3c8f6028356fc47e5c83d350f05e1c5a0ed7c72bfa5d23fe1e8551
|
| 3 |
+
size 5444829056
|
Qwen2-Math-7B-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ded3ed9e36f680be76840daac3c6cff23bf21ee480bc47d83e10214066cd306
|
| 3 |
+
size 5315174272
|
Qwen2-Math-7B-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c511a1ab76c0a5eeb394e78693e29a8e5b016cc91b30f7fa8a7406f638def942
|
| 3 |
+
size 6254196608
|
Qwen2-Math-7B-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b20a19e9c320e090df616e03fea5be2537bf1b65db892e7b5fe5256bf79befa
|
| 3 |
+
size 8098523008
|
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- chat
|
| 8 |
+
- TensorBlock
|
| 9 |
+
- GGUF
|
| 10 |
+
base_model: Qwen/Qwen2-Math-7B-Instruct
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 14 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 15 |
+
</div>
|
| 16 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 17 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 18 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 19 |
+
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>
|
| 20 |
+
</p>
|
| 21 |
+
</div>
|
| 22 |
+
</div>
|
| 23 |
+
|
| 24 |
+
## Qwen/Qwen2-Math-7B-Instruct - GGUF
|
| 25 |
+
|
| 26 |
+
This repo contains GGUF format model files for [Qwen/Qwen2-Math-7B-Instruct](https://huggingface.co/Qwen/Qwen2-Math-7B-Instruct).
|
| 27 |
+
|
| 28 |
+
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).
|
| 29 |
+
|
| 30 |
+
## Prompt template
|
| 31 |
+
|
| 32 |
+
```
|
| 33 |
+
<|im_start|>system
|
| 34 |
+
{system_prompt}<|im_end|>
|
| 35 |
+
<|im_start|>user
|
| 36 |
+
{prompt}<|im_end|>
|
| 37 |
+
<|im_start|>assistant
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Model file specification
|
| 41 |
+
|
| 42 |
+
| Filename | Quant type | File Size | Description |
|
| 43 |
+
| -------- | ---------- | --------- | ----------- |
|
| 44 |
+
| [Qwen2-Math-7B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q2_K.gguf) | Q2_K | 2.809 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 45 |
+
| [Qwen2-Math-7B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3.253 GB | very small, high quality loss |
|
| 46 |
+
| [Qwen2-Math-7B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3.547 GB | very small, high quality loss |
|
| 47 |
+
| [Qwen2-Math-7B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3.808 GB | small, substantial quality loss |
|
| 48 |
+
| [Qwen2-Math-7B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q4_0.gguf) | Q4_0 | 4.127 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 49 |
+
| [Qwen2-Math-7B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4.152 GB | small, greater quality loss |
|
| 50 |
+
| [Qwen2-Math-7B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4.361 GB | medium, balanced quality - recommended |
|
| 51 |
+
| [Qwen2-Math-7B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q5_0.gguf) | Q5_0 | 4.950 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 52 |
+
| [Qwen2-Math-7B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q5_K_S.gguf) | Q5_K_S | 4.950 GB | large, low quality loss - recommended |
|
| 53 |
+
| [Qwen2-Math-7B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5.071 GB | large, very low quality loss - recommended |
|
| 54 |
+
| [Qwen2-Math-7B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q6_K.gguf) | Q6_K | 5.825 GB | very large, extremely low quality loss |
|
| 55 |
+
| [Qwen2-Math-7B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Qwen2-Math-7B-Instruct-GGUF/tree/main/Qwen2-Math-7B-Instruct-Q8_0.gguf) | Q8_0 | 7.542 GB | very large, extremely low quality loss - not recommended |
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
## Downloading instruction
|
| 59 |
+
|
| 60 |
+
### Command line
|
| 61 |
+
|
| 62 |
+
Firstly, install Huggingface Client
|
| 63 |
+
|
| 64 |
+
```shell
|
| 65 |
+
pip install -U "huggingface_hub[cli]"
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
Then, downoad the individual model file the a local directory
|
| 69 |
+
|
| 70 |
+
```shell
|
| 71 |
+
huggingface-cli download tensorblock/Qwen2-Math-7B-Instruct-GGUF --include "Qwen2-Math-7B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 75 |
+
|
| 76 |
+
```shell
|
| 77 |
+
huggingface-cli download tensorblock/Qwen2-Math-7B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 78 |
+
```
|