Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- JSL-MedPhi2-2.7B-Q2_K.gguf +3 -0
- JSL-MedPhi2-2.7B-Q3_K_L.gguf +3 -0
- JSL-MedPhi2-2.7B-Q3_K_M.gguf +3 -0
- JSL-MedPhi2-2.7B-Q3_K_S.gguf +3 -0
- JSL-MedPhi2-2.7B-Q4_0.gguf +3 -0
- JSL-MedPhi2-2.7B-Q4_K_M.gguf +3 -0
- JSL-MedPhi2-2.7B-Q4_K_S.gguf +3 -0
- JSL-MedPhi2-2.7B-Q5_0.gguf +3 -0
- JSL-MedPhi2-2.7B-Q5_K_M.gguf +3 -0
- JSL-MedPhi2-2.7B-Q5_K_S.gguf +3 -0
- JSL-MedPhi2-2.7B-Q6_K.gguf +3 -0
- JSL-MedPhi2-2.7B-Q8_0.gguf +3 -0
- README.md +73 -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 |
+
JSL-MedPhi2-2.7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
JSL-MedPhi2-2.7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
JSL-MedPhi2-2.7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
JSL-MedPhi2-2.7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
JSL-MedPhi2-2.7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
JSL-MedPhi2-2.7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
JSL-MedPhi2-2.7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
JSL-MedPhi2-2.7B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
JSL-MedPhi2-2.7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
JSL-MedPhi2-2.7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
JSL-MedPhi2-2.7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
JSL-MedPhi2-2.7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
JSL-MedPhi2-2.7B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64e07cd160e2c32590e20dd4fa465095856abf4a92590cd9536f106241bf9486
|
3 |
+
size 1109720768
|
JSL-MedPhi2-2.7B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62eba32af61ab158e76e99c1882f729553365727710aad474ebd3ed8f3172f30
|
3 |
+
size 1575231168
|
JSL-MedPhi2-2.7B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2447a283e538b5d47db75e76c038a794bd085cae07f71d8d76091d92d4d0ce6
|
3 |
+
size 1426136768
|
JSL-MedPhi2-2.7B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccd82172959a6b0542afbaa054d005cddd79d54e55d3afc0bb8d2b4aed053a87
|
3 |
+
size 1250827968
|
JSL-MedPhi2-2.7B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8289c2acee53080975dc6fad863826ebc5b7f53121c07462737da5f9a350563
|
3 |
+
size 1602469568
|
JSL-MedPhi2-2.7B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffbba1a663951c48c9e9ecd2f5b0922ec9291fcf06e8b1fb97fe3c5aec1ba36c
|
3 |
+
size 1737637568
|
JSL-MedPhi2-2.7B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6431788345d53cb1f5c1b539c2e79186ce478780518bff1c67636fcb05e7531b
|
3 |
+
size 1618853568
|
JSL-MedPhi2-2.7B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a969a75ed4ea41a04fc24c07224d95cce227c3faa5cdcf233ecc81ecc30c8c6
|
3 |
+
size 1933426368
|
JSL-MedPhi2-2.7B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe56801eca39bb50a870892fb2ac754b55725bcd11d3d5b3f569bfc9aea4ecb8
|
3 |
+
size 2003058368
|
JSL-MedPhi2-2.7B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4646f20192fea6bd7b8c9a12874b1f17386b31c723fd0f447f6b3f6785729bbd
|
3 |
+
size 1933426368
|
JSL-MedPhi2-2.7B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:173febd59f7553336be0d1111042d911804ba73dfb10051fa01eabbc6b781f5a
|
3 |
+
size 2285067968
|
JSL-MedPhi2-2.7B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16ba6956cab398f6753ccff61cf66ef48fe7503e717a6552b0d5b3abaf373a5d
|
3 |
+
size 2958040768
|
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- phi-2
|
4 |
+
- sft
|
5 |
+
- medical
|
6 |
+
- TensorBlock
|
7 |
+
- GGUF
|
8 |
+
base_model: johnsnowlabs/JSL-MedPhi2-2.7B
|
9 |
+
license: cc-by-nc-nd-4.0
|
10 |
+
---
|
11 |
+
|
12 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
13 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
14 |
+
</div>
|
15 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
16 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
17 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
18 |
+
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>
|
19 |
+
</p>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
|
23 |
+
## johnsnowlabs/JSL-MedPhi2-2.7B - GGUF
|
24 |
+
|
25 |
+
This repo contains GGUF format model files for [johnsnowlabs/JSL-MedPhi2-2.7B](https://huggingface.co/johnsnowlabs/JSL-MedPhi2-2.7B).
|
26 |
+
|
27 |
+
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).
|
28 |
+
|
29 |
+
## Prompt template
|
30 |
+
|
31 |
+
```
|
32 |
+
<|endoftext|>[INST] {prompt} [/INST]
|
33 |
+
```
|
34 |
+
|
35 |
+
## Model file specification
|
36 |
+
|
37 |
+
| Filename | Quant type | File Size | Description |
|
38 |
+
| -------- | ---------- | --------- | ----------- |
|
39 |
+
| [JSL-MedPhi2-2.7B-Q2_K.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q2_K.gguf) | Q2_K | 1.034 GB | smallest, significant quality loss - not recommended for most purposes |
|
40 |
+
| [JSL-MedPhi2-2.7B-Q3_K_S.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q3_K_S.gguf) | Q3_K_S | 1.165 GB | very small, high quality loss |
|
41 |
+
| [JSL-MedPhi2-2.7B-Q3_K_M.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q3_K_M.gguf) | Q3_K_M | 1.328 GB | very small, high quality loss |
|
42 |
+
| [JSL-MedPhi2-2.7B-Q3_K_L.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q3_K_L.gguf) | Q3_K_L | 1.467 GB | small, substantial quality loss |
|
43 |
+
| [JSL-MedPhi2-2.7B-Q4_0.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q4_0.gguf) | Q4_0 | 1.492 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
44 |
+
| [JSL-MedPhi2-2.7B-Q4_K_S.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q4_K_S.gguf) | Q4_K_S | 1.508 GB | small, greater quality loss |
|
45 |
+
| [JSL-MedPhi2-2.7B-Q4_K_M.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q4_K_M.gguf) | Q4_K_M | 1.618 GB | medium, balanced quality - recommended |
|
46 |
+
| [JSL-MedPhi2-2.7B-Q5_0.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q5_0.gguf) | Q5_0 | 1.801 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
47 |
+
| [JSL-MedPhi2-2.7B-Q5_K_S.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q5_K_S.gguf) | Q5_K_S | 1.801 GB | large, low quality loss - recommended |
|
48 |
+
| [JSL-MedPhi2-2.7B-Q5_K_M.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q5_K_M.gguf) | Q5_K_M | 1.865 GB | large, very low quality loss - recommended |
|
49 |
+
| [JSL-MedPhi2-2.7B-Q6_K.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q6_K.gguf) | Q6_K | 2.128 GB | very large, extremely low quality loss |
|
50 |
+
| [JSL-MedPhi2-2.7B-Q8_0.gguf](https://huggingface.co/tensorblock/JSL-MedPhi2-2.7B-GGUF/tree/main/JSL-MedPhi2-2.7B-Q8_0.gguf) | Q8_0 | 2.755 GB | very large, extremely low quality loss - not recommended |
|
51 |
+
|
52 |
+
|
53 |
+
## Downloading instruction
|
54 |
+
|
55 |
+
### Command line
|
56 |
+
|
57 |
+
Firstly, install Huggingface Client
|
58 |
+
|
59 |
+
```shell
|
60 |
+
pip install -U "huggingface_hub[cli]"
|
61 |
+
```
|
62 |
+
|
63 |
+
Then, downoad the individual model file the a local directory
|
64 |
+
|
65 |
+
```shell
|
66 |
+
huggingface-cli download tensorblock/JSL-MedPhi2-2.7B-GGUF --include "JSL-MedPhi2-2.7B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
67 |
+
```
|
68 |
+
|
69 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
70 |
+
|
71 |
+
```shell
|
72 |
+
huggingface-cli download tensorblock/JSL-MedPhi2-2.7B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
73 |
+
```
|