Mungert commited on
Commit
5c94b11
·
verified ·
0 Parent(s):

Super-squash history to reclaim storage

Browse files
.gitattributes ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
+ functionary-small-v3.1-f16.gguf filter=lfs diff=lfs merge=lfs -text
37
+ functionary-small-v3.1-f16-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
38
+ functionary-small-v3.1-bf16-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
39
+ functionary-small-v3.1-f16-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
40
+ functionary-small-v3.1-bf16-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
41
+ functionary-small-v3.1-f16-q4_k.gguf filter=lfs diff=lfs merge=lfs -text
42
+ functionary-small-v3.1-bf16-q4_k.gguf filter=lfs diff=lfs merge=lfs -text
43
+ functionary-small-v3.1-q2_k_l.gguf filter=lfs diff=lfs merge=lfs -text
44
+ functionary-small-v3.1-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
45
+ functionary-small-v3.1-q4_k_l.gguf filter=lfs diff=lfs merge=lfs -text
46
+ functionary-small-v3.1-q5_k_l.gguf filter=lfs diff=lfs merge=lfs -text
47
+ functionary-small-v3.1-q6_k_l.gguf filter=lfs diff=lfs merge=lfs -text
48
+ functionary-small-v3.1-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
49
+ functionary-small-v3.1-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
50
+ functionary-small-v3.1-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
51
+ functionary-small-v3.1-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
52
+ functionary-small-v3.1-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
53
+ functionary-small-v3.1-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
54
+ functionary-small-v3.1-q6_k_m.gguf filter=lfs diff=lfs merge=lfs -text
55
+ functionary-small-v3.1-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
56
+ functionary-small-v3.1-iq4_xs.gguf filter=lfs diff=lfs merge=lfs -text
57
+ functionary-small-v3.1-iq3_xs.gguf filter=lfs diff=lfs merge=lfs -text
58
+ functionary-small-v3.1-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
59
+ functionary-small-v3.1-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
60
+ functionary-small-v3.1-q4_1.gguf filter=lfs diff=lfs merge=lfs -text
61
+ functionary-small-v3.1-q4_0_l.gguf filter=lfs diff=lfs merge=lfs -text
62
+ functionary-small-v3.1-q4_1_l.gguf filter=lfs diff=lfs merge=lfs -text
63
+ functionary-small-v3.1-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
64
+ functionary-small-v3.1-q5_1.gguf filter=lfs diff=lfs merge=lfs -text
65
+ functionary-small-v3.1-q5_0_l.gguf filter=lfs diff=lfs merge=lfs -text
66
+ functionary-small-v3.1-q5_1_l.gguf filter=lfs diff=lfs merge=lfs -text
67
+ functionary-small-v3.1-iq2_xs.gguf filter=lfs diff=lfs merge=lfs -text
68
+ functionary-small-v3.1-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
69
+ functionary-small-v3.1-iq2_s.gguf filter=lfs diff=lfs merge=lfs -text
70
+ functionary-small-v3.1-iq2_m.gguf filter=lfs diff=lfs merge=lfs -text
71
+ functionary-small-v3.1-iq1_s.gguf filter=lfs diff=lfs merge=lfs -text
72
+ functionary-small-v3.1-iq1_m.gguf filter=lfs diff=lfs merge=lfs -text
73
+ functionary-small-v3.1-tq1_0.gguf filter=lfs diff=lfs merge=lfs -text
74
+ functionary-small-v3.1-tq2_0.gguf filter=lfs diff=lfs merge=lfs -text
75
+ functionary-small-v3.1-q2_k_s.gguf filter=lfs diff=lfs merge=lfs -text
76
+ functionary-small-v3.1-iq3_xxs.gguf filter=lfs diff=lfs merge=lfs -text
77
+ functionary-small-v3.1-iq3_s.gguf filter=lfs diff=lfs merge=lfs -text
78
+ functionary-small-v3.1-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
79
+ functionary-small-v3.1.imatrix filter=lfs diff=lfs merge=lfs -text
80
+ functionary-small-v3.1-bf16.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ # <span style="color: #7FFF7F;">functionary-small-v3.1 GGUF Models</span>
6
+
7
+ ## **Choosing the Right Model Format**
8
+
9
+ Selecting the correct model format depends on your **hardware capabilities** and **memory constraints**.
10
+
11
+ ### **BF16 (Brain Float 16) – Use if BF16 acceleration is available**
12
+ - A 16-bit floating-point format designed for **faster computation** while retaining good precision.
13
+ - Provides **similar dynamic range** as FP32 but with **lower memory usage**.
14
+ - Recommended if your hardware supports **BF16 acceleration** (check your device’s specs).
15
+ - Ideal for **high-performance inference** with **reduced memory footprint** compared to FP32.
16
+
17
+ 📌 **Use BF16 if:**
18
+ ✔ Your hardware has native **BF16 support** (e.g., newer GPUs, TPUs).
19
+ ✔ You want **higher precision** while saving memory.
20
+ ✔ You plan to **requantize** the model into another format.
21
+
22
+ 📌 **Avoid BF16 if:**
23
+ ❌ Your hardware does **not** support BF16 (it may fall back to FP32 and run slower).
24
+ ❌ You need compatibility with older devices that lack BF16 optimization.
25
+
26
+ ---
27
+
28
+ ### **F16 (Float 16) – More widely supported than BF16**
29
+ - A 16-bit floating-point **high precision** but with less of range of values than BF16.
30
+ - Works on most devices with **FP16 acceleration support** (including many GPUs and some CPUs).
31
+ - Slightly lower numerical precision than BF16 but generally sufficient for inference.
32
+
33
+ 📌 **Use F16 if:**
34
+ ✔ Your hardware supports **FP16** but **not BF16**.
35
+ ✔ You need a **balance between speed, memory usage, and accuracy**.
36
+ ✔ You are running on a **GPU** or another device optimized for FP16 computations.
37
+
38
+ 📌 **Avoid F16 if:**
39
+ ❌ Your device lacks **native FP16 support** (it may run slower than expected).
40
+ ❌ You have memory limitations.
41
+
42
+ ---
43
+
44
+ ### **Quantized Models (Q4_K, Q6_K, Q8, etc.) – For CPU & Low-VRAM Inference**
45
+ Quantization reduces model size and memory usage while maintaining as much accuracy as possible.
46
+ - **Lower-bit models (Q4_K)** → **Best for minimal memory usage**, may have lower precision.
47
+ - **Higher-bit models (Q6_K, Q8_0)** → **Better accuracy**, requires more memory.
48
+
49
+ 📌 **Use Quantized Models if:**
50
+ ✔ You are running inference on a **CPU** and need an optimized model.
51
+ ✔ Your device has **low VRAM** and cannot load full-precision models.
52
+ ✔ You want to reduce **memory footprint** while keeping reasonable accuracy.
53
+
54
+ 📌 **Avoid Quantized Models if:**
55
+ ❌ You need **maximum accuracy** (full-precision models are better for this).
56
+ ❌ Your hardware has enough VRAM for higher-precision formats (BF16/F16).
57
+
58
+ ---
59
+
60
+ ### **Very Low-Bit Quantization (IQ3_XS, IQ3_S, IQ3_M, Q4_K, Q4_0)**
61
+ These models are optimized for **extreme memory efficiency**, making them ideal for **low-power devices** or **large-scale deployments** where memory is a critical constraint.
62
+
63
+ - **IQ3_XS**: Ultra-low-bit quantization (3-bit) with **extreme memory efficiency**.
64
+ - **Use case**: Best for **ultra-low-memory devices** where even Q4_K is too large.
65
+ - **Trade-off**: Lower accuracy compared to higher-bit quantizations.
66
+
67
+ - **IQ3_S**: Small block size for **maximum memory efficiency**.
68
+ - **Use case**: Best for **low-memory devices** where **IQ3_XS** is too aggressive.
69
+
70
+ - **IQ3_M**: Medium block size for better accuracy than **IQ3_S**.
71
+ - **Use case**: Suitable for **low-memory devices** where **IQ3_S** is too limiting.
72
+
73
+ - **Q4_K**: 4-bit quantization with **block-wise optimization** for better accuracy.
74
+ - **Use case**: Best for **low-memory devices** where **Q6_K** is too large.
75
+
76
+ - **Q4_0**: Pure 4-bit quantization, optimized for **ARM devices**.
77
+ - **Use case**: Best for **ARM-based devices** or **low-memory environments**.
78
+
79
+ ---
80
+
81
+ ### **Summary Table: Model Format Selection**
82
+
83
+ | Model Format | Precision | Memory Usage | Device Requirements | Best Use Case |
84
+ |--------------|------------|---------------|----------------------|---------------|
85
+ | **BF16** | Highest | High | BF16-supported GPU/CPUs | High-speed inference with reduced memory |
86
+ | **F16** | High | High | FP16-supported devices | GPU inference when BF16 isn’t available |
87
+ | **Q4_K** | Medium Low | Low | CPU or Low-VRAM devices | Best for memory-constrained environments |
88
+ | **Q6_K** | Medium | Moderate | CPU with more memory | Better accuracy while still being quantized |
89
+ | **Q8_0** | High | Moderate | CPU or GPU with enough VRAM | Best accuracy among quantized models |
90
+ | **IQ3_XS** | Very Low | Very Low | Ultra-low-memory devices | Extreme memory efficiency and low accuracy |
91
+ | **Q4_0** | Low | Low | ARM or low-memory devices | llama.cpp can optimize for ARM devices |
92
+
93
+ ---
94
+
95
+ ## **Included Files & Details**
96
+
97
+ ### `functionary-small-v3.1-bf16.gguf`
98
+ - Model weights preserved in **BF16**.
99
+ - Use this if you want to **requantize** the model into a different format.
100
+ - Best if your device supports **BF16 acceleration**.
101
+
102
+ ### `functionary-small-v3.1-f16.gguf`
103
+ - Model weights stored in **F16**.
104
+ - Use if your device supports **FP16**, especially if BF16 is not available.
105
+
106
+ ### `functionary-small-v3.1-bf16-q8_0.gguf`
107
+ - **Output & embeddings** remain in **BF16**.
108
+ - All other layers quantized to **Q8_0**.
109
+ - Use if your device supports **BF16** and you want a quantized version.
110
+
111
+ ### `functionary-small-v3.1-f16-q8_0.gguf`
112
+ - **Output & embeddings** remain in **F16**.
113
+ - All other layers quantized to **Q8_0**.
114
+
115
+ ### `functionary-small-v3.1-q4_k.gguf`
116
+ - **Output & embeddings** quantized to **Q8_0**.
117
+ - All other layers quantized to **Q4_K**.
118
+ - Good for **CPU inference** with limited memory.
119
+
120
+ ### `functionary-small-v3.1-q4_k_s.gguf`
121
+ - Smallest **Q4_K** variant, using less memory at the cost of accuracy.
122
+ - Best for **very low-memory setups**.
123
+
124
+ ### `functionary-small-v3.1-q6_k.gguf`
125
+ - **Output & embeddings** quantized to **Q8_0**.
126
+ - All other layers quantized to **Q6_K** .
127
+
128
+ ### `functionary-small-v3.1-q8_0.gguf`
129
+ - Fully **Q8** quantized model for better accuracy.
130
+ - Requires **more memory** but offers higher precision.
131
+
132
+ ### `functionary-small-v3.1-iq3_xs.gguf`
133
+ - **IQ3_XS** quantization, optimized for **extreme memory efficiency**.
134
+ - Best for **ultra-low-memory devices**.
135
+
136
+ ### `functionary-small-v3.1-iq3_m.gguf`
137
+ - **IQ3_M** quantization, offering a **medium block size** for better accuracy.
138
+ - Suitable for **low-memory devices**.
139
+
140
+ ### `functionary-small-v3.1-q4_0.gguf`
141
+ - Pure **Q4_0** quantization, optimized for **ARM devices**.
142
+ - Best for **low-memory environments**.
143
+ - Prefer IQ4_NL for better accuracy.
144
+
145
+ # <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
146
+
147
+ Please click like ❤ . Also I’d really appreciate it if you could test my Network Monitor Assistant at 👉 [Network Monitor Assitant](https://readyforquantum.com).
148
+
149
+ 💬 Click the **chat icon** (bottom right of the main and dashboard pages) . Choose a LLM; toggle between the LLM Types TurboLLM -> FreeLLM -> TestLLM.
150
+
151
+ ### What I'm Testing
152
+
153
+ I'm experimenting with **function calling** against my network monitoring service. Using small open source models. I am into the question "How small can it go and still function".
154
+
155
+ 🟡 **TestLLM** – Runs the current testing model using llama.cpp on 6 threads of a Cpu VM (Should take about 15s to load. Inference speed is quite slow and it only processes one user prompt at a time—still working on scaling!). If you're curious, I'd be happy to share how it works! .
156
+
157
+ ### The other Available AI Assistants
158
+
159
+ 🟢 **TurboLLM** – Uses **gpt-4o-mini** Fast! . Note: tokens are limited since OpenAI models are pricey, but you can [Login](https://readyforquantum.com) or [Download](https://readyforquantum.com/download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) the Quantum Network Monitor agent to get more tokens, Alternatively use the TestLLM .
160
+
161
+ 🔵 **HugLLM** – Runs **open-source Hugging Face models** Fast, Runs small models (≈8B) hence lower quality, Get 2x more tokens (subject to Hugging Face API availability)
162
+
163
+ ### Final Word
164
+
165
+ I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
166
+
167
+ If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
168
+
169
+ I'm also open to job opportunities or sponsorship.
170
+
171
+ Thank you! 😊
172
+
173
+
174
+ # Model Card for functionary-small-v3.1
175
+
176
+ **This model was based on [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct)**, using Meta's original prompt template as described in: [User-defined Custom tool calling](https://llama.meta.com/docs/model-cards-and-prompt-formats/llama3_1/#user-defined-custom-tool-calling)
177
+
178
+ [https://github.com/MeetKai/functionary](https://github.com/MeetKai/functionary)
179
+
180
+ <img src="https://huggingface.co/meetkai/functionary-medium-v2.2/resolve/main/functionary_logo.jpg" alt="Functionary Logo" width="300"/>
181
+
182
+ Functionary is a language model that can interpret and execute functions/plugins.
183
+
184
+ The model determines when to execute functions, whether in parallel or serially, and can understand their outputs. It only triggers functions as needed. Function definitions are given as JSON Schema Objects, similar to OpenAI GPT function calls.
185
+
186
+ ## Key Features
187
+
188
+ - Intelligent **parallel tool use**
189
+ - Able to analyze functions/tools outputs and provide relevant responses **grounded in the outputs**
190
+ - Able to decide **when to not use tools/call functions** and provide normal chat response
191
+ - Truly one of the best open-source alternative to GPT-4
192
+ - Support code interpreter
193
+
194
+ ## How to Get Started
195
+
196
+ We provide custom code for parsing raw model responses into a JSON object containing role, content and tool_calls fields. This enables the users to read the function-calling output of the model easily.
197
+
198
+ ```python
199
+ from transformers import AutoModelForCausalLM, AutoTokenizer
200
+
201
+ tokenizer = AutoTokenizer.from_pretrained("meetkai/functionary-small-v3.1")
202
+ model = AutoModelForCausalLM.from_pretrained("meetkai/functionary-small-v3.1", device_map="auto", trust_remote_code=True)
203
+
204
+ tools = [
205
+ {
206
+ "type": "function",
207
+ "function": {
208
+ "name": "get_current_weather",
209
+ "description": "Get the current weather",
210
+ "parameters": {
211
+ "type": "object",
212
+ "properties": {
213
+ "location": {
214
+ "type": "string",
215
+ "description": "The city and state, e.g. San Francisco, CA"
216
+ }
217
+ },
218
+ "required": ["location"]
219
+ }
220
+ }
221
+ }
222
+ ]
223
+ messages = [{"role": "user", "content": "What is the weather in Istanbul and Singapore respectively?"}]
224
+
225
+ final_prompt = tokenizer.apply_chat_template(messages, tools, add_generation_prompt=True, tokenize=False)
226
+ inputs = tokenizer(final_prompt, return_tensors="pt").to("cuda")
227
+ pred = model.generate_tool_use(**inputs, max_new_tokens=128, tokenizer=tokenizer)
228
+ print(tokenizer.decode(pred.cpu()[0]))
229
+ ```
230
+
231
+ ## Prompt Template
232
+
233
+ We convert function definitions to a similar text to TypeScript definitions. Then we inject these definitions as system prompts. After that, we inject the default system prompt. Then we start the conversation messages.
234
+
235
+ This formatting is also available via our vLLM server which we process the functions into Typescript definitions encapsulated in a system message using a pre-defined Transformers Jinja chat template. This means that the lists of messages can be formatted for you with the apply_chat_template() method within our server:
236
+
237
+ ```python
238
+ from openai import OpenAI
239
+
240
+ client = OpenAI(base_url="http://localhost:8000/v1", api_key="functionary")
241
+
242
+ client.chat.completions.create(
243
+ model="path/to/functionary/model/",
244
+ messages=[{"role": "user",
245
+ "content": "What is the weather for Istanbul?"}
246
+ ],
247
+ tools=[{
248
+ "type": "function",
249
+ "function": {
250
+ "name": "get_current_weather",
251
+ "description": "Get the current weather",
252
+ "parameters": {
253
+ "type": "object",
254
+ "properties": {
255
+ "location": {
256
+ "type": "string",
257
+ "description": "The city and state, e.g. San Francisco, CA"
258
+ }
259
+ },
260
+ "required": ["location"]
261
+ }
262
+ }
263
+ }],
264
+ tool_choice="auto"
265
+ )
266
+ ```
267
+
268
+ will yield:
269
+
270
+ ```
271
+ <|start_header_id|>system<|end_header_id|>
272
+
273
+ Environment: ipython
274
+
275
+ Cutting Knowledge Date: December 2023
276
+
277
+
278
+ You have access to the following functions:
279
+
280
+ Use the function 'get_current_weather' to 'Get the current weather'
281
+ {"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"]}}
282
+
283
+
284
+ Think very carefully before calling functions.
285
+ If a you choose to call a function ONLY reply in the following format:
286
+ <{start_tag}={function_name}>{parameters}{end_tag}
287
+ where
288
+
289
+ start_tag => `<function`
290
+ parameters => a JSON dict with the function argument name as key and function argument value as value.
291
+ end_tag => `</function>`
292
+
293
+ Here is an example,
294
+ <function=example_function_name>{"example_name": "example_value"}</function>
295
+
296
+ Reminder:
297
+ - If looking for real time information use relevant functions before falling back to brave_search
298
+ - Function calls MUST follow the specified format, start with <function= and end with </function>
299
+ - Required parameters MUST be specified
300
+ - Only call one function at a time
301
+ - Put the entire function call reply on one line
302
+
303
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
304
+
305
+ What is the weather for Istanbul?
306
+ ```
307
+
308
+ A more detailed example is provided [here](https://github.com/MeetKai/functionary/blob/main/tests/prompt_test_v3-llama3.1.txt).
309
+
310
+ ## Run the model
311
+
312
+ We encourage users to run our models using our OpenAI-compatible vLLM server [here](https://github.com/MeetKai/functionary).
313
+
314
+ # The MeetKai Team
315
+ ![MeetKai Logo](https://huggingface.co/meetkai/functionary-medium-v2.2/resolve/main/meetkai_logo.png "MeetKai Logo")
functionary-small-v3.1-bf16-q4_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be57b067950ecbdb9c6a13f38267c1664b2f2597dced8613353914ffbe76cdf4
3
+ size 6295641952
functionary-small-v3.1-bf16-q6_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a2dbe8cc0778be4afd9df630156081143b1190b910d81e8c72cb224131628f7
3
+ size 7835475808
functionary-small-v3.1-bf16-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d9b571ef9a7c9fe74a2b394d0dce494b362c21cda390772cef6d33e6d6c985e
3
+ size 9525780032
functionary-small-v3.1-bf16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a5dbbe41031a0d9f4adf12044aee7bb5c9a68d3d04f357be085f35053ed291
3
+ size 16068894272
functionary-small-v3.1-f16-q4_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2ddc4597b3f7f56f98cc1781eb74acb4b3d2cb7247254d094c4d7eb7e2f67d4
3
+ size 6295641952
functionary-small-v3.1-f16-q6_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802cb8736359b2215c3a0ba074b33f3fb59e8ee2d93660e708c68a3ba3946a87
3
+ size 7835475808
functionary-small-v3.1-f16-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d4ae1a899dd12479d7633be01847b14cc4aa306d25833202520ecfdd6379931
3
+ size 9525780032
functionary-small-v3.1-iq1_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79df1b9629e70d06ad3cc50e81ce39ff3eb7aea80918d38bd47ab4272060b4c2
3
+ size 2161975136
functionary-small-v3.1-iq1_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62bf8af518d2f474e9c534329dd1fdec0436f73a1f732223da421608b56d3c80
3
+ size 2019630944
functionary-small-v3.1-iq2_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76ea72e098182d31e2a80957e7d33adaf0757f86b5385c31eb4d8da55910be3d
3
+ size 2948284256
functionary-small-v3.1-iq2_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b03bded19c7d04a235528595ac02abb8bba1fe9c789047583d13aeb2962ac37
3
+ size 2758492000
functionary-small-v3.1-iq2_xs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a82d573d85ecd22af14863ab1cee0a869e8b48df652ba5d9720f0304ee03d59
3
+ size 2605784928
functionary-small-v3.1-iq2_xxs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:645015b7097ed3e1184d54ffbc9d9015462dd9fbc6f0853bd8a5031d76ed6c9f
3
+ size 2399215456
functionary-small-v3.1-iq3_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd62e021db08bb760bdc70383bac53fa37796c196531942ef0f1af64fbcf5fee
3
+ size 3784826720
functionary-small-v3.1-iq3_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f73882a8c2829d7958a8b107ded58cbd89e042642a5c32b52aafcac6026369fb
3
+ size 3682328416
functionary-small-v3.1-iq3_xs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaa349d3d671786e23b1337f6150aea76d8fac0b941449ec682b990d6ccb867e
3
+ size 3518750560
functionary-small-v3.1-iq3_xxs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89aa003930df8e66ce9a87e1e4d342af249bca5bb48fb7f20c3a589e968b0538
3
+ size 3274915680
functionary-small-v3.1-iq4_nl.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b39718a4cacddedbd60737d6b116066d1881567fc81706878670ff201552787e
3
+ size 4677992288
functionary-small-v3.1-iq4_xs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fab60a5bd5642b387f379b892c36e68bd6e1e32090e0dd97a51ceb5f0cee504
3
+ size 4447666016
functionary-small-v3.1-q2_k_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e82be5800e7ed1ba84034a439ef6df35d131a1c9fa9bc61146a34ea31909a3e
3
+ size 2988818272
functionary-small-v3.1-q3_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b0c0fc1aafd853f57a9e4735ffd1240a67e29840e5f6dbaddefa5d5df80b03
3
+ size 4018921312
functionary-small-v3.1-q3_k_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75744fdf6144c4095586b234ebd095c264d5f3efbe3280d1a68f99b15af72d8b
3
+ size 3664502624
functionary-small-v3.1-q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac5c9d6c67d23c1eeca5b4c81dfb2c8ed039dab73daeb0a4c2a350ab71259912
3
+ size 4525776736
functionary-small-v3.1-q4_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4da9f9d5756a4b06365b9540d26a09ce7938f1d64dc406dcaf34f3ea57773927
3
+ size 5027651424
functionary-small-v3.1-q4_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ade1c197f0dfdf6e0199bc25c44259b9e96d7e19ca133b685b898003284bd6ed
3
+ size 4920737632
functionary-small-v3.1-q4_k_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:969cc3b6a63fc1ffa14e119c0abdd3a92290a0a75a14a861840a19c5977714d9
3
+ size 4692672352
functionary-small-v3.1-q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d72c5af879d401af00a1361ba2cab03441cafbffd8618d6d1281d14c360b0f0
3
+ size 5529526112
functionary-small-v3.1-q5_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b92e6061a2682f6eb29984cbd305bf56ce71372de8763c395329e2893e3968
3
+ size 6031400800
functionary-small-v3.1-q5_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4505c5c32d3e971888122e679244b99668ad5a4881a5a042d580e3bfaf0ff8b3
3
+ size 5732990816
functionary-small-v3.1-q5_k_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b541f9731f633fb33548ac8a86dd5cecfd37eb402ef60cb014d921000bfe3027
3
+ size 5599297376
functionary-small-v3.1-q6_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feb18aaee12326ee6d2e781e50858920c5c7442c6e56d88144e0fe21bfe1dac4
3
+ size 6596009824
functionary-small-v3.1-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e05072bb72124e4982d13fee0054242a259f68d19d19e7a7ebf1c4cb01c4347f
3
+ size 8540773952
functionary-small-v3.1-tq1_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22f8f4fe4d9b128c244bda6c7b7e7deff782ae22caafaefbcaa687618950c47d
3
+ size 2207547232
functionary-small-v3.1-tq2_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c4cb7f7134ea6bb73bf3c751df35b068f20c04e2e9f29e8f291df74a1a107bc
3
+ size 2534702944
functionary-small-v3.1.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73d857ff5b306ad413b9fc08fecf1603cb8d4a53ebd17af67c9a0b3398ad3d6c
3
+ size 4988170