初始化项目,由ModelHub XC社区提供模型
Model: second-state/Llama-2-13B-Chat-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
Llama-2-13b-chat-hf-Q2_K.gguf
Normal file
3
Llama-2-13b-chat-hf-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0816715dba97ecd645265f3fbdb86e4e07f50c5546a28b1e1fbf9da80ae12e6d
|
||||||
|
size 5429349184
|
||||||
3
Llama-2-13b-chat-hf-Q3_K_L.gguf
Normal file
3
Llama-2-13b-chat-hf-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:23a875c6622c43b1bda40928efbd9052e90f5e1ebec5759f445b4eada8ced1ee
|
||||||
|
size 6929560384
|
||||||
3
Llama-2-13b-chat-hf-Q3_K_M.gguf
Normal file
3
Llama-2-13b-chat-hf-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:83c027d6379debd8431d64fbf94b2756b7034e59b98cd21b9659b1cbbdcdbeb3
|
||||||
|
size 6337770304
|
||||||
3
Llama-2-13b-chat-hf-Q3_K_S.gguf
Normal file
3
Llama-2-13b-chat-hf-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:680d1688a2ec54aeaf83c66ac9e892890ba339be695e7407ac2491435704953d
|
||||||
|
size 5658981184
|
||||||
3
Llama-2-13b-chat-hf-Q4_0.gguf
Normal file
3
Llama-2-13b-chat-hf-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4a1405908d71ad9167436b6d5d41bf239957201e621ef528851882a3a72472fa
|
||||||
|
size 7365835584
|
||||||
3
Llama-2-13b-chat-hf-Q4_K_M.gguf
Normal file
3
Llama-2-13b-chat-hf-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9b3831fb445fc73ac258b7ceae3c8ef56ba7e2c555dc1bb778f6db683136a09e
|
||||||
|
size 7865957184
|
||||||
3
Llama-2-13b-chat-hf-Q4_K_S.gguf
Normal file
3
Llama-2-13b-chat-hf-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:39337b505435ab694020399911e0d88260c499e6cf86385b028c34c6f6f1a6a7
|
||||||
|
size 7414332224
|
||||||
3
Llama-2-13b-chat-hf-Q5_0.gguf
Normal file
3
Llama-2-13b-chat-hf-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8b4774182ce45e02c924ed6a63c5c54bed7688965e23e69f2e4b3a00951f04c3
|
||||||
|
size 8972286784
|
||||||
3
Llama-2-13b-chat-hf-Q5_K_M.gguf
Normal file
3
Llama-2-13b-chat-hf-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:67c08278e8ed7ae96e25e8968e77ba8fc4ae8b974a8b47a105880756f8f82f3e
|
||||||
|
size 9229925184
|
||||||
3
Llama-2-13b-chat-hf-Q5_K_S.gguf
Normal file
3
Llama-2-13b-chat-hf-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:73d796e7f61ac5be78d48e32a78cb9e027f9a4951ff5294780c0a84091eac6e9
|
||||||
|
size 8972286784
|
||||||
3
Llama-2-13b-chat-hf-Q6_K.gguf
Normal file
3
Llama-2-13b-chat-hf-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b8f699dc60156be802237b592762f371821cc39ba04c189b7a5b4e9fdaa70910
|
||||||
|
size 10679141184
|
||||||
3
Llama-2-13b-chat-hf-Q8_0.gguf
Normal file
3
Llama-2-13b-chat-hf-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:68adfad7667e333ef169e43f6be11197120a4e773dc456a6fca183defcf5c0b3
|
||||||
|
size 13831320384
|
||||||
3
Llama-2-13b-chat-hf-f16.gguf
Normal file
3
Llama-2-13b-chat-hf-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be9dff1fce83e43c46a9f80e20a0f6374a55cacdfea8a058c1bf16e9303e6920
|
||||||
|
size 26033304352
|
||||||
89
README.md
Normal file
89
README.md
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
---
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
license: llama2
|
||||||
|
tags:
|
||||||
|
- facebook
|
||||||
|
- meta
|
||||||
|
- pytorch
|
||||||
|
- llama
|
||||||
|
- llama-2
|
||||||
|
model_name: Llama 2 13B Chat
|
||||||
|
base_model: meta-llama/Llama-2-13b-chat-hf
|
||||||
|
inference: false
|
||||||
|
model_creator: Meta Llama 2
|
||||||
|
model_type: llama
|
||||||
|
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 -->
|
||||||
|
|
||||||
|
# Llama-2-13B-Chat-GGUF
|
||||||
|
|
||||||
|
## Original Model
|
||||||
|
|
||||||
|
[meta-llama/Llama-2-13b-chat-hf](https://huggingface.co/meta-llama/Llama-2-13b-chat-hf)
|
||||||
|
|
||||||
|
## Run with LlamaEdge
|
||||||
|
|
||||||
|
- LlamaEdge version: [v0.2.8](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.2.8) and above
|
||||||
|
|
||||||
|
- Prompt template
|
||||||
|
|
||||||
|
- Prompt type: `llama-2-chat`
|
||||||
|
|
||||||
|
- Prompt string
|
||||||
|
|
||||||
|
```text
|
||||||
|
<s>[INST] <<SYS>>
|
||||||
|
{{ system_prompt }}
|
||||||
|
<</SYS>>
|
||||||
|
|
||||||
|
{{ user_msg_1 }} [/INST] {{ model_answer_1 }} </s><s>[INST] {{ user_msg_2 }} [/INST]
|
||||||
|
```
|
||||||
|
|
||||||
|
- Context size: `5120`
|
||||||
|
|
||||||
|
- Run as LlamaEdge service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama-2-13b-chat-hf-Q5_K_M.gguf \
|
||||||
|
llama-api-server.wasm \
|
||||||
|
--prompt-template llama-2-chat \
|
||||||
|
--ctx-size 5120 \
|
||||||
|
--model-name llama-2-13b-chat
|
||||||
|
```
|
||||||
|
|
||||||
|
- Run as LlamaEdge command app
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama-2-13b-chat-hf-Q5_K_M.gguf \
|
||||||
|
llama-chat.wasm \
|
||||||
|
--prompt-template llama-2-chat \
|
||||||
|
--ctx-size 5120
|
||||||
|
```
|
||||||
|
|
||||||
|
## Quantized GGUF Models
|
||||||
|
|
||||||
|
| Name | Quant method | Bits | Size | Use case |
|
||||||
|
| ---- | ---- | ---- | ---- | ----- |
|
||||||
|
| [Llama-2-13b-chat-hf-Q2_K.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q2_K.gguf) | Q2_K | 2 | 5.43 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||||
|
| [Llama-2-13b-chat-hf-Q3_K_L.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q3_K_L.gguf) | Q3_K_L | 3 | 6.93 GB| small, substantial quality loss |
|
||||||
|
| [Llama-2-13b-chat-hf-Q3_K_M.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q3_K_M.gguf) | Q3_K_M | 3 | 6.34 GB| very small, high quality loss |
|
||||||
|
| [Llama-2-13b-chat-hf-Q3_K_S.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q3_K_S.gguf) | Q3_K_S | 3 | 5.66 GB| very small, high quality loss |
|
||||||
|
| [Llama-2-13b-chat-hf-Q4_0.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q4_0.gguf) | Q4_0 | 4 | 7.37 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||||
|
| [Llama-2-13b-chat-hf-Q4_K_M.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q4_K_M.gguf) | Q4_K_M | 4 | 7.87 GB| medium, balanced quality - recommended |
|
||||||
|
| [Llama-2-13b-chat-hf-Q4_K_S.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q4_K_S.gguf) | Q4_K_S | 4 | 7.41 GB| small, greater quality loss |
|
||||||
|
| [Llama-2-13b-chat-hf-Q5_0.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q5_0.gguf) | Q5_0 | 5 | 8.97 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||||
|
| [Llama-2-13b-chat-hf-Q5_K_M.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q5_K_M.gguf) | Q5_K_M | 5 | 9.23 GB| large, very low quality loss - recommended |
|
||||||
|
| [Llama-2-7b-chat-hf-Q5_K_S.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q5_K_S.gguf) | Q5_K_S | 5 | 8.97 GB| large, low quality loss - recommended |
|
||||||
|
| [Llama-2-13b-chat-hf-Q6_K.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q6_K.gguf) | Q6_K | 6 | 10.7 GB| very large, extremely low quality loss |
|
||||||
|
| [Llama-2-13b-chat-hf-Q8_0.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-Q8_0.gguf) | Q8_0 | 8 | 13.8 GB| very large, extremely low quality loss - not recommended |
|
||||||
|
| [Llama-2-13b-chat-hf-f16.gguf](https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/blob/main/Llama-2-13b-chat-hf-f16.gguf) | f16 | 16 | 26 GB| |
|
||||||
1
config.json
Normal file
1
config.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Repo model meta-llama/Llama-2-13b-chat-hf is gated. You must be authenticated to access it.
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||||
3
llama-2-13b-chat.Q5_K_M.gguf
Normal file
3
llama-2-13b-chat.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef36e090240040f97325758c1ad8e23f3801466a8eece3a9eac2d22d942f548a
|
||||||
|
size 9229924224
|
||||||
Reference in New Issue
Block a user