Instructions to use devopsforflops/delia-functiongemma-270m-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use devopsforflops/delia-functiongemma-270m-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="devopsforflops/delia-functiongemma-270m-gguf", filename="functiongemma-delia-f16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use devopsforflops/delia-functiongemma-270m-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf devopsforflops/delia-functiongemma-270m-gguf:F16 # Run inference directly in the terminal: llama cli -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf devopsforflops/delia-functiongemma-270m-gguf:F16 # Run inference directly in the terminal: llama cli -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf devopsforflops/delia-functiongemma-270m-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf devopsforflops/delia-functiongemma-270m-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Use Docker
docker model run hf.co/devopsforflops/delia-functiongemma-270m-gguf:F16
- LM Studio
- Jan
- Ollama
How to use devopsforflops/delia-functiongemma-270m-gguf with Ollama:
ollama run hf.co/devopsforflops/delia-functiongemma-270m-gguf:F16
- Unsloth Studio
How to use devopsforflops/delia-functiongemma-270m-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for devopsforflops/delia-functiongemma-270m-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for devopsforflops/delia-functiongemma-270m-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for devopsforflops/delia-functiongemma-270m-gguf to start chatting
- Pi
How to use devopsforflops/delia-functiongemma-270m-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "devopsforflops/delia-functiongemma-270m-gguf:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use devopsforflops/delia-functiongemma-270m-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default devopsforflops/delia-functiongemma-270m-gguf:F16
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use devopsforflops/delia-functiongemma-270m-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devopsforflops/delia-functiongemma-270m-gguf:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "devopsforflops/delia-functiongemma-270m-gguf:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use devopsforflops/delia-functiongemma-270m-gguf with Docker Model Runner:
docker model run hf.co/devopsforflops/delia-functiongemma-270m-gguf:F16
- Lemonade
How to use devopsforflops/delia-functiongemma-270m-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull devopsforflops/delia-functiongemma-270m-gguf:F16
Run and chat with the model
lemonade run user.delia-functiongemma-270m-gguf-F16
List all available models
lemonade list
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google/functiongemma-270m-it
|
| 4 |
+
tags:
|
| 5 |
+
- gemma
|
| 6 |
+
- function-calling
|
| 7 |
+
- tool-use
|
| 8 |
+
- gguf
|
| 9 |
+
- ollama
|
| 10 |
+
model-index:
|
| 11 |
+
- name: delia-functiongemma-270m-gguf
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Delia FunctionGemma 270M - GGUF
|
| 16 |
+
|
| 17 |
+
This is the GGUF version of [delia-functiongemma-270m](https://huggingface.co/devopsforflops/delia-functiongemma-270m), fine-tuned for Delia MCP tool orchestration.
|
| 18 |
+
|
| 19 |
+
## Quick Start with Ollama
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
# Download the GGUF file
|
| 23 |
+
wget https://huggingface.co/devopsforflops/delia-functiongemma-270m-gguf/resolve/main/functiongemma-delia-f16.gguf
|
| 24 |
+
|
| 25 |
+
# Create Modelfile
|
| 26 |
+
cat > Modelfile << 'MODELFILE'
|
| 27 |
+
FROM ./functiongemma-delia-f16.gguf
|
| 28 |
+
|
| 29 |
+
TEMPLATE """{{ if .System }}<start_of_turn>developer
|
| 30 |
+
{{ .System }}
|
| 31 |
+
<end_of_turn>
|
| 32 |
+
{{ end }}<start_of_turn>user
|
| 33 |
+
{{ .Prompt }}
|
| 34 |
+
<end_of_turn>
|
| 35 |
+
<start_of_turn>model
|
| 36 |
+
"""
|
| 37 |
+
|
| 38 |
+
PARAMETER stop <end_of_turn>
|
| 39 |
+
PARAMETER stop <start_of_turn>
|
| 40 |
+
PARAMETER temperature 0.1
|
| 41 |
+
PARAMETER num_ctx 2048
|
| 42 |
+
MODELFILE
|
| 43 |
+
|
| 44 |
+
# Import to Ollama
|
| 45 |
+
ollama create functiongemma-delia -f Modelfile
|
| 46 |
+
|
| 47 |
+
# Test it
|
| 48 |
+
ollama run functiongemma-delia "Hello!"
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Model Details
|
| 52 |
+
|
| 53 |
+
| Property | Value |
|
| 54 |
+
|----------|-------|
|
| 55 |
+
| Base Model | google/functiongemma-270m-it |
|
| 56 |
+
| Architecture | Gemma3 |
|
| 57 |
+
| Parameters | 268M |
|
| 58 |
+
| Quantization | F16 (full precision) |
|
| 59 |
+
| File Size | ~518 MB |
|
| 60 |
+
| Context Length | 2048 tokens |
|
| 61 |
+
|
| 62 |
+
## Training
|
| 63 |
+
|
| 64 |
+
Fine-tuned using LoRA on Delia MCP tool calling examples:
|
| 65 |
+
- LoRA rank: 16
|
| 66 |
+
- LoRA alpha: 64
|
| 67 |
+
- Epochs: 20
|
| 68 |
+
- Dataset: 27 training examples from Delia test suite
|
| 69 |
+
|
| 70 |
+
## Use with Delia
|
| 71 |
+
|
| 72 |
+
Add to your Delia `settings.json`:
|
| 73 |
+
|
| 74 |
+
```json
|
| 75 |
+
{
|
| 76 |
+
"model_dispatcher": {
|
| 77 |
+
"name": "functiongemma-delia",
|
| 78 |
+
"num_ctx": 2048
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
**Important:** The model name must contain "functiongemma" for Delia to apply the correct prompt formatting.
|
| 84 |
+
|
| 85 |
+
## Related Models
|
| 86 |
+
|
| 87 |
+
- [delia-functiongemma-270m](https://huggingface.co/devopsforflops/delia-functiongemma-270m) - Full merged HuggingFace model
|
| 88 |
+
- [delia-functiongemma-270m-lora](https://huggingface.co/devopsforflops/delia-functiongemma-270m-lora) - LoRA adapter only
|
| 89 |
+
|
| 90 |
+
## License
|
| 91 |
+
|
| 92 |
+
Apache 2.0
|