初始化项目,由ModelHub XC社区提供模型
Model: second-state/Neural-Chat-7B-v3-3-GGUF Source: Original Platform
This commit is contained in:
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
75
README.md
Normal file
75
README.md
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
---
|
||||||
|
base_model: Intel/neural-chat-7b-v3-3
|
||||||
|
inference: false
|
||||||
|
license: apache-2.0
|
||||||
|
model_creator: Intel
|
||||||
|
model_name: Neural Chat 7B V3-3
|
||||||
|
model_type: mistral
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
quantized_by: Second State Inc.
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- header start -->
|
||||||
|
<!-- 200823 -->
|
||||||
|
<div style="width: auto; margin-left: auto; margin-right: auto">
|
||||||
|
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
||||||
|
</div>
|
||||||
|
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
||||||
|
<!-- header end -->
|
||||||
|
|
||||||
|
# Neural-Chat-7B-v3-3-GGUF
|
||||||
|
|
||||||
|
## Original Model
|
||||||
|
|
||||||
|
[Intel/neural-chat-7b-v3-3](https://huggingface.co/Intel/neural-chat-7b-v3-3)
|
||||||
|
|
||||||
|
## Run with LlamaEdge
|
||||||
|
|
||||||
|
- LlamaEdge version: [v0.2.8](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.2.8) and above
|
||||||
|
|
||||||
|
- Prompt template
|
||||||
|
|
||||||
|
- Prompt type: `intel-neural`
|
||||||
|
|
||||||
|
- Prompt string
|
||||||
|
|
||||||
|
```text
|
||||||
|
\### System:
|
||||||
|
{system}
|
||||||
|
\### User:
|
||||||
|
{usr}
|
||||||
|
\### Assistant:
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that the `\` character is used to escape the `###` in the prompt string. Remove it in the practical use.
|
||||||
|
|
||||||
|
- Context size: `4096`
|
||||||
|
|
||||||
|
- Run as LlamaEdge service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:neural-chat-7b-v3-3-Q5_K_M.gguf llama-api-server.wasm -p intel-neural
|
||||||
|
```
|
||||||
|
|
||||||
|
- Run as LlamaEdge command app
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:neural-chat-7b-v3-3-Q5_K_M.gguf llama-chat.wasm -p intel-neural
|
||||||
|
```
|
||||||
|
|
||||||
|
## Quantized GGUF Models
|
||||||
|
|
||||||
|
| Name | Quant method | Bits | Size | Use case |
|
||||||
|
| ---- | ---- | ---- | ---- | ----- |
|
||||||
|
| [neural-chat-7b-v3-3-Q2_K.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q2_K.gguf) | Q2_K | 2 | 3.08 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||||
|
| [neural-chat-7b-v3-3-Q3_K_L.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q3_K_L.gguf) | Q3_K_L | 3 | 3.82 GB| small, substantial quality loss |
|
||||||
|
| [neural-chat-7b-v3-3-Q3_K_M.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q3_K_M.gguf) | Q3_K_M | 3 | 3.52 GB| very small, high quality loss |
|
||||||
|
| [neural-chat-7b-v3-3-Q3_K_S.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q3_K_S.gguf) | Q3_K_S | 3 | 3.16 GB| very small, high quality loss |
|
||||||
|
| [neural-chat-7b-v3-3-Q4_0.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q4_0.gguf) | Q4_0 | 4 | 4.11 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||||
|
| [neural-chat-7b-v3-3-Q4_K_M.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q4_K_M.gguf) | Q4_K_M | 4 | 4.37 GB| medium, balanced quality - recommended |
|
||||||
|
| [neural-chat-7b-v3-3-Q4_K_S.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q4_K_S.gguf) | Q4_K_S | 4 | 4.14 GB| small, greater quality loss |
|
||||||
|
| [neural-chat-7b-v3-3-Q5_0.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q5_0.gguf) | Q5_0 | 5 | 5.00 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||||
|
| [neural-chat-7b-v3-3-Q5_K_M.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q5_K_M.gguf) | Q5_K_M | 5 | 5.13 GB| large, very low quality loss - recommended |
|
||||||
|
| [neural-chat-7b-v3-3-Q5_K_S.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q5_K_S.gguf) | Q5_K_S | 5 | 5.00 GB| large, low quality loss - recommended |
|
||||||
|
| [neural-chat-7b-v3-3-Q6_K.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q6_K.gguf) | Q6_K | 6 | 5.94 GB| very large, extremely low quality loss |
|
||||||
|
| [neural-chat-7b-v3-3-Q8_0.gguf](https://huggingface.co/second-state/Neural-Chat-7B-v3-3-GGUF/blob/main/neural-chat-7b-v3-3-Q8_0.gguf) | Q8_0 | 8 | 7.70 GB| very large, extremely low quality loss - not recommended |
|
||||||
25
config.json
Normal file
25
config.json
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"_name_or_path": "./neural-chat-7b-v3-9",
|
||||||
|
"architectures": [
|
||||||
|
"MistralForCausalLM"
|
||||||
|
],
|
||||||
|
"bos_token_id": 1,
|
||||||
|
"eos_token_id": 2,
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 4096,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 14336,
|
||||||
|
"max_position_embeddings": 32768,
|
||||||
|
"model_type": "mistral",
|
||||||
|
"num_attention_heads": 32,
|
||||||
|
"num_hidden_layers": 32,
|
||||||
|
"num_key_value_heads": 8,
|
||||||
|
"rms_norm_eps": 1e-05,
|
||||||
|
"rope_theta": 10000.0,
|
||||||
|
"sliding_window": 4096,
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"torch_dtype": "float16",
|
||||||
|
"transformers_version": "4.34.0",
|
||||||
|
"use_cache": true,
|
||||||
|
"vocab_size": 32000
|
||||||
|
}
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||||
3
neural-chat-7b-v3-3-Q2_K.gguf
Normal file
3
neural-chat-7b-v3-3-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:afde5451600c7bdc945d82849dc6548de9b127e5a8a37d56e648ba07257dd19e
|
||||||
|
size 3083097728
|
||||||
3
neural-chat-7b-v3-3-Q3_K_L.gguf
Normal file
3
neural-chat-7b-v3-3-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:21fd76f2767adf0c3cbcd3aa134c7a0749c3f5436dc49eadf0862b2b02aeb80c
|
||||||
|
size 3822024320
|
||||||
3
neural-chat-7b-v3-3-Q3_K_M.gguf
Normal file
3
neural-chat-7b-v3-3-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a2ec2ed98c94dff4d6ed25d12291708c8e00548047d2093cf953cb4a08e47df7
|
||||||
|
size 3518985856
|
||||||
3
neural-chat-7b-v3-3-Q3_K_S.gguf
Normal file
3
neural-chat-7b-v3-3-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:df6ac63956bf0a1444613905040b15f2cfc7f994d560ca09acce22df13a5c3f5
|
||||||
|
size 3164567168
|
||||||
3
neural-chat-7b-v3-3-Q4_0.gguf
Normal file
3
neural-chat-7b-v3-3-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f60d1585a0142d84362a0b5634dfd2905b32fe27c5bd9e4093837ccd8b34b6b8
|
||||||
|
size 4108916352
|
||||||
3
neural-chat-7b-v3-3-Q4_K_M.gguf
Normal file
3
neural-chat-7b-v3-3-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:842915499a32e9f127af70e5a77d11148808c7b685d527059eaa1b29733c7003
|
||||||
|
size 4368438912
|
||||||
3
neural-chat-7b-v3-3-Q4_K_S.gguf
Normal file
3
neural-chat-7b-v3-3-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e0dd86fdd8ad8a6529ab43cbdf42d8925367046bf2e32731d4e6f66ff05ebcab
|
||||||
|
size 4140373632
|
||||||
3
neural-chat-7b-v3-3-Q5_0.gguf
Normal file
3
neural-chat-7b-v3-3-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53e87af91a20956c1fe622d970f1feabad00f1836e9300ab3a6708f981455aa8
|
||||||
|
size 4997715584
|
||||||
3
neural-chat-7b-v3-3-Q5_K_M.gguf
Normal file
3
neural-chat-7b-v3-3-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:89685b06e8214329359bd36f69c8799b232077b3b86bf337435bcce3cb21e292
|
||||||
|
size 5131409024
|
||||||
3
neural-chat-7b-v3-3-Q5_K_S.gguf
Normal file
3
neural-chat-7b-v3-3-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9e37b14b5365f1eff691c83360f1a85a4e3a8c3cef47798d6574166a3dcbaae9
|
||||||
|
size 4997715584
|
||||||
3
neural-chat-7b-v3-3-Q6_K.gguf
Normal file
3
neural-chat-7b-v3-3-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c4743d3f496fd7748c5348a54619b03b1e188923ecab23bfbed5d30d56883d9d
|
||||||
|
size 5942064768
|
||||||
3
neural-chat-7b-v3-3-Q8_0.gguf
Normal file
3
neural-chat-7b-v3-3-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:645c0e8c0ee0454984ee9de58b6f6341b69270c017102144d7e4dc10b7ee5952
|
||||||
|
size 7695857280
|
||||||
Reference in New Issue
Block a user