morriszms commited on
Commit
66b59bd
·
verified ·
1 Parent(s): e8aac3c

Upload folder using huggingface_hub

Browse files
.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-3-mini-4k-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Phi-3-mini-4k-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Phi-3-mini-4k-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Phi-3-mini-4k-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Phi-3-mini-4k-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Phi-3-mini-4k-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Phi-3-mini-4k-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Phi-3-mini-4k-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Phi-3-mini-4k-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Phi-3-mini-4k-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Phi-3-mini-4k-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Phi-3-mini-4k-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3-mini-4k-instruct-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4378f0432a9ab97caf8d17d5871f6978e13092187948b2e1f4c8bbe62c4ab127
3
+ size 1416203712
Phi-3-mini-4k-instruct-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4c2bc21a9e0410bb3d603bcc4590da8688f636f2fec3a6804796b06c02c8126
3
+ size 2087596992
Phi-3-mini-4k-instruct-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b64504667704b0b4de24ab606bfe0d7a3eddb8d6035da1083d6464a0ebaf81b
3
+ size 1955476416
Phi-3-mini-4k-instruct-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b4fe016b9413a211747f05a481d5059e0970f323951f2a889dbc1f4fd6daef6
3
+ size 1681798080
Phi-3-mini-4k-instruct-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff17d85e49bd0d295d2592e095e147539d9a95a7f1a43e1f7ab85e8fe83336b1
3
+ size 2176176576
Phi-3-mini-4k-instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fb2acdf5fd6705a0ed184c72bfa613ca4581c60b01ee5a739aee25bd395937f
3
+ size 2393231808
Phi-3-mini-4k-instruct-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17e0666f480c3a4888737a3e44df43abae4261f7210c3dac1b7d154e8ef05fc4
3
+ size 2188759488
Phi-3-mini-4k-instruct-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85d74e540c5a280fdbd71be20b34184f93f4bbabb72a5e983abeacb25ff251c4
3
+ size 2641473984
Phi-3-mini-4k-instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60bbad0c32710c1388ea1a0fd0ba191d4784715cc7c4310bff5d07c3352e89c7
3
+ size 2815275456
Phi-3-mini-4k-instruct-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2115c30de0416b017271b79cf53aaf7e4134d683c792f836e27b32735ae76d2
3
+ size 2641473984
Phi-3-mini-4k-instruct-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fe20b7b66b5bfde619f4bf0b4d63863eade43a67c50fcb7e62f92ae652e38fb
3
+ size 3135852480
Phi-3-mini-4k-instruct-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34e3863005661d5673808022e543c342cff35274036c063651385e1df13fc60a
3
+ size 4061221824
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
4
+ language:
5
+ - en
6
+ - fr
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - nlp
10
+ - code
11
+ - TensorBlock
12
+ - GGUF
13
+ inference:
14
+ parameters:
15
+ temperature: 0
16
+ widget:
17
+ - messages:
18
+ - role: user
19
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
20
+ base_model: microsoft/Phi-3-mini-4k-instruct
21
+ ---
22
+
23
+ <div style="width: auto; margin-left: auto; margin-right: auto">
24
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
25
+ </div>
26
+ <div style="display: flex; justify-content: space-between; width: 100%;">
27
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
28
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
29
+ 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>
30
+ </p>
31
+ </div>
32
+ </div>
33
+
34
+ ## microsoft/Phi-3-mini-4k-instruct - GGUF
35
+
36
+ This repo contains GGUF format model files for [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct).
37
+
38
+ 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).
39
+
40
+ ## Prompt template
41
+
42
+ ```
43
+ <|system|>
44
+ {system_prompt}<|end|>
45
+ <|user|>
46
+ {prompt}<|end|>
47
+ <|assistant|>
48
+ ```
49
+
50
+ ## Model file specification
51
+
52
+ | Filename | Quant type | File Size | Description |
53
+ | -------- | ---------- | --------- | ----------- |
54
+ | [Phi-3-mini-4k-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q2_K.gguf) | Q2_K | 1.319 GB | smallest, significant quality loss - not recommended for most purposes |
55
+ | [Phi-3-mini-4k-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q3_K_S.gguf) | Q3_K_S | 1.566 GB | very small, high quality loss |
56
+ | [Phi-3-mini-4k-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q3_K_M.gguf) | Q3_K_M | 1.821 GB | very small, high quality loss |
57
+ | [Phi-3-mini-4k-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q3_K_L.gguf) | Q3_K_L | 1.944 GB | small, substantial quality loss |
58
+ | [Phi-3-mini-4k-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q4_0.gguf) | Q4_0 | 2.027 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
59
+ | [Phi-3-mini-4k-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q4_K_S.gguf) | Q4_K_S | 2.038 GB | small, greater quality loss |
60
+ | [Phi-3-mini-4k-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q4_K_M.gguf) | Q4_K_M | 2.229 GB | medium, balanced quality - recommended |
61
+ | [Phi-3-mini-4k-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q5_0.gguf) | Q5_0 | 2.460 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
62
+ | [Phi-3-mini-4k-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q5_K_S.gguf) | Q5_K_S | 2.460 GB | large, low quality loss - recommended |
63
+ | [Phi-3-mini-4k-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q5_K_M.gguf) | Q5_K_M | 2.622 GB | large, very low quality loss - recommended |
64
+ | [Phi-3-mini-4k-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q6_K.gguf) | Q6_K | 2.920 GB | very large, extremely low quality loss |
65
+ | [Phi-3-mini-4k-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-4k-instruct-GGUF/tree/main/Phi-3-mini-4k-instruct-Q8_0.gguf) | Q8_0 | 3.782 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/Phi-3-mini-4k-instruct-GGUF --include "Phi-3-mini-4k-instruct-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/Phi-3-mini-4k-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
88
+ ```