初始化项目,由ModelHub XC社区提供模型
Model: second-state/xLAM-7b-fc-r-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
|
||||||
|
xLAM-7b-fc-r-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
xLAM-7b-fc-r-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
86
README.md
Normal file
86
README.md
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
---
|
||||||
|
license: cc-by-nc-4.0
|
||||||
|
model_name: xLAM-7b-fc-r
|
||||||
|
base_model: Salesforce/xLAM-7b-fc-r
|
||||||
|
inference: false
|
||||||
|
model_creator: Salesforce
|
||||||
|
quantized_by: Second State Inc.
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
tags:
|
||||||
|
- function-calling
|
||||||
|
- LLM Agent
|
||||||
|
- tool-use
|
||||||
|
- deepseek
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- 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 -->
|
||||||
|
|
||||||
|
# xLAM-7b-fc-r-GGUF
|
||||||
|
|
||||||
|
## Original Model
|
||||||
|
|
||||||
|
[Salesforce/xLAM-7b-fc-r](https://huggingface.co/Salesforce/xLAM-7b-fc-r)
|
||||||
|
|
||||||
|
## Run with LlamaEdge
|
||||||
|
|
||||||
|
- LlamaEdge version: coming soon
|
||||||
|
|
||||||
|
<!-- - LlamaEdge version: [v0.14.0](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.0) and above
|
||||||
|
|
||||||
|
- Prompt template
|
||||||
|
|
||||||
|
- Prompt type: `chatml`
|
||||||
|
|
||||||
|
- Prompt string
|
||||||
|
|
||||||
|
```text
|
||||||
|
<|im_start|>system
|
||||||
|
{system_message}<|im_end|>
|
||||||
|
<|im_start|>user
|
||||||
|
{prompt}<|im_end|>
|
||||||
|
<|im_start|>assistant
|
||||||
|
```
|
||||||
|
|
||||||
|
- Reverse prompt: `<|im_end|>`
|
||||||
|
|
||||||
|
- Run as LlamaEdge service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:xLAM-7b-fc-r-Q5_K_M.gguf llama-api-server.wasm -p chatml -r '<|im_end|>'
|
||||||
|
``` -->
|
||||||
|
|
||||||
|
- Context size: `4096`
|
||||||
|
|
||||||
|
<!-- - Run as LlamaEdge command app
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:xLAM-7b-fc-r-Q5_K_M.gguf llama-chat.wasm -p chatml -r '<|im_end|>'
|
||||||
|
``` -->
|
||||||
|
|
||||||
|
## Quantized GGUF Models
|
||||||
|
|
||||||
|
| Name | Quant method | Bits | Size | Use case |
|
||||||
|
| ---- | ---- | ---- | ---- | ----- |
|
||||||
|
| [xLAM-7b-fc-r-Q2_K.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q2_K.gguf) | Q2_K | 2 | 2.72 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||||
|
| [xLAM-7b-fc-r-Q3_K_L.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q3_K_L.gguf) | Q3_K_L | 3 | 3.75 GB| small, substantial quality loss |
|
||||||
|
| [xLAM-7b-fc-r-Q3_K_M.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q3_K_M.gguf) | Q3_K_M | 3 | 3.46 GB| very small, high quality loss |
|
||||||
|
| [xLAM-7b-fc-r-Q3_K_S.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q3_K_S.gguf) | Q3_K_S | 3 | 3.14 GB| very small, high quality loss |
|
||||||
|
| [xLAM-7b-fc-r-Q4_0.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q4_0.gguf) | Q4_0 | 4 | 4.00 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||||
|
| [xLAM-7b-fc-r-Q4_K_M.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q4_K_M.gguf) | Q4_K_M | 4 | 4.22 GB| medium, balanced quality - recommended |
|
||||||
|
| [xLAM-7b-fc-r-Q4_K_S.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q4_K_S.gguf) | Q4_K_S | 4 | 4.03 GB| small, greater quality loss |
|
||||||
|
| [xLAM-7b-fc-r-Q5_0.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q5_0.gguf) | Q5_0 | 5 | 4.81 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||||
|
| [xLAM-7b-fc-r-Q5_K_M.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q5_K_M.gguf) | Q5_K_M | 5 | 4.93 GB| large, very low quality loss - recommended |
|
||||||
|
| [xLAM-7b-fc-r-Q5_K_S.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q5_K_S.gguf) | Q5_K_S | 5 | 4.81 GB| large, low quality loss - recommended |
|
||||||
|
| [xLAM-7b-fc-r-Q6_K.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q6_K.gguf) | Q6_K | 6 | 5.67 GB| very large, extremely low quality loss |
|
||||||
|
| [xLAM-7b-fc-r-Q8_0.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-Q8_0.gguf) | Q8_0 | 8 | 7.35 GB| very large, extremely low quality loss - not recommended |
|
||||||
|
| [xLAM-7b-fc-r-f16.gguf](https://huggingface.co/second-state/xLAM-7b-fc-r-GGUF/blob/main/xLAM-7b-fc-r-f16.gguf) | f16 | 16 | 13.8 GB| |
|
||||||
|
|
||||||
|
*Quantized with llama.cpp b3613.*
|
||||||
28
config.json
Normal file
28
config.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"architectures": [
|
||||||
|
"LlamaForCausalLM"
|
||||||
|
],
|
||||||
|
"attention_bias": false,
|
||||||
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 100000,
|
||||||
|
"eos_token_id": 100015,
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 4096,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 11008,
|
||||||
|
"max_position_embeddings": 4096,
|
||||||
|
"mlp_bias": false,
|
||||||
|
"model_type": "llama",
|
||||||
|
"num_attention_heads": 32,
|
||||||
|
"num_hidden_layers": 30,
|
||||||
|
"num_key_value_heads": 32,
|
||||||
|
"pretraining_tp": 1,
|
||||||
|
"rms_norm_eps": 1e-06,
|
||||||
|
"rope_scaling": null,
|
||||||
|
"rope_theta": 10000.0,
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"torch_dtype": "bfloat16",
|
||||||
|
"transformers_version": "4.41.0",
|
||||||
|
"use_cache": false,
|
||||||
|
"vocab_size": 102400
|
||||||
|
}
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||||
3
xLAM-7b-fc-r-Q2_K.gguf
Normal file
3
xLAM-7b-fc-r-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6de824d1ebbd1e66803347bc021cee29d7a58ad6913a7de4e44cda9733232a92
|
||||||
|
size 2718423168
|
||||||
3
xLAM-7b-fc-r-Q3_K_L.gguf
Normal file
3
xLAM-7b-fc-r-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:14cb64698526f30e43f546ffd4b5a0954a3d12fcd6fa69fcfe0c3da17f6215c9
|
||||||
|
size 3746273408
|
||||||
3
xLAM-7b-fc-r-Q3_K_M.gguf
Normal file
3
xLAM-7b-fc-r-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05f921251c05b677db2418026c471863804d51496841d1c971f314706a185e7f
|
||||||
|
size 3461191808
|
||||||
3
xLAM-7b-fc-r-Q3_K_S.gguf
Normal file
3
xLAM-7b-fc-r-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:da7fe902804dc292ce6d5026a65cdae0fecc594192a17615d4562e1f1b21d75f
|
||||||
|
size 3138017408
|
||||||
3
xLAM-7b-fc-r-Q4_0.gguf
Normal file
3
xLAM-7b-fc-r-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e5921c9da1d982b2a21bc72901a71d516a20a3454ffeeef35ebd9350a71cfc6
|
||||||
|
size 4000061568
|
||||||
3
xLAM-7b-fc-r-Q4_K_M.gguf
Normal file
3
xLAM-7b-fc-r-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a3f773f4f6bbf110872b02feb57014b85e887ab38fac99ca173c7f569dd4f94
|
||||||
|
size 4223359104
|
||||||
3
xLAM-7b-fc-r-Q4_K_S.gguf
Normal file
3
xLAM-7b-fc-r-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cac0fe14a518fbfd4c477ddb40a2057552168bdd1c4684a479e7b71a84f9474d
|
||||||
|
size 4025358464
|
||||||
3
xLAM-7b-fc-r-Q5_0.gguf
Normal file
3
xLAM-7b-fc-r-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:60a65be067efb2673b6a7993b2dbb01a5e6e6745959c2e83210474299d2a1ff8
|
||||||
|
size 4811397248
|
||||||
3
xLAM-7b-fc-r-Q5_K_M.gguf
Normal file
3
xLAM-7b-fc-r-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a73da7be39b3c1f0d0d62de98be6cdd598809d136d0e57625784f739901cbac1
|
||||||
|
size 4926429312
|
||||||
3
xLAM-7b-fc-r-Q5_K_S.gguf
Normal file
3
xLAM-7b-fc-r-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d88e6afe0a545a9d7885c29215c38741a8598b5b43ae02749bda3a05673afb56
|
||||||
|
size 4811397248
|
||||||
3
xLAM-7b-fc-r-Q6_K.gguf
Normal file
3
xLAM-7b-fc-r-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7499add75a3ed88f2e7e69554a886c43897a9ae22f9fdca67a88c93ac3d19eed
|
||||||
|
size 5673441408
|
||||||
3
xLAM-7b-fc-r-Q8_0.gguf
Normal file
3
xLAM-7b-fc-r-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ffa19728cd20177a5a0fb7e81a334061968da295da3d1af69a8f3f0ee2919e5b
|
||||||
|
size 7346985088
|
||||||
3
xLAM-7b-fc-r-f16.gguf
Normal file
3
xLAM-7b-fc-r-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:23e9889042c465f76a1bf7cd0e56373bf0d07566a158e631a5d358ab056a57d7
|
||||||
|
size 13825218688
|
||||||
Reference in New Issue
Block a user