Downloads · 30 days
219
9% of all-time downloads
RichardErkhov/edgerunner-ai_-_EdgeRunner-Command-7B-gguf
edgerunner-ai_-_EdgeRunner-Command-7B-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
219
9% of all-time downloads
All-time downloads
2.5K
Public
Repo size
88.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf102 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
EdgeRunner-Command-7B - GGUF
| Name | Quant method | Size |
|---|---|---|
| EdgeRunner-Command-7B.Q2_K.gguf | Q2_K | 2.81GB |
| EdgeRunner-Command-7B.IQ3_XS.gguf | IQ3_XS | 3.12GB |
| EdgeRunner-Command-7B.IQ3_S.gguf | IQ3_S | 3.26GB |
| EdgeRunner-Command-7B.Q3_K_S.gguf | Q3_K_S | 3.25GB |
| EdgeRunner-Command-7B.IQ3_M.gguf | IQ3_M | 3.33GB |
| EdgeRunner-Command-7B.Q3_K.gguf | Q3_K | 3.55GB |
| EdgeRunner-Command-7B.Q3_K_M.gguf | Q3_K_M | 3.55GB |
| EdgeRunner-Command-7B.Q3_K_L.gguf | Q3_K_L | 3.81GB |
| EdgeRunner-Command-7B.IQ4_XS.gguf | IQ4_XS | 3.96GB |
| EdgeRunner-Command-7B.Q4_0.gguf | Q4_0 | 4.13GB |
| EdgeRunner-Command-7B.IQ4_NL.gguf | IQ4_NL | 4.16GB |
| EdgeRunner-Command-7B.Q4_K_S.gguf | Q4_K_S | 4.15GB |
| EdgeRunner-Command-7B.Q4_K.gguf | Q4_K | 4.36GB |
| EdgeRunner-Command-7B.Q4_K_M.gguf | Q4_K_M | 4.36GB |
| EdgeRunner-Command-7B.Q4_1.gguf | Q4_1 | 4.54GB |
| EdgeRunner-Command-7B.Q5_0.gguf | Q5_0 | 4.95GB |
| EdgeRunner-Command-7B.Q5_K_S.gguf | Q5_K_S | 4.95GB |
| EdgeRunner-Command-7B.Q5_K.gguf | Q5_K | 5.07GB |
| EdgeRunner-Command-7B.Q5_K_M.gguf | Q5_K_M | 5.07GB |
| EdgeRunner-Command-7B.Q5_1.gguf | Q5_1 | 5.36GB |
| EdgeRunner-Command-7B.Q6_K.gguf | Q6_K | 5.82GB |
| EdgeRunner-Command-7B.Q8_0.gguf | Q8_0 | 7.54GB |
library_name: transformers license: apache-2.0 language:

We’re excited to announce the release of EdgeRunner Command, a cutting-edge 7B parameter language model designed specifically for function calling and mission tasks. Initialized from our EdgeRunner-Tactical-7B , EdgeRunner Command offers performance comparable to much larger models while maintaining efficiency and speed at the edge.
The model is formatted to support ChatML and specializes in function calling capabilities when interacting with transformers.
Our model was trained on specific system prompts and structures for Function Calling.
You should use the system role with this message, followed by a function signature json as this example shows here.
<|im_start|>system
You are a helpful assistant with access to the following functions. Use them if required:
[AVAILABLE_TOOLS] [{"name": "search", "description": "Searches the web for the given text and returns the top 5 results.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to search for."}}, "required": ["text"]}}][/AVAILABLE_TOOLS]<|im_end|>
To complete the function call, create a user prompt that follows the above system prompt, like so:
<|im_start|>user
How to train a dragon?<|im_end|>
The model will then generate a tool call, which your inference code must parse, and plug into a function :
|im_start|>assistant
[TOOL_CALLS] [{ "name": "search", "arguments": {"text": "how to train a dragon"}}]<|im_end|>
Once you parse the tool call, call the function and get the returned values for the call, and pass it back in as a new role, tool like so:
<|im_start|>tool
[TOOL_RESULTS] [{"name": "search", "content": "..."}][/TOOL_RESULTS]<|im_end|>
The assistant will then read in that data from the function's response, and generate a natural language response:
<|im_start|>assistant
According to my search, training a dragon is not something ....<|im_end|>
To use this example, you'll need transformers version 4.42.0 or higher. Please see the
function calling guide
in the transformers docs for more information.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "edgerunner-ai/EdgeRunner-Command-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
def get_current_weather(location: str, format: str):
"""
Get the current weather.
Args:
location: The city and state, e.g. San Francisco, CA
format: The temperature unit to use. Infer this from the user's location. (choices: ["celsius", "fahrenheit"])
"""
pass
conversation = [{"role": "user", "content": "What's the weather like in Paris?"}]
tools = [get_current_weather]
# Render the tool use prompt as a string:
tool_use_prompt = tokenizer.apply_chat_template(
conversation,
tools=tools,
tokenize=False,
add_generation_prompt=True,
)
inputs = tokenizer(tool_use_prompt, return_tensors="pt")
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Note that, this example does not show a complete cycle of calling a tool and adding the tool call and tool results to the chat history so that the model can use them in its next generation. For a full tool calling example, please see the function calling guide
| Test Name | Accuracy |
|---|---|
| multiple_function | 0.94 |
| parallel_multiple_function | 0.83 |
| parallel_function | 0.77 |
| simple | 0.91 |
| Benchmark | Score |
|---|---|
| Arena Hard | 31.99 |
| MMLU-Redux | 67.82 |
| GSM | 80.89 |
| MT-Bench | 8.32 |