初始化项目,由ModelHub XC社区提供模型
Model: second-state/Qwen2.5-0.5B-Instruct-GGUF Source: Original Platform
This commit is contained in:
48
.gitattributes
vendored
Normal file
48
.gitattributes
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
*.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
|
||||
Qwen2.5-0.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Qwen2.5-0.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
3
Qwen2.5-0.5B-Instruct-Q2_K.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0183050b0aa6a58c451fb558d3fdfa550c3dd6ba835561805778d30bdd79e44a
|
||||
size 338607424
|
||||
3
Qwen2.5-0.5B-Instruct-Q3_K_L.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acefd39598b7d1e91c7ac2ee9ae0fa1fc3efde0045d6c6f5371163b4653ed145
|
||||
size 369358144
|
||||
3
Qwen2.5-0.5B-Instruct-Q3_K_M.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0865856b69d39ef0aa29024e6ceef97799aeba3fc72d8bdc5cd363017fc2b444
|
||||
size 355466560
|
||||
3
Qwen2.5-0.5B-Instruct-Q3_K_S.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b3c2f18a215e8b0dcdbd975d672bd9c2c052281c7767feb0f6cc1b389757788
|
||||
size 338263360
|
||||
3
Qwen2.5-0.5B-Instruct-Q4_0.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a8c81c78cc8ce6e7bf2bd34b87dd86ab9e929a1bb7ce907c41ee5014fdb4451
|
||||
size 352154944
|
||||
3
Qwen2.5-0.5B-Instruct-Q4_K_M.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:750f8f144f0504208add7897f01c7d2350a7363d8855eab59e137a1041e90394
|
||||
size 397807936
|
||||
3
Qwen2.5-0.5B-Instruct-Q4_K_S.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:62c51f95d2a1dc8a196faf41bc0a1952b1a49e92e9476afe8b131086954faf1b
|
||||
size 385471808
|
||||
3
Qwen2.5-0.5B-Instruct-Q5_0.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4367efbfe662893372a747982d7fdfcf03907780efbc56ce85405fdd69a7236
|
||||
size 396883264
|
||||
3
Qwen2.5-0.5B-Instruct-Q5_K_M.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3450d966e73cd5ae9c92f493ed56fb60b5d6dbed0f945652e6cc6ce54ea143d3
|
||||
size 420086080
|
||||
3
Qwen2.5-0.5B-Instruct-Q5_K_S.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2036737cc5df9574995375559c760d4e731885fe7fa8f4d12670a6aadd33e929
|
||||
size 412710208
|
||||
3
Qwen2.5-0.5B-Instruct-Q6_K.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9c7b83b92ade06829df7abc0d85161240f51b008da377482ba411307602ca0e
|
||||
size 505736512
|
||||
3
Qwen2.5-0.5B-Instruct-Q8_0.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:673eb9fba744c9686488be1ddbb0fbe07b9cf18373bc87c4b1fcab063a7d2aae
|
||||
size 531068224
|
||||
3
Qwen2.5-0.5B-Instruct-f16.gguf
Normal file
3
Qwen2.5-0.5B-Instruct-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1ad9d1174ce6ab47b584d522634c47e411b75bffdffd9a4e106e21e882392e5
|
||||
size 994156864
|
||||
86
README.md
Normal file
86
README.md
Normal file
@@ -0,0 +1,86 @@
|
||||
---
|
||||
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
||||
license: apache-2.0
|
||||
license_link: https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct/blob/main/LICENSE
|
||||
model_creator: Qwen
|
||||
model_name: Qwen2.5-0.5B-Instruct
|
||||
quantized_by: Second State Inc.
|
||||
language:
|
||||
- en
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- chat
|
||||
---
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
# Qwen2.5-0.5B-Instruct-GGUF
|
||||
|
||||
## Original Model
|
||||
|
||||
[Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct)
|
||||
|
||||
## Run with LlamaEdge
|
||||
|
||||
- LlamaEdge version: [v0.14.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.3)
|
||||
|
||||
- Prompt template
|
||||
|
||||
- Prompt type: `chatml`
|
||||
|
||||
- Prompt string
|
||||
|
||||
```text
|
||||
<|im_start|>system
|
||||
{system_message}<|im_end|>
|
||||
<|im_start|>user
|
||||
{prompt}<|im_end|>
|
||||
<|im_start|>assistant
|
||||
```
|
||||
|
||||
- Context size: `32000`
|
||||
|
||||
- Run as LlamaEdge service
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen2.5-0.5B-Instruct-Q5_K_M.gguf \
|
||||
llama-api-server.wasm \
|
||||
--model-name Qwen2.5-0.5B-Instruct \
|
||||
--prompt-template chatml \
|
||||
--ctx-size 32000
|
||||
```
|
||||
|
||||
- Run as LlamaEdge command app
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen2.5-0.5B-Instruct-Q5_K_M.gguf \
|
||||
llama-chat.wasm \
|
||||
--prompt-template chatml \
|
||||
--ctx-size 32000
|
||||
```
|
||||
|
||||
## Quantized GGUF Models
|
||||
|
||||
| Name | Quant method | Bits | Size | Use case |
|
||||
| ---- | ---- | ---- | ---- | ----- |
|
||||
| [Qwen2.5-0.5B-Instruct-Q2_K.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q2_K.gguf) | Q2_K | 2 | 339 MB| smallest, significant quality loss - not recommended for most purposes |
|
||||
| [Qwen2.5-0.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 369 MB| small, substantial quality loss |
|
||||
| [Qwen2.5-0.5B-Instruct-Q3_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 355 MB| very small, high quality loss |
|
||||
| [Qwen2.5-0.5B-Instruct-Q3_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 338 MB| very small, high quality loss |
|
||||
| [Qwen2.5-0.5B-Instruct-Q4_0.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q4_0.gguf) | Q4_0 | 4 | 352 MB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||
| [Qwen2.5-0.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 398 MB| medium, balanced quality - recommended |
|
||||
| [Qwen2.5-0.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4 | 385 MB| small, greater quality loss |
|
||||
| [Qwen2.5-0.5B-Instruct-Q5_0.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q5_0.gguf) | Q5_0 | 5 | 397 MB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||
| [Qwen2.5-0.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 420 MB| large, very low quality loss - recommended |
|
||||
| [Qwen2.5-0.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 413 MB| large, low quality loss - recommended |
|
||||
| [Qwen2.5-0.5B-Instruct-Q6_K.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q6_K.gguf) | Q6_K | 6 | 506 MB| very large, extremely low quality loss |
|
||||
| [Qwen2.5-0.5B-Instruct-Q8_0.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-Q8_0.gguf) | Q8_0 | 8 | 531 MB| very large, extremely low quality loss - not recommended |
|
||||
| [Qwen2.5-0.5B-Instruct-f16.gguf](https://huggingface.co/second-state/Qwen2.5-0.5B-Instruct-GGUF/blob/main/Qwen2.5-0.5B-Instruct-f16.gguf) | f16 | 16 | 994 MB| |
|
||||
|
||||
*Quantized with llama.cpp b4466*
|
||||
27
config.json
Normal file
27
config.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Qwen2ForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151645,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 896,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 4864,
|
||||
"max_position_embeddings": 32768,
|
||||
"max_window_layers": 21,
|
||||
"model_type": "qwen2",
|
||||
"num_attention_heads": 14,
|
||||
"num_hidden_layers": 24,
|
||||
"num_key_value_heads": 2,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": 32768,
|
||||
"tie_word_embeddings": true,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.43.1",
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 151936
|
||||
}
|
||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
||||
{"framework":"other","task":"text-generation"}
|
||||
Reference in New Issue
Block a user