apepkuss79 commited on
Commit
226b949
1 Parent(s): bb0bf27

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +119 -89
README.md CHANGED
@@ -1,89 +1,119 @@
1
- ---
2
- base_model: meetkai/functionary-medium-v3.1
3
- license: mit
4
- model_creator: meetkai
5
- model_name: functionary-medium-v3.1
6
- quantized_by: Second State Inc.
7
- ---
8
-
9
- <!-- header start -->
10
- <!-- 200823 -->
11
- <div style="width: auto; margin-left: auto; margin-right: auto">
12
- <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
13
- </div>
14
- <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
15
- <!-- header end -->
16
-
17
- # functionary-medium-v3.1-GGUF
18
-
19
- ## Original Model
20
-
21
- [meetkai/functionary-medium-v3.1](https://huggingface.co/meetkai/functionary-medium-v3.1)
22
-
23
- ## Run with LlamaEdge
24
-
25
- - LlamaEdge version: coming soon
26
-
27
- <!-- - LlamaEdge version: [v0.14.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.3)
28
-
29
- - Prompt template
30
-
31
- - Prompt type: `chatml`
32
-
33
- - Prompt string
34
-
35
- ```text
36
- <|im_start|>system
37
- {system_message}<|im_end|>
38
- <|im_start|>user
39
- {prompt}<|im_end|>
40
- <|im_start|>assistant
41
- ``` -->
42
-
43
- - Context size: `128000`
44
-
45
- <!-- - Run as LlamaEdge service
46
-
47
- ```bash
48
- wasmedge --dir .:. --nn-preload default:GGML:AUTO:functionary-medium-v3.1-Q5_K_M.gguf \
49
- llama-api-server.wasm \
50
- --model-name functionary-medium-v3.1 \
51
- --prompt-template chatml \
52
- --ctx-size 128000
53
- ```
54
-
55
- - Run as LlamaEdge command app
56
-
57
- ```bash
58
- wasmedge --dir .:. --nn-preload default:GGML:AUTO:functionary-medium-v3.1-Q5_K_M.gguf \
59
- llama-chat.wasm \
60
- --prompt-template chatml \
61
- --ctx-size 128000
62
- ``` -->
63
-
64
- ## Quantized GGUF Models
65
-
66
- | Name | Quant method | Bits | Size | Use case |
67
- | ---- | ---- | ---- | ---- | ----- |
68
- | [functionary-medium-v3.1-Q2_K.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q2_K.gguf) | Q2_K | 2 | 26.4 GB| smallest, significant quality loss - not recommended for most purposes |
69
- | [functionary-medium-v3.1-Q3_K_L.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_L.gguf) | Q3_K_L | 3 | 37.1 GB| small, substantial quality loss |
70
- | [functionary-medium-v3.1-Q3_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_M.gguf) | Q3_K_M | 3 | 34.3 GB| very small, high quality loss |
71
- | [functionary-medium-v3.1-Q3_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_S.gguf) | Q3_K_S | 3 | 30.9 GB| very small, high quality loss |
72
- | [functionary-medium-v3.1-Q4_0.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_0.gguf) | Q4_0 | 4 | 40.0 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
73
- | [functionary-medium-v3.1-Q4_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_K_M.gguf) | Q4_K_M | 4 | 42.5 GB| medium, balanced quality - recommended |
74
- | [functionary-medium-v3.1-Q4_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_K_S.gguf) | Q4_K_S | 4 | 40.3 GB| small, greater quality loss |
75
- | [functionary-medium-v3.1-Q5_0.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_0.gguf) | Q5_0 | 5 | 48.7 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
76
- | [functionary-medium-v3.1-Q5_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_K_M.gguf) | Q5_K_M | 5 | 49.9 GB| large, very low quality loss - recommended |
77
- | [functionary-medium-v3.1-Q5_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_K_S.gguf) | Q5_K_S | 5 | 48.7 GB| large, low quality loss - recommended |
78
- | [functionary-medium-v3.1-Q6_K-00001-of-00002.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q6_K-00001-of-00002.gguf) | Q6_K | 6 | 29.8 GB| very large, extremely low quality loss |
79
- | [functionary-medium-v3.1-Q6_K-00002-of-00002.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q6_K-00002-of-00002.gguf) | Q6_K | 6 | 28.0 GB| very large, extremely low quality loss |
80
- | [functionary-medium-v3.1-Q8_0-00001-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00001-of-00003.gguf) | Q8_0 | 8 | 29.8 GB| very large, extremely low quality loss - not recommended |
81
- | [functionary-medium-v3.1-Q8_0-00002-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00002-of-00003.gguf) | Q8_0 | 8 | 29.8 GB| very large, extremely low quality loss - not recommended |
82
- | [functionary-medium-v3.1-Q8_0-00003-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00003-of-00003.gguf) | Q8_0 | 8 | 15.4 GB| very large, extremely low quality loss - not recommended |
83
- | [functionary-medium-v3.1-f16-00001-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00001-of-00005.gguf) | f16 | 16 | 30.0 GB| |
84
- | [functionary-medium-v3.1-f16-00002-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00002-of-00005.gguf) | f16 | 16 | 29.6 GB| |
85
- | [functionary-medium-v3.1-f16-00003-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00003-of-00005.gguf) | f16 | 16 | 29.9 GB| |
86
- | [functionary-medium-v3.1-f16-00004-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00004-of-00005.gguf) | f16 | 16 | 29.6 GB| |
87
- | [functionary-medium-v3.1-f16-00005-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00005-of-00005.gguf) | f16 | 16 | 22.2 GB| |
88
-
89
- *Quantized with llama.cpp b3807*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meetkai/functionary-medium-v3.1
3
+ license: mit
4
+ model_creator: meetkai
5
+ model_name: functionary-medium-v3.1
6
+ quantized_by: Second State Inc.
7
+ ---
8
+
9
+ <!-- header start -->
10
+ <!-- 200823 -->
11
+ <div style="width: auto; margin-left: auto; margin-right: auto">
12
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
13
+ </div>
14
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
15
+ <!-- header end -->
16
+
17
+ # functionary-medium-v3.1-GGUF
18
+
19
+ ## Original Model
20
+
21
+ [meetkai/functionary-medium-v3.1](https://huggingface.co/meetkai/functionary-medium-v3.1)
22
+
23
+ ## Run with LlamaEdge
24
+
25
+ - LlamaEdge version: coming soon
26
+
27
+ <!-- - LlamaEdge version: [v0.14.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.3) -->
28
+
29
+ - Prompt template
30
+
31
+ - Prompt type: `functionary-31`
32
+
33
+ - Prompt string
34
+
35
+ ```text
36
+ <|start_header_id|>system<|end_header_id|>
37
+
38
+ Environment: ipython
39
+
40
+ Cutting Knowledge Date: December 2023
41
+
42
+
43
+ You have access to the following functions:
44
+
45
+ Use the function 'get_current_weather' to 'Get the current weather'
46
+ {"name":"get_current_weather","description":"Get the current weather","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"]}}
47
+
48
+
49
+ Think very carefully before calling functions.
50
+ If a you choose to call a function ONLY reply in the following format:
51
+ <{start_tag}={function_name}>{parameters}{end_tag}
52
+ where
53
+
54
+ start_tag => `<function`
55
+ parameters => a JSON dict with the function argument name as key and function argument value as value.
56
+ end_tag => `</function>`
57
+
58
+ Here is an example,
59
+ <function=example_function_name>{"example_name": "example_value"}</function>
60
+
61
+ Reminder:
62
+ - If looking for real time information use relevant functions before falling back to brave_search
63
+ - Function calls MUST follow the specified format, start with <function= and end with </function>
64
+ - Required parameters MUST be specified
65
+ - Only call one function at a time
66
+ - Put the entire function call reply on one line
67
+
68
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
69
+
70
+ What is the weather like in Beijing today?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
71
+ ```
72
+
73
+ - Context size: `128000`
74
+
75
+ - Run as LlamaEdge service
76
+
77
+ ```bash
78
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:functionary-medium-v3.1-Q5_K_M.gguf \
79
+ llama-api-server.wasm \
80
+ --model-name functionary-medium-v3.1 \
81
+ --prompt-template functionary-31 \
82
+ --ctx-size 128000
83
+ ```
84
+
85
+ - Run as LlamaEdge command app
86
+
87
+ ```bash
88
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:functionary-medium-v3.1-Q5_K_M.gguf \
89
+ llama-chat.wasm \
90
+ --prompt-template functionary-31 \
91
+ --ctx-size 128000
92
+ ```
93
+
94
+ ## Quantized GGUF Models
95
+
96
+ | Name | Quant method | Bits | Size | Use case |
97
+ | ---- | ---- | ---- | ---- | ----- |
98
+ | [functionary-medium-v3.1-Q2_K.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q2_K.gguf) | Q2_K | 2 | 26.4 GB| smallest, significant quality loss - not recommended for most purposes |
99
+ | [functionary-medium-v3.1-Q3_K_L.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_L.gguf) | Q3_K_L | 3 | 37.1 GB| small, substantial quality loss |
100
+ | [functionary-medium-v3.1-Q3_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_M.gguf) | Q3_K_M | 3 | 34.3 GB| very small, high quality loss |
101
+ | [functionary-medium-v3.1-Q3_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q3_K_S.gguf) | Q3_K_S | 3 | 30.9 GB| very small, high quality loss |
102
+ | [functionary-medium-v3.1-Q4_0.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_0.gguf) | Q4_0 | 4 | 40.0 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
103
+ | [functionary-medium-v3.1-Q4_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_K_M.gguf) | Q4_K_M | 4 | 42.5 GB| medium, balanced quality - recommended |
104
+ | [functionary-medium-v3.1-Q4_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q4_K_S.gguf) | Q4_K_S | 4 | 40.3 GB| small, greater quality loss |
105
+ | [functionary-medium-v3.1-Q5_0.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_0.gguf) | Q5_0 | 5 | 48.7 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
106
+ | [functionary-medium-v3.1-Q5_K_M.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_K_M.gguf) | Q5_K_M | 5 | 49.9 GB| large, very low quality loss - recommended |
107
+ | [functionary-medium-v3.1-Q5_K_S.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q5_K_S.gguf) | Q5_K_S | 5 | 48.7 GB| large, low quality loss - recommended |
108
+ | [functionary-medium-v3.1-Q6_K-00001-of-00002.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q6_K-00001-of-00002.gguf) | Q6_K | 6 | 29.8 GB| very large, extremely low quality loss |
109
+ | [functionary-medium-v3.1-Q6_K-00002-of-00002.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q6_K-00002-of-00002.gguf) | Q6_K | 6 | 28.0 GB| very large, extremely low quality loss |
110
+ | [functionary-medium-v3.1-Q8_0-00001-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00001-of-00003.gguf) | Q8_0 | 8 | 29.8 GB| very large, extremely low quality loss - not recommended |
111
+ | [functionary-medium-v3.1-Q8_0-00002-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00002-of-00003.gguf) | Q8_0 | 8 | 29.8 GB| very large, extremely low quality loss - not recommended |
112
+ | [functionary-medium-v3.1-Q8_0-00003-of-00003.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-Q8_0-00003-of-00003.gguf) | Q8_0 | 8 | 15.4 GB| very large, extremely low quality loss - not recommended |
113
+ | [functionary-medium-v3.1-f16-00001-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00001-of-00005.gguf) | f16 | 16 | 30.0 GB| |
114
+ | [functionary-medium-v3.1-f16-00002-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00002-of-00005.gguf) | f16 | 16 | 29.6 GB| |
115
+ | [functionary-medium-v3.1-f16-00003-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00003-of-00005.gguf) | f16 | 16 | 29.9 GB| |
116
+ | [functionary-medium-v3.1-f16-00004-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00004-of-00005.gguf) | f16 | 16 | 29.6 GB| |
117
+ | [functionary-medium-v3.1-f16-00005-of-00005.gguf](https://huggingface.co/second-state/functionary-medium-v3.1-GGUF/blob/main/functionary-medium-v3.1-f16-00005-of-00005.gguf) | f16 | 16 | 22.2 GB| |
118
+
119
+ *Quantized with llama.cpp b3807*