Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +76 -0
- phi-1_5-Q2_K.gguf +3 -0
- phi-1_5-Q3_K_L.gguf +3 -0
- phi-1_5-Q3_K_M.gguf +3 -0
- phi-1_5-Q3_K_S.gguf +3 -0
- phi-1_5-Q4_0.gguf +3 -0
- phi-1_5-Q4_K_M.gguf +3 -0
- phi-1_5-Q4_K_S.gguf +3 -0
- phi-1_5-Q5_0.gguf +3 -0
- phi-1_5-Q5_K_M.gguf +3 -0
- phi-1_5-Q5_K_S.gguf +3 -0
- phi-1_5-Q6_K.gguf +3 -0
- phi-1_5-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 |
+
phi-1_5-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
phi-1_5-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
phi-1_5-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
phi-1_5-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
phi-1_5-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
phi-1_5-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
phi-1_5-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
phi-1_5-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
phi-1_5-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
phi-1_5-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
phi-1_5-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
phi-1_5-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/phi-1_5/resolve/main/LICENSE
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
tags:
|
8 |
+
- nlp
|
9 |
+
- code
|
10 |
+
- TensorBlock
|
11 |
+
- GGUF
|
12 |
+
base_model: microsoft/phi-1_5
|
13 |
+
---
|
14 |
+
|
15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
16 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
17 |
+
</div>
|
18 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
19 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
20 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
21 |
+
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>
|
22 |
+
</p>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
## microsoft/phi-1_5 - GGUF
|
27 |
+
|
28 |
+
This repo contains GGUF format model files for [microsoft/phi-1_5](https://huggingface.co/microsoft/phi-1_5).
|
29 |
+
|
30 |
+
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).
|
31 |
+
|
32 |
+
## Prompt template
|
33 |
+
|
34 |
+
```
|
35 |
+
|
36 |
+
```
|
37 |
+
|
38 |
+
## Model file specification
|
39 |
+
|
40 |
+
| Filename | Quant type | File Size | Description |
|
41 |
+
| -------- | ---------- | --------- | ----------- |
|
42 |
+
| [phi-1_5-Q2_K.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q2_K.gguf) | Q2_K | 0.542 GB | smallest, significant quality loss - not recommended for most purposes |
|
43 |
+
| [phi-1_5-Q3_K_S.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q3_K_S.gguf) | Q3_K_S | 0.609 GB | very small, high quality loss |
|
44 |
+
| [phi-1_5-Q3_K_M.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q3_K_M.gguf) | Q3_K_M | 0.687 GB | very small, high quality loss |
|
45 |
+
| [phi-1_5-Q3_K_L.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q3_K_L.gguf) | Q3_K_L | 0.754 GB | small, substantial quality loss |
|
46 |
+
| [phi-1_5-Q4_0.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q4_0.gguf) | Q4_0 | 0.772 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
47 |
+
| [phi-1_5-Q4_K_S.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q4_K_S.gguf) | Q4_K_S | 0.780 GB | small, greater quality loss |
|
48 |
+
| [phi-1_5-Q4_K_M.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q4_K_M.gguf) | Q4_K_M | 0.832 GB | medium, balanced quality - recommended |
|
49 |
+
| [phi-1_5-Q5_0.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q5_0.gguf) | Q5_0 | 0.925 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
50 |
+
| [phi-1_5-Q5_K_S.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q5_K_S.gguf) | Q5_K_S | 0.925 GB | large, low quality loss - recommended |
|
51 |
+
| [phi-1_5-Q5_K_M.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q5_K_M.gguf) | Q5_K_M | 0.956 GB | large, very low quality loss - recommended |
|
52 |
+
| [phi-1_5-Q6_K.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q6_K.gguf) | Q6_K | 1.087 GB | very large, extremely low quality loss |
|
53 |
+
| [phi-1_5-Q8_0.gguf](https://huggingface.co/tensorblock/phi-1_5-GGUF/tree/main/phi-1_5-Q8_0.gguf) | Q8_0 | 1.407 GB | very large, extremely low quality loss - not recommended |
|
54 |
+
|
55 |
+
|
56 |
+
## Downloading instruction
|
57 |
+
|
58 |
+
### Command line
|
59 |
+
|
60 |
+
Firstly, install Huggingface Client
|
61 |
+
|
62 |
+
```shell
|
63 |
+
pip install -U "huggingface_hub[cli]"
|
64 |
+
```
|
65 |
+
|
66 |
+
Then, downoad the individual model file the a local directory
|
67 |
+
|
68 |
+
```shell
|
69 |
+
huggingface-cli download tensorblock/phi-1_5-GGUF --include "phi-1_5-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
70 |
+
```
|
71 |
+
|
72 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
73 |
+
|
74 |
+
```shell
|
75 |
+
huggingface-cli download tensorblock/phi-1_5-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
76 |
+
```
|
phi-1_5-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b951defaa5b7e7f04e4fe675a4fb2dd74daf2a01bc8f83e3ccdadb92bc122a1
|
3 |
+
size 582316992
|
phi-1_5-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07d1a1ac3648ecb881a74f1d8989c08bd6f6d06ee008a9a6ae5c94c1671e796c
|
3 |
+
size 810021824
|
phi-1_5-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:487f598e1a93b114e148fad9075c2365745b5d070b468dafd60480d670058887
|
3 |
+
size 737670080
|
phi-1_5-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ab50b157846be92a9b26b836159122693d1efc484eb4c74e5dea0347d821527
|
3 |
+
size 654308288
|
phi-1_5-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51e3d273d74ab3b8fea099e5816b31f48cefc707d13dcda40eb96786770f7d2d
|
3 |
+
size 828666816
|
phi-1_5-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07577f7406a38901ba9821ff49df5da1ad40b00183c33d431d15a331fbb230cf
|
3 |
+
size 893547456
|
phi-1_5-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b42770de3736dc4867805df2799e88c2dea29f2e50882a32ee8d694548aff1eb
|
3 |
+
size 837055424
|
phi-1_5-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1c995cdab3e1b35ac4aab95cbad8d071263510972f3f9d8dc09981bc79ee4cd
|
3 |
+
size 992768960
|
phi-1_5-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19f74b7c226bf0361d9b65621f6c8b5da12b5cad845de184378832006e5666d1
|
3 |
+
size 1026192320
|
phi-1_5-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:876c26c23b7dc55cef27274a3e149fd536bde254c27991e4f7b0d40d929dded5
|
3 |
+
size 992768960
|
phi-1_5-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d9c456706f9d1dabbf9c29111c962f4b57bfe96d342b473c8dd89058aadfc66
|
3 |
+
size 1167127488
|
phi-1_5-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:151049ae2a5011efc75eaa6c5e7a2cc156808d14237931467eb65bbb4a964472
|
3 |
+
size 1510470592
|