shaowenchen
commited on
Commit
•
8458795
1
Parent(s):
e6399d1
add meta files
Browse files- .gitattributes +12 -10
- README.md +56 -9
- configuration.json +10 -0
.gitattributes
CHANGED
@@ -1,34 +1,36 @@
|
|
1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
|
|
6 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
|
|
11 |
*.model filter=lfs diff=lfs merge=lfs -text
|
12 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
13 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
17 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
*.rar filter=lfs diff=lfs merge=lfs -text
|
|
|
20 |
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
|
|
22 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
*.tgz filter=lfs diff=lfs merge=lfs -text
|
|
|
24 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.
|
27 |
-
|
28 |
-
*.
|
29 |
-
*.ark* filter=lfs diff=lfs merge=lfs -text
|
30 |
-
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
|
31 |
-
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
|
32 |
-
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
4 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
*.xz 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 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -1,12 +1,59 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
---
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
```bash
|
11 |
-
|
12 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
inference: false
|
3 |
+
language:
|
4 |
+
- zh
|
5 |
+
- en
|
6 |
+
license: other
|
7 |
+
model_creator: lmsys
|
8 |
+
model_link: https://huggingface.co/lmsys/vicuna-7b-v1.5-16k
|
9 |
+
model_name: chinese-llama-2-7b-16k
|
10 |
+
model_type: vicuna
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
quantized_by: shaowenchen
|
13 |
+
tasks:
|
14 |
+
- text2text-generation
|
15 |
+
tags:
|
16 |
+
- gguf
|
17 |
+
- vicuna
|
18 |
+
- chinese
|
19 |
---
|
20 |
+
|
21 |
+
## Provided files
|
22 |
+
|
23 |
+
| Name | Quant method | Size |
|
24 |
+
| ------------------------------ | ------------ | ------ |
|
25 |
+
| vicuna-7b-v1.5-16k.Q2_K.gguf | Q2_K | 2.6 GB |
|
26 |
+
| vicuna-7b-v1.5-16k.Q3_K.gguf | Q3_K | 3.1 GB |
|
27 |
+
| vicuna-7b-v1.5-16k.Q3_K_L.gguf | Q3_K_L | 3.3 GB |
|
28 |
+
| vicuna-7b-v1.5-16k.Q3_K_S.gguf | Q3_K_S | 2.7 GB |
|
29 |
+
| vicuna-7b-v1.5-16k.Q4_0.gguf | Q4_0 | 3.6 GB |
|
30 |
+
| vicuna-7b-v1.5-16k.Q4_1.gguf | Q4_1 | 3.9 GB |
|
31 |
+
| vicuna-7b-v1.5-16k.Q4_K.gguf | Q4_K | 3.8 GB |
|
32 |
+
| vicuna-7b-v1.5-16k.Q4_K_S.gguf | Q4_K_S | 3.6 GB |
|
33 |
+
| vicuna-7b-v1.5-16k.Q5_0.gguf | Q5_0 | 4.3 GB |
|
34 |
+
| vicuna-7b-v1.5-16k.Q5_1.gguf | Q5_1 | 4.7 GB |
|
35 |
+
| vicuna-7b-v1.5-16k.Q5_K.gguf | Q5_K | 4.5 GB |
|
36 |
+
| vicuna-7b-v1.5-16k.Q5_K_S.gguf | Q5_K_S | 4.3 GB |
|
37 |
+
| vicuna-7b-v1.5-16k.Q6_K.gguf | Q6_K | 5.1 GB |
|
38 |
+
| vicuna-7b-v1.5-16k.Q8_0.gguf | Q8_0 | 6.7 GB |
|
39 |
+
| vicuna-7b-v1.5-16k.gguf | full | 13 GB |
|
40 |
+
|
41 |
+
Usage:
|
42 |
+
|
43 |
```bash
|
44 |
+
docker run --rm -it -p 8000:8000 -v /path/to/models:/models -e MODEL=/models/gguf-model-name.gguf hubimage/llama-cpp-python:latest
|
45 |
+
```
|
46 |
+
|
47 |
+
## Provided images
|
48 |
+
|
49 |
+
| Name | Quant method | Size |
|
50 |
+
| ------------------------------------- | ------------ | ------- |
|
51 |
+
| `shaowenchen/vicuna-7b-v1.5-16k-gguf` | Q2_K | 3.68 GB |
|
52 |
+
|
53 |
+
Usage:
|
54 |
+
|
55 |
+
```
|
56 |
+
docker run --rm -p 8000:8000 shaowenchen/vicuna-7b-v1.5-16k-gguf:Q2_K
|
57 |
+
```
|
58 |
+
|
59 |
+
and you can view http://localhost:8000/docs to see the swagger UI.
|
configuration.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"framework": "pytorch",
|
3 |
+
"task": "text-generation",
|
4 |
+
"model": {
|
5 |
+
"type": "vicuna"
|
6 |
+
},
|
7 |
+
"pipeline": {
|
8 |
+
"type": "vicuna-7b-v1.5-16k-text-generation-pipe"
|
9 |
+
}
|
10 |
+
}
|