Upload folder using huggingface_hub
Browse files- .gitattributes +24 -0
- Midnight-Miqu-103B-v1.0-IQ3_XXS.gguf +3 -0
- Midnight-Miqu-103B-v1.0-Q2_K.gguf +3 -0
- Midnight-Miqu-103B-v1.0-Q3_K_L-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q3_K_L-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q3_K_M.gguf +3 -0
- Midnight-Miqu-103B-v1.0-Q3_K_S.gguf +3 -0
- Midnight-Miqu-103B-v1.0-Q3_K_XS.gguf +3 -0
- Midnight-Miqu-103B-v1.0-Q4_0-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q4_0-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q4_K_M-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q4_K_M-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q4_K_S-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q4_K_S-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q5_0-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q5_0-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q5_K_M-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q5_K_M-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q5_K_S-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q5_K_S-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q6_K-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q6_K-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q8_0-part-a +3 -0
- Midnight-Miqu-103B-v1.0-Q8_0-part-b +3 -0
- Midnight-Miqu-103B-v1.0-Q8_0-part-c +3 -0
- README.md +120 -0
.gitattributes
CHANGED
@@ -33,3 +33,27 @@ 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 |
+
Midnight-Miqu-103B-v1.0-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Midnight-Miqu-103B-v1.0-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Midnight-Miqu-103B-v1.0-Q3_K_L-part-a filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Midnight-Miqu-103B-v1.0-Q3_K_L-part-b filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Midnight-Miqu-103B-v1.0-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Midnight-Miqu-103B-v1.0-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Midnight-Miqu-103B-v1.0-Q3_K_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Midnight-Miqu-103B-v1.0-Q4_0-part-a filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Midnight-Miqu-103B-v1.0-Q4_0-part-b filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Midnight-Miqu-103B-v1.0-Q4_K_M-part-a filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Midnight-Miqu-103B-v1.0-Q4_K_M-part-b filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Midnight-Miqu-103B-v1.0-Q4_K_S-part-a filter=lfs diff=lfs merge=lfs -text
|
48 |
+
Midnight-Miqu-103B-v1.0-Q4_K_S-part-b filter=lfs diff=lfs merge=lfs -text
|
49 |
+
Midnight-Miqu-103B-v1.0-Q5_0-part-a filter=lfs diff=lfs merge=lfs -text
|
50 |
+
Midnight-Miqu-103B-v1.0-Q5_0-part-b filter=lfs diff=lfs merge=lfs -text
|
51 |
+
Midnight-Miqu-103B-v1.0-Q5_K_M-part-a filter=lfs diff=lfs merge=lfs -text
|
52 |
+
Midnight-Miqu-103B-v1.0-Q5_K_M-part-b filter=lfs diff=lfs merge=lfs -text
|
53 |
+
Midnight-Miqu-103B-v1.0-Q5_K_S-part-a filter=lfs diff=lfs merge=lfs -text
|
54 |
+
Midnight-Miqu-103B-v1.0-Q5_K_S-part-b filter=lfs diff=lfs merge=lfs -text
|
55 |
+
Midnight-Miqu-103B-v1.0-Q6_K-part-a filter=lfs diff=lfs merge=lfs -text
|
56 |
+
Midnight-Miqu-103B-v1.0-Q6_K-part-b filter=lfs diff=lfs merge=lfs -text
|
57 |
+
Midnight-Miqu-103B-v1.0-Q8_0-part-a filter=lfs diff=lfs merge=lfs -text
|
58 |
+
Midnight-Miqu-103B-v1.0-Q8_0-part-b filter=lfs diff=lfs merge=lfs -text
|
59 |
+
Midnight-Miqu-103B-v1.0-Q8_0-part-c filter=lfs diff=lfs merge=lfs -text
|
Midnight-Miqu-103B-v1.0-IQ3_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a5a95644899cc16b3d1aa8f9b3a7f9af0464c51cadfdd02f1a6549bd8e176e5
|
3 |
+
size 42024553216
|
Midnight-Miqu-103B-v1.0-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd1750e08a36a4645f6fd63e7528695f56d85f37930e0cb587735221cc018d62
|
3 |
+
size 37916920576
|
Midnight-Miqu-103B-v1.0-Q3_K_L-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea81ad65733c8c62902db2689e0f71aa96c6aacbe3e26a4168c12bd5412a3fc9
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q3_K_L-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b48b6912bf3c4454713077d8a5ae1c26600dc92f75888a95290008131aa01cc
|
3 |
+
size 11107863296
|
Midnight-Miqu-103B-v1.0-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4114d5876da76efd8e6997b0e79ba06ee4d6813efd28a69532f433de08e162b
|
3 |
+
size 49609476864
|
Midnight-Miqu-103B-v1.0-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1c1bbc7bb1400c51340562877023a726192ef57fea0dc1d10490c4a4f1c6408
|
3 |
+
size 44455201536
|
Midnight-Miqu-103B-v1.0-Q3_K_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de4760e06a2032c9020dbf4424326a92ae309711e86a3edcc5753479fcc1df67
|
3 |
+
size 41958279936
|
Midnight-Miqu-103B-v1.0-Q4_0-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7d9c7dd15f27845cc308b19894fe7c87c318da9559bd2c46baa4c6f335866c6
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q4_0-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:671d672afe3867a28235bc55f7ce6fb6fa92e3d51ac4cf6df0972da27e23df0d
|
3 |
+
size 15177075456
|
Midnight-Miqu-103B-v1.0-Q4_K_M-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3294c4c423d333d1b9e375ba88ad25ecb8dd0b17f4e0137a7c139802874f0d9a
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q4_K_M-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33984353bef4c912b8a6e4b69eab8a92a05e9fff3ccc3a327be99f4145dd810f
|
3 |
+
size 18940152576
|
Midnight-Miqu-103B-v1.0-Q4_K_S-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d88e390844043b8313e99ac6c90586bfe5eb295069c88c6e3c9b8ebc14e0a8e5
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q4_K_S-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b95642cfebb3980298bfd81243428f10cff3274bcbc61a863ceefaa166d10768
|
3 |
+
size 15621671680
|
Midnight-Miqu-103B-v1.0-Q5_0-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01e53721f0cc1f06a2212686e9bb1b285cf6af8398b1a4d399fdf363687a2b69
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q5_0-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0cf8502b98b00d668288ed5a40d39d636be1530eac3bdddd529e1450155d35e
|
3 |
+
size 28044413696
|
Midnight-Miqu-103B-v1.0-Q5_K_M-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:823816fc748305aa5b9499dcd8387ec2a00c00f6a4db0216ef2b2a5a57c72fc9
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q5_K_M-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f95784400f9b86ea1a02863dcb3375820a73eed2639b4334e1c756d60430bc7
|
3 |
+
size 29982968576
|
Midnight-Miqu-103B-v1.0-Q5_K_S-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bc1ae65f2b712b120607c003e67293b32851fe8c7fc5742ebddbf55616782d7
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q5_K_S-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e960dc51b5354ed9642f069d2a7eaf03384adafa576fb72a654245cba2f7b462
|
3 |
+
size 28044413696
|
Midnight-Miqu-103B-v1.0-Q6_K-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a67a9cf91f8a5362640eccdb8bc571e64400661a5c6bb9658b8e0d2b7a520653
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q6_K-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85d8622e2008d76a633bd27cd1cfa85fd9998384c5e3a13456b8825e502b667c
|
3 |
+
size 41715960576
|
Midnight-Miqu-103B-v1.0-Q8_0-part-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88baddb859689a2a480fbdec6ee2562fd7468577101e7ecb7bb38252e6f3858b
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q8_0-part-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b6e88a5a3095bc721115626c4344c199b78307032ab8f693cfee941106556c7
|
3 |
+
size 42949672960
|
Midnight-Miqu-103B-v1.0-Q8_0-part-c
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90828d601de97dcdc76a06c47f6603f7321c4ec62552bca1f40bea223ab0755c
|
3 |
+
size 23760243456
|
README.md
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: []
|
3 |
+
library_name: transformers
|
4 |
+
tags:
|
5 |
+
- mergekit
|
6 |
+
- merge
|
7 |
+
---
|
8 |
+
|
9 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
10 |
+
<img src="https://i.imgur.com/Tn9MBg6.png" alt="MidnightMiqu" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
11 |
+
</div>
|
12 |
+
|
13 |
+
# Midnight-Miqu-103B-v1.0 - GGUF
|
14 |
+
|
15 |
+
These are GGUF quants of [sophosympatheia/Midnight-Miqu-103B-v1.0](https://huggingface.co/sophosympatheia/Midnight-Miqu-103B-v1.0)
|
16 |
+
|
17 |
+
Details about the model and the merge info can be found at the above mode page.
|
18 |
+
|
19 |
+
|
20 |
+
## GGUF File sizes
|
21 |
+
|
22 |
+
| Name | Disk Size (GB) |
|
23 |
+
|------|----------|
|
24 |
+
| Midnight-Miqu-103B-v1.0-Q2\_K.gguf | 35.31 |
|
25 |
+
| Midnight-Miqu-103B-v1.0-IQ3\_XXS.gguf | 39.14 |
|
26 |
+
| Midnight-Miqu-103B-v1.0-Q3\_K\_XS.gguf | 39.08 |
|
27 |
+
| Midnight-Miqu-103B-v1.0-Q3\_K\_S.gguf | 41.40 |
|
28 |
+
| Midnight-Miqu-103B-v1.0-Q3\_K\_M.gguf | 46.20 |
|
29 |
+
| Midnight-Miqu-103B-v1.0-Q3\_K\_L.gguf | 50.35 |
|
30 |
+
| Midnight-Miqu-103B-v1.0-Q4\_0.gguf | 54.13 |
|
31 |
+
| Midnight-Miqu-103B-v1.0-Q4\_K\_S.gguf | 54.55 |
|
32 |
+
| Midnight-Miqu-103B-v1.0-Q4\_K\_M.gguf | 57.64 |
|
33 |
+
| Midnight-Miqu-103B-v1.0-Q5\_0.gguf | 66.12 |
|
34 |
+
| Midnight-Miqu-103B-v1.0-Q5\_K\_S.gguf | 66.12 |
|
35 |
+
| Midnight-Miqu-103B-v1.0-Q5\_K\_M.gguf | 67.92 |
|
36 |
+
| Midnight-Miqu-103B-v1.0-Q6\_K.gguf | 78.85 |
|
37 |
+
| Midnight-Miqu-103B-v1.0-Q8\_0.gguf | 102.13 |
|
38 |
+
|
39 |
+
## Joining split files
|
40 |
+
|
41 |
+
**Note:** HF does not support uploading files larger than 50GB. Therefore I have uploaded some quants as split files.
|
42 |
+
|
43 |
+
For split files, please download all parts of the file.
|
44 |
+
|
45 |
+
To join the files, do the following. The below example is for the Q6_K quant.
|
46 |
+
|
47 |
+
Linux and macOS:
|
48 |
+
```
|
49 |
+
cat Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-* > Midnight-Miqu-103B-v1.0-Q6_K.gguf && rm Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-*
|
50 |
+
```
|
51 |
+
|
52 |
+
Windows command line:
|
53 |
+
```
|
54 |
+
COPY /B Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-a + Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-b Midnight-Miqu-103B-v1.0-Q6_K.gguf
|
55 |
+
del Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-a Midnight-Miqu-103B-v1.0-Q6_K.gguf-part-b
|
56 |
+
```
|
57 |
+
|
58 |
+
### Split details
|
59 |
+
|
60 |
+
For reference, below are the commands used to create the splits:
|
61 |
+
|
62 |
+
```bash
|
63 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q3_K_L.gguf Midnight-Miqu-103B-v1.0-Q3_K_L-part-
|
64 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q4_0.gguf Midnight-Miqu-103B-v1.0-Q4_0-part-
|
65 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q4_K_M.gguf Midnight-Miqu-103B-v1.0-Q4_K_M-part-
|
66 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q4_K_S.gguf Midnight-Miqu-103B-v1.0-Q4_K_S-part-
|
67 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q5_0.gguf Midnight-Miqu-103B-v1.0-Q5_0-part-
|
68 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q5_K_M.gguf Midnight-Miqu-103B-v1.0-Q5_K_M-part-
|
69 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q5_K_S.gguf Midnight-Miqu-103B-v1.0-Q5_K_S-part-
|
70 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q6_K.gguf Midnight-Miqu-103B-v1.0-Q6_K-part-
|
71 |
+
split -b 40G -a 1 Midnight-Miqu-103B-v1.0-Q8_0.gguf Midnight-Miqu-103B-v1.0-Q8_0-part-
|
72 |
+
```
|
73 |
+
|
74 |
+
## Quant Details
|
75 |
+
|
76 |
+
For reference, this is the script used for quantization.
|
77 |
+
|
78 |
+
```bash
|
79 |
+
#!/bin/bash
|
80 |
+
|
81 |
+
# Activate the conda environment
|
82 |
+
source ~/miniconda3/etc/profile.d/conda.sh
|
83 |
+
conda activate llamacpp
|
84 |
+
|
85 |
+
# Define MODEL_NAME above the loop
|
86 |
+
MODEL_NAME="Midnight-Miqu-103B-v1.0"
|
87 |
+
|
88 |
+
# Define the output directory
|
89 |
+
outputDir="${MODEL_NAME}-GGUF"
|
90 |
+
|
91 |
+
# Create the output directory if it doesn't exist
|
92 |
+
mkdir -p "${outputDir}"
|
93 |
+
|
94 |
+
# Make the F32 quant
|
95 |
+
f32file="/mnt/storage/models/GGUF/${MODEL_NAME}-F32.gguf"
|
96 |
+
if [ -f "${f32file}" ]; then
|
97 |
+
echo "Skipping f32 as ${f32file} already exists."
|
98 |
+
else
|
99 |
+
python convert.py "~/src/models/${MODEL_NAME}" --outfile "${f32file}" --outtype "f32"
|
100 |
+
fi
|
101 |
+
|
102 |
+
# Define the array of quantization strings
|
103 |
+
quants=("Q2_K" "IQ3_XXS" "Q3_K_L" "Q3_K_M" "Q3_K_S" "Q3_K_XS" "Q4_0" "Q4_K_M" "Q4_K_S" "Q5_0" "Q5_K_M" "Q5_K_S" "Q6_K" "Q8_0")
|
104 |
+
|
105 |
+
# Loop through the quants array
|
106 |
+
for quant in "${quants[@]}"; do
|
107 |
+
outfile="${outputDir}/${MODEL_NAME}-${quant}.gguf"
|
108 |
+
|
109 |
+
# Check if the outfile already exists
|
110 |
+
if [ -f "${outfile}" ]; then
|
111 |
+
echo "Skipping ${quant} as ${outfile} already exists."
|
112 |
+
else
|
113 |
+
# Run the command with the current quant string
|
114 |
+
./quantize "${f32file}" "${outfile}" "${quant}"
|
115 |
+
|
116 |
+
echo "Processed ${quant} and generated ${outfile}"
|
117 |
+
fi
|
118 |
+
done
|
119 |
+
```
|
120 |
+
|