morriszms commited on
Commit
babd089
1 Parent(s): a757179

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-medium-4k-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Phi-3-medium-4k-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Phi-3-medium-4k-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Phi-3-medium-4k-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Phi-3-medium-4k-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Phi-3-medium-4k-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Phi-3-medium-4k-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Phi-3-medium-4k-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Phi-3-medium-4k-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Phi-3-medium-4k-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Phi-3-medium-4k-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Phi-3-medium-4k-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3-medium-4k-instruct-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fb9f379394bbd244df9e9a2540a7a2476227fa6373641c1847a206d585349b1
3
+ size 5143000160
Phi-3-medium-4k-instruct-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af8052c6b5097d31295672a51103564755c474d7713edc18b3313f00a6683f0
3
+ size 7490297440
Phi-3-medium-4k-instruct-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9e38028ebe84a0b02301342fd0d042a21f797c8b3d173f6e6930b9c61260b3a
3
+ size 6923411040
Phi-3-medium-4k-instruct-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f895ba9270e54e0be692c83ba942ec65d4a597e6794f71bb13cb079b8ac1075e
3
+ size 6064889440
Phi-3-medium-4k-instruct-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce54b212b64a6429a04df0270978af9b4006fefdfcf08d5f486b56d8201fd206
3
+ size 7897124960
Phi-3-medium-4k-instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ca431f3e0ccef8af8ff9a81e9f797f4c0e70484c35dabef594cb8289ca33237
3
+ size 8566820960
Phi-3-medium-4k-instruct-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de015231d7ee75f80ddcb8990962874689ada39d33aa3524c7b6bd4b0ea4f70
3
+ size 7954468960
Phi-3-medium-4k-instruct-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b5b944c7b2123b2c432c321be1350f1e361fd3dda8e9680f763fe2f0c9dc857
3
+ size 9621581920
Phi-3-medium-4k-instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9dd9e470d392fe5aab22ddb095e41105a494f93a741cb457e2f94e501cafcb5
3
+ size 10074189920
Phi-3-medium-4k-instruct-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d10f2cf1576ff37519c9aeeec46999fec841e24a9b3b215e6dbee8b76a51f023
3
+ size 9621581920
Phi-3-medium-4k-instruct-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd58d284092ea403771f35fca424301a74791259df09b75bf9289a676d0d8f33
3
+ size 11453817440
Phi-3-medium-4k-instruct-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41102ed2a0343f1f07856204b4b686de76a509d49aedc7a49f9c4d1cea5de992
3
+ size 14834712160
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ license_link: https://huggingface.co/microsoft/Phi-3-medium-4k-instruct/resolve/main/LICENSE
4
+ language:
5
+ - multilingual
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - nlp
9
+ - code
10
+ - TensorBlock
11
+ - GGUF
12
+ inference:
13
+ parameters:
14
+ temperature: 0.7
15
+ widget:
16
+ - messages:
17
+ - role: user
18
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
19
+ base_model: microsoft/Phi-3-medium-4k-instruct
20
+ ---
21
+
22
+ <div style="width: auto; margin-left: auto; margin-right: auto">
23
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
24
+ </div>
25
+ <div style="display: flex; justify-content: space-between; width: 100%;">
26
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
27
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
28
+ 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>
29
+ </p>
30
+ </div>
31
+ </div>
32
+
33
+ ## microsoft/Phi-3-medium-4k-instruct - GGUF
34
+
35
+ This repo contains GGUF format model files for [microsoft/Phi-3-medium-4k-instruct](https://huggingface.co/microsoft/Phi-3-medium-4k-instruct).
36
+
37
+ 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).
38
+
39
+ ## Prompt template
40
+
41
+ ```
42
+ <|user|>
43
+ {prompt}<|end|>
44
+ <|assistant|>
45
+ ```
46
+
47
+ ## Model file specification
48
+
49
+ | Filename | Quant type | File Size | Description |
50
+ | -------- | ---------- | --------- | ----------- |
51
+ | [Phi-3-medium-4k-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q2_K.gguf) | Q2_K | 4.790 GB | smallest, significant quality loss - not recommended for most purposes |
52
+ | [Phi-3-medium-4k-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q3_K_S.gguf) | Q3_K_S | 5.648 GB | very small, high quality loss |
53
+ | [Phi-3-medium-4k-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q3_K_M.gguf) | Q3_K_M | 6.448 GB | very small, high quality loss |
54
+ | [Phi-3-medium-4k-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q3_K_L.gguf) | Q3_K_L | 6.976 GB | small, substantial quality loss |
55
+ | [Phi-3-medium-4k-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q4_0.gguf) | Q4_0 | 7.355 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
56
+ | [Phi-3-medium-4k-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q4_K_S.gguf) | Q4_K_S | 7.408 GB | small, greater quality loss |
57
+ | [Phi-3-medium-4k-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q4_K_M.gguf) | Q4_K_M | 7.978 GB | medium, balanced quality - recommended |
58
+ | [Phi-3-medium-4k-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q5_0.gguf) | Q5_0 | 8.961 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
59
+ | [Phi-3-medium-4k-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q5_K_S.gguf) | Q5_K_S | 8.961 GB | large, low quality loss - recommended |
60
+ | [Phi-3-medium-4k-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q5_K_M.gguf) | Q5_K_M | 9.382 GB | large, very low quality loss - recommended |
61
+ | [Phi-3-medium-4k-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q6_K.gguf) | Q6_K | 10.667 GB | very large, extremely low quality loss |
62
+ | [Phi-3-medium-4k-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3-medium-4k-instruct-GGUF/tree/main/Phi-3-medium-4k-instruct-Q8_0.gguf) | Q8_0 | 13.816 GB | very large, extremely low quality loss - not recommended |
63
+
64
+
65
+ ## Downloading instruction
66
+
67
+ ### Command line
68
+
69
+ Firstly, install Huggingface Client
70
+
71
+ ```shell
72
+ pip install -U "huggingface_hub[cli]"
73
+ ```
74
+
75
+ Then, downoad the individual model file the a local directory
76
+
77
+ ```shell
78
+ huggingface-cli download tensorblock/Phi-3-medium-4k-instruct-GGUF --include "Phi-3-medium-4k-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
79
+ ```
80
+
81
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
82
+
83
+ ```shell
84
+ huggingface-cli download tensorblock/Phi-3-medium-4k-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
85
+ ```