初始化项目,由ModelHub XC社区提供模型
Model: second-state/Mistral-7B-Instruct-v0.1-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
|
||||
3
Mistral-7B-Instruct-v0.1-Q2_K.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:558da6444cf2113c71ab03b75f5bebe261f5bf5ecefa9118df1eef2bf84cfbd9
|
||||
size 2701416672
|
||||
3
Mistral-7B-Instruct-v0.1-Q3_K_L.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1be10c4426a7366a3ecd92dea0e30d2e1650aac8773976550ffc7fbaba3a2721
|
||||
size 3822024928
|
||||
3
Mistral-7B-Instruct-v0.1-Q3_K_M.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1234750a52edd6f461f3d16030c4cd48d8766d73e05737f0e3a0ada8feee62a6
|
||||
size 3518986464
|
||||
3
Mistral-7B-Instruct-v0.1-Q3_K_S.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dfa28f5fffbb98372f06b34e56ef39b5d1c115d1b927d3c4beda0ba5740f6f40
|
||||
size 3164567776
|
||||
3
Mistral-7B-Instruct-v0.1-Q4_0.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54d0252b30aa4b4dbbb0c596e07c60c4a83b7068071a6c7c3c2163f1c46e9a61
|
||||
size 4108916960
|
||||
3
Mistral-7B-Instruct-v0.1-Q4_K_M.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3952bb238caf9137ae87a6a0b5591211f25b7753c9ad55267b92c4ae2ea27682
|
||||
size 4368439520
|
||||
3
Mistral-7B-Instruct-v0.1-Q4_K_S.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6db6cb5c7d4f4f0639fa43bb327ce001fe4696bd5e9327c0f7dcdfdf1e86a0a9
|
||||
size 4140374240
|
||||
3
Mistral-7B-Instruct-v0.1-Q5_0.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0afee75ec1573c222bb36280c99754fb564063a490a3bd3162cd009c3410ad59
|
||||
size 4997716192
|
||||
3
Mistral-7B-Instruct-v0.1-Q5_K_M.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:287a6520a937fcdb9d1d21b1f9145ba3c8624a4c8ce5411dae5e74991a911a94
|
||||
size 5131409632
|
||||
3
Mistral-7B-Instruct-v0.1-Q5_K_S.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fe65581a8e41635b1c651856d6cbcb54d9ca434b61245ec2c6670478a793484
|
||||
size 4997716192
|
||||
3
Mistral-7B-Instruct-v0.1-Q6_K.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d9c7c6584a89cc8deee9f70ffa13429665b19f49fa5efff4269b6ba158162124
|
||||
size 5942065376
|
||||
3
Mistral-7B-Instruct-v0.1-Q8_0.gguf
Normal file
3
Mistral-7B-Instruct-v0.1-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e87deac3a32c3b0a127da5dde0540364888be0d0892303d0e600a10b8ab2ad3
|
||||
size 7695857888
|
||||
71
README.md
Normal file
71
README.md
Normal file
@@ -0,0 +1,71 @@
|
||||
---
|
||||
base_model: mistralai/Mistral-7B-Instruct-v0.1
|
||||
inference: false
|
||||
license: apache-2.0
|
||||
model_creator: Mistral AI
|
||||
model_name: Mistral 7B Instruct v0.1
|
||||
model_type: mistral
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- finetuned
|
||||
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 -->
|
||||
|
||||
# Mistral-7B-Instruct-v0.1-GGUF
|
||||
|
||||
## Original Model
|
||||
|
||||
[mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1)
|
||||
|
||||
## Run with LlamaEdge
|
||||
|
||||
- LlamaEdge version: [v0.2.8](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.2.8) and above
|
||||
|
||||
- Prompt template
|
||||
|
||||
- Prompt type: `mistral-instruct`
|
||||
|
||||
- Prompt string
|
||||
|
||||
```text
|
||||
<s>[INST] {prompt} [/INST]
|
||||
```
|
||||
|
||||
- Context size: `4096`
|
||||
|
||||
- Run as LlamaEdge service
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-7B-Instruct-v0.1-Q5_K_M.gguf llama-api-server.wasm -p mistral-instruct
|
||||
```
|
||||
|
||||
- Run as LlamaEdge command app
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-7B-Instruct-v0.1-Q5_K_M.gguf llama-chat.wasm -p mistral-instruct
|
||||
```
|
||||
|
||||
## Quantized GGUF Models
|
||||
|
||||
| Name | Quant method | Bits | Size | Use case |
|
||||
| ---- | ---- | ---- | ---- | ----- |
|
||||
| [Mistral-7B-Instruct-v0.1-Q2_K.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q2_K.gguf) | Q2_K | 2 | 2.7 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||
| [Mistral-7B-Instruct-v0.1-Q3_K_L.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_L.gguf) | Q3_K_L | 3 | 3.82 GB| small, substantial quality loss |
|
||||
| [Mistral-7B-Instruct-v0.1-Q3_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_M.gguf) | Q3_K_M | 3 | 3.52 GB| very small, high quality loss |
|
||||
| [Mistral-7B-Instruct-v0.1-Q3_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_S.gguf) | Q3_K_S | 3 | 3.16 GB| very small, high quality loss |
|
||||
| [Mistral-7B-Instruct-v0.1-Q4_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_0.gguf) | Q4_0 | 4 | 4.11 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||
| [Mistral-7B-Instruct-v0.1-Q4_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_K_M.gguf) | Q4_K_M | 4 | 4.37 GB| medium, balanced quality - recommended |
|
||||
| [Mistral-7B-Instruct-v0.1-Q4_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_K_S.gguf) | Q4_K_S | 4 | 4.14 GB| small, greater quality loss |
|
||||
| [Mistral-7B-Instruct-v0.1-Q5_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_0.gguf) | Q5_0 | 5 | 5 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||
| [Mistral-7B-Instruct-v0.1-Q5_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_K_M.gguf) | Q5_K_M | 5 | 5.13 GB| large, very low quality loss - recommended |
|
||||
| [Mistral-7B-Instruct-v0.1-Q5_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_K_S.gguf) | Q5_K_S | 5 | 5 GB| large, low quality loss - recommended |
|
||||
| [Mistral-7B-Instruct-v0.1-Q6_K.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q6_K.gguf) | Q6_K | 6 | 5.94 GB| very large, extremely low quality loss |
|
||||
| [Mistral-7B-Instruct-v0.1-Q8_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q8_0.gguf) | Q8_0 | 8 | 7.7 GB| very large, extremely low quality loss - not recommended |
|
||||
24
config.json
Normal file
24
config.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"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": "bfloat16",
|
||||
"transformers_version": "4.34.0.dev0",
|
||||
"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
mistral-7b-instruct-v0.1.Q4_K_M.gguf
Normal file
3
mistral-7b-instruct-v0.1.Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14466f9d658bf4a79f96c3f3f22759707c291cac4e62fea625e80c7d32169991
|
||||
size 4368438944
|
||||
3
mistral-7b-instruct-v0.1.Q5_K_M.gguf
Normal file
3
mistral-7b-instruct-v0.1.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4b062ec7f0f160e848a0e34c4e291b9e39b3fc60df5b201c038e7064dbbdcdc
|
||||
size 5131409056
|
||||
Reference in New Issue
Block a user