初始化项目,由ModelHub XC社区提供模型
Model: second-state/gte-Qwen2-7B-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
|
||||
gte-Qwen2-7B-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gte-Qwen2-7B-instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
61
README.md
Normal file
61
README.md
Normal file
@@ -0,0 +1,61 @@
|
||||
---
|
||||
base_model: Alibaba-NLP/gte-Qwen2-7B-instruct
|
||||
license: apache-2.0
|
||||
model_creator: Alibaba-NLP
|
||||
model_name: gte-Qwen2-7B-instruct
|
||||
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 -->
|
||||
|
||||
# gte-Qwen2-7B-instruct-GGUF
|
||||
|
||||
## Original Model
|
||||
|
||||
[Alibaba-NLP/gte-Qwen2-7B-instruct](https://huggingface.co/Alibaba-NLP/gte-Qwen2-7B-instruct)
|
||||
|
||||
## Run with LlamaEdge
|
||||
|
||||
- LlamaEdge version: [v0.16.8](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.16.8)
|
||||
|
||||
- Prompt template
|
||||
|
||||
- Prompt type: `embedding`
|
||||
|
||||
- Context size: `128000`
|
||||
|
||||
- Run as LlamaEdge service
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:gte-Qwen2-7B-instruct-Q5_K_M.gguf \
|
||||
llama-api-server.wasm \
|
||||
--model-name gte-Qwen2-7B-instruct \
|
||||
--prompt-template embedding \
|
||||
--ctx-size 128000
|
||||
```
|
||||
|
||||
## Quantized GGUF Models
|
||||
|
||||
| Name | Quant method | Bits | Size | Use case |
|
||||
| ---- | ---- | ---- | ---- | ----- |
|
||||
| [gte-Qwen2-7B-instruct-Q2_K.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q2_K.gguf) | Q2_K | 2 | 3.01 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||
| [gte-Qwen2-7B-instruct-Q3_K_L.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 4.09 GB| small, substantial quality loss |
|
||||
| [gte-Qwen2-7B-instruct-Q3_K_M.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 3.81 GB| very small, high quality loss |
|
||||
| [gte-Qwen2-7B-instruct-Q3_K_S.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 3.49 GB| very small, high quality loss |
|
||||
| [gte-Qwen2-7B-instruct-Q4_0.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q4_0.gguf) | Q4_0 | 4 | 4.43 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||
| [gte-Qwen2-7B-instruct-Q4_K_M.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 4.68 GB| medium, balanced quality - recommended |
|
||||
| [gte-Qwen2-7B-instruct-Q4_K_S.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q4_K_S.gguf) | Q4_K_S | 4 | 4.46 GB| small, greater quality loss |
|
||||
| [gte-Qwen2-7B-instruct-Q5_0.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q5_0.gguf) | Q5_0 | 5 | 5.31 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||
| [gte-Qwen2-7B-instruct-Q5_K_M.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 5.44 GB| large, very low quality loss - recommended |
|
||||
| [gte-Qwen2-7B-instruct-Q5_K_S.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 5.31 GB| large, low quality loss - recommended |
|
||||
| [gte-Qwen2-7B-instruct-Q6_K.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q6_K.gguf) | Q6_K | 6 | 6.25 GB| very large, extremely low quality loss |
|
||||
| [gte-Qwen2-7B-instruct-Q8_0.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-Q8_0.gguf) | Q8_0 | 8 | 8.10 GB| very large, extremely low quality loss - not recommended |
|
||||
| [gte-Qwen2-7B-instruct-f16.gguf](https://huggingface.co/second-state/gte-Qwen2-7B-instruct-GGUF/blob/main/gte-Qwen2-7B-instruct-f16.gguf) | f16 | 16 | 15.2 GB| |
|
||||
|
||||
*Quantized with llama.cpp b4754*
|
||||
33
config.json
Normal file
33
config.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Qwen2ForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"auto_map": {
|
||||
"AutoModel": "modeling_qwen.Qwen2Model",
|
||||
"AutoModelForCausalLM": "modeling_qwen.Qwen2ForCausalLM",
|
||||
"AutoModelForSequenceClassification": "modeling_qwen.Qwen2ForSequenceClassification"
|
||||
},
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151643,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 3584,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 18944,
|
||||
"max_position_embeddings": 131072,
|
||||
"max_window_layers": 28,
|
||||
"model_type": "qwen2",
|
||||
"num_attention_heads": 28,
|
||||
"num_hidden_layers": 28,
|
||||
"num_key_value_heads": 4,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": 131072,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.41.2",
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"is_causal": false,
|
||||
"vocab_size": 151646
|
||||
}
|
||||
3
gte-Qwen2-7B-instruct-Q2_K.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f64c794dae6dc8cd51868a6335f5a063596259c37084a31635a982af4d6a798c
|
||||
size 3014207776
|
||||
3
gte-Qwen2-7B-instruct-Q3_K_L.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ccbf298ed434f2c6d66c617f6fc0fa1fad81f5e454f0135357091d32bb9abeb1
|
||||
size 4086574784
|
||||
3
gte-Qwen2-7B-instruct-Q3_K_M.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6bb007f673fd04d83451aa2ea185beeed75b6c05fa821c3a38989979d5a98bc3
|
||||
size 3806506688
|
||||
3
gte-Qwen2-7B-instruct-Q3_K_S.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:03d030eef330229af6ba93df724e9fdc479338b4938e304e133aa6a6d09f47b3
|
||||
size 3490483904
|
||||
3
gte-Qwen2-7B-instruct-Q4_0.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0cd1199592828a4ead8f9dc9f47c8ee119d9c0e6a1177d321bc725365b5239c
|
||||
size 4429307264
|
||||
3
gte-Qwen2-7B-instruct-Q4_K_M.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:825681b2ef37fc9ee3712c1114e53eb01651c3d7b029b1f6d07c05618ec5c1e5
|
||||
size 4680990080
|
||||
3
gte-Qwen2-7B-instruct-Q4_K_S.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7480817bf084342839551dcf02d4a6776d069ac1603daa38dc285c3be835b43
|
||||
size 4455685504
|
||||
3
gte-Qwen2-7B-instruct-Q5_0.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbbfbf4843d66528a568e3a66b6647e203dc8032e1ef195a3a63b82786dc955e
|
||||
size 5312905728
|
||||
3
gte-Qwen2-7B-instruct-Q5_K_M.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:80f7efdcc550d36300f604f51e29421ba627721dd684b0a87c72deb1916cb6e2
|
||||
size 5442560512
|
||||
3
gte-Qwen2-7B-instruct-Q5_K_S.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:266ae273a956e5adacb670d8495e382875313cea764cd930aeca6f100fe849d4
|
||||
size 5312905728
|
||||
3
gte-Qwen2-7B-instruct-Q6_K.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8dceab0b6e396090b2aa17970f23e37948753061745510f4beaa050938af9d5a
|
||||
size 6251729120
|
||||
3
gte-Qwen2-7B-instruct-Q8_0.gguf
Normal file
3
gte-Qwen2-7B-instruct-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:112a2070029cb4256eec5b18941aa4d7ad87652f8b8714f879b39e55503e1b21
|
||||
size 8095329824
|
||||
3
gte-Qwen2-7B-instruct-f16.gguf
Normal file
3
gte-Qwen2-7B-instruct-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ff85ee22817d2aba57078c2da3b4591b271d9aabb9919b2219f8329521ddc0f
|
||||
size 15231848864
|
||||
Reference in New Issue
Block a user