Xin Liu
commited on
Commit
·
a6f5c12
1
Parent(s):
6bd5261
Add models
Browse filesSigned-off-by: Xin Liu <[email protected]>
- .gitattributes +1 -0
- Octopus-v2-Q2_K.gguf +3 -0
- Octopus-v2-Q3_K_L.gguf +3 -0
- Octopus-v2-Q3_K_M.gguf +3 -0
- Octopus-v2-Q3_K_S.gguf +3 -0
- Octopus-v2-Q4_0.gguf +3 -0
- Octopus-v2-Q4_K_M.gguf +3 -0
- Octopus-v2-Q4_K_S.gguf +3 -0
- Octopus-v2-Q5_0.gguf +3 -0
- Octopus-v2-Q5_K_M.gguf +3 -0
- Octopus-v2-Q5_K_S.gguf +3 -0
- Octopus-v2-Q6_K.gguf +3 -0
- Octopus-v2-Q8_0.gguf +3 -0
- Octopus-v2-f16.gguf +3 -0
- README.md +49 -0
- config.json +28 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
Octopus-v2-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:476b2976ac703ad133e32d6aa0093b0578ccdfe6142fcb4e2ae70805b7171132
|
3 |
+
size 1157962112
|
Octopus-v2-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bfe3fbf7db18148474b27229009cabc2c9c4b85f9e0d75835e572f1983e658c
|
3 |
+
size 1465629056
|
Octopus-v2-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87dd5255af4f2ddcb84aab91355bc3b3b6dc8ad29f36c49a803199941093b517
|
3 |
+
size 1383840128
|
Octopus-v2-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8cbdecf73caddbe0d69d019081d55f2efb101cbe46f082577d245391566ed2b
|
3 |
+
size 1288018304
|
Octopus-v2-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3647fa1db4fbe3feaf3a09c86e63519320aaf11a4b3f8c1fe0650cb758ea80fc
|
3 |
+
size 1551227264
|
Octopus-v2-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f84a9bd4c9d51e41ce4fdbf26083f9388480db59a0cc965f010ae952b613788e
|
3 |
+
size 1630300544
|
Octopus-v2-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da4615a35f6ab409c086e5b47a7014b61d97231a15e34d521f768572f2c8b4ba
|
3 |
+
size 1559878016
|
Octopus-v2-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:391820dba753f015fd48afd78d214861e75356047e021e52addcff52ed68b460
|
3 |
+
size 1798953344
|
Octopus-v2-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b04c7e54cbc458e3fc9fe420e217a31eee684610b43bf70f024667021d36f85
|
3 |
+
size 1839688064
|
Octopus-v2-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d040707233e46483d0db272db6704ba95e8b864948dc7662ddc16c02123cc03c
|
3 |
+
size 1798953344
|
Octopus-v2-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5bc54dc52cbd805fd3094b11e2d2ce3be477d8a6e84c6776aa5d3583a5065a9
|
3 |
+
size 2062162304
|
Octopus-v2-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad33a16d4544c0a6e02ea57a3081993fac8819c23767d38ba9ec1a588ca5fe04
|
3 |
+
size 2669118496
|
Octopus-v2-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ecc5f1a0e8fea834cae503dd043560886cdd66ad38a669589bcc3d7a8806374
|
3 |
+
size 5018626272
|
README.md
CHANGED
@@ -1,3 +1,52 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: apache-2.0
|
5 |
+
model_name: Octopus-V2-2B
|
6 |
+
base_model: NexaAIDev/Octopus-v2
|
7 |
+
inference: false
|
8 |
+
model_creator: NexaAIDev
|
9 |
+
quantized_by: Second State Inc.
|
10 |
+
tags:
|
11 |
+
- function calling
|
12 |
+
- on-device language model
|
13 |
+
- android
|
14 |
---
|
15 |
+
|
16 |
+
<!-- header start -->
|
17 |
+
<!-- 200823 -->
|
18 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
19 |
+
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
20 |
+
</div>
|
21 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
22 |
+
<!-- header end -->
|
23 |
+
|
24 |
+
# Octopus-v2-2B-GGUF
|
25 |
+
|
26 |
+
## Original Model
|
27 |
+
|
28 |
+
[NexaAIDev/Octopus-v2](https://huggingface.co/NexaAIDev/Octopus-v2)
|
29 |
+
|
30 |
+
## Run with LlamaEdge
|
31 |
+
|
32 |
+
- LlamaEdge version: coming soon
|
33 |
+
|
34 |
+
- Context size: `2048`
|
35 |
+
|
36 |
+
## Quantized GGUF Models
|
37 |
+
|
38 |
+
| Name | Quant method | Bits | Size | Use case |
|
39 |
+
| ---- | ---- | ---- | ---- | ----- |
|
40 |
+
| [Llama-2-7b-chat-hf-Q2_K.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q2_K.gguf) | Q2_K | 2 | 2.83 GB| smallest, significant quality loss - not recommended for most purposes |
|
41 |
+
| [Llama-2-7b-chat-hf-Q3_K_L.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q3_K_L.gguf) | Q3_K_L | 3 | 3.6 GB| small, substantial quality loss |
|
42 |
+
| [Llama-2-7b-chat-hf-Q3_K_M.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q3_K_M.gguf) | Q3_K_M | 3 | 3.3 GB| very small, high quality loss |
|
43 |
+
| [Llama-2-7b-chat-hf-Q3_K_S.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q3_K_S.gguf) | Q3_K_S | 3 | 2.95 GB| very small, high quality loss |
|
44 |
+
| [Llama-2-7b-chat-hf-Q4_0.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q4_0.gguf) | Q4_0 | 4 | 3.83 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
45 |
+
| [Llama-2-7b-chat-hf-Q4_K_M.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q4_K_M.gguf) | Q4_K_M | 4 | 4.08 GB| medium, balanced quality - recommended |
|
46 |
+
| [Llama-2-7b-chat-hf-Q4_K_S.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q4_K_S.gguf) | Q4_K_S | 4 | 3.86 GB| small, greater quality loss |
|
47 |
+
| [Llama-2-7b-chat-hf-Q5_0.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q5_0.gguf) | Q5_0 | 5 | 4.65 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
48 |
+
| [Llama-2-7b-chat-hf-Q5_K_M.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q5_K_M.gguf) | Q5_K_M | 5 | 4.78 GB| large, very low quality loss - recommended |
|
49 |
+
| [Llama-2-7b-chat-hf-Q5_K_S.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q5_K_S.gguf) | Q5_K_S | 5 | 4.65 GB| large, low quality loss - recommended |
|
50 |
+
| [Llama-2-7b-chat-hf-Q6_K.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q6_K.gguf) | Q6_K | 6 | 5.53 GB| very large, extremely low quality loss |
|
51 |
+
| [Llama-2-7b-chat-hf-Q8_0.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-Q8_0.gguf) | Q8_0 | 8 | 7.16 GB| very large, extremely low quality loss - not recommended |
|
52 |
+
| [Llama-2-7b-chat-hf-f16.gguf](https://huggingface.co/second-state/Llama-2-7B-Chat-GGUF/blob/main/Llama-2-7b-chat-hf-f16.gguf) | f16 | 16 | 13.5 GB| |
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "NexaAIDev/gemma-2b-base",
|
3 |
+
"architectures": [
|
4 |
+
"GemmaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"eos_token_id": 1,
|
10 |
+
"head_dim": 256,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 16384,
|
15 |
+
"max_position_embeddings": 8192,
|
16 |
+
"model_type": "gemma",
|
17 |
+
"num_attention_heads": 8,
|
18 |
+
"num_hidden_layers": 18,
|
19 |
+
"num_key_value_heads": 1,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"rms_norm_eps": 1e-06,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.39.0.dev0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 256022
|
28 |
+
}
|