Views
No views yet
call_coder - Code generation taskscall_reviewer - Code review and analysiscall_planner - Architecture and planning (also handles ambiguous requests)call_executor - Running commands and scriptsreasoning parameter per tool1# Download the GGUF
2wget https://huggingface.co/devopsforflops/functiongemma-270m-delia-dispatcher/resolve/main/functiongemma-270m-delia-dispatcher-f16.gguf
3
4# Download the grammar
5wget https://huggingface.co/devopsforflops/functiongemma-270m-delia-dispatcher/resolve/main/dispatcher.gbnf
6
7# Run with grammar constraint
8./llama-cli -m functiongemma-270m-delia-dispatcher-f16.gguf \
9 --grammar-file dispatcher.gbnf \
10 -p "<start_of_turn>user
11Write a fibonacci function<end_of_turn>
12<start_of_turn>model"1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("devopsforflops/functiongemma-270m-delia-dispatcher")
4tokenizer = AutoTokenizer.from_pretrained("devopsforflops/functiongemma-270m-delia-dispatcher")
5
6prompt = """<start_of_turn>user
7Review this code for bugs<end_of_turn>
8<start_of_turn>model"""
9
10inputs = tokenizer(prompt, return_tensors="pt")
11outputs = model.generate(**inputs, max_new_tokens=100)
12print(tokenizer.decode(outputs[0]))<start_of_turn>user
{request}<end_of_turn>
<start_of_turn>model
thought
{brief reasoning}
<tool_call>{"name": "call_X", "arguments": {"reasoning": "..."}}</tool_call><end_of_turn>| File | Description |
|---|---|
functiongemma-270m-delia-dispatcher-f16.gguf | GGUF model (F16, 518MB) |
model.safetensors | Transformers model |
dispatcher.gbnf | GBNF grammar for constrained decoding |
dispatcher_tools.json | Tool schema (4 tools) |
train.jsonl | Training data |