Instructions to use madhuHuggingface/functiongemma-vpc-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf:F16 # Run inference directly in the terminal: llama cli -hf madhuHuggingface/functiongemma-vpc-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf madhuHuggingface/functiongemma-vpc-gguf:F16 # Run inference directly in the terminal: llama cli -hf madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf madhuHuggingface/functiongemma-vpc-gguf:F16
Use Docker
docker model run hf.co/madhuHuggingface/functiongemma-vpc-gguf:F16
- LM Studio
- Jan
- Ollama
How to use madhuHuggingface/functiongemma-vpc-gguf with Ollama:
ollama run hf.co/madhuHuggingface/functiongemma-vpc-gguf:F16
- Unsloth Studio
How to use madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for madhuHuggingface/functiongemma-vpc-gguf to start chatting
- Pi
How to use madhuHuggingface/functiongemma-vpc-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madhuHuggingface/functiongemma-vpc-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": "madhuHuggingface/functiongemma-vpc-gguf:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use madhuHuggingface/functiongemma-vpc-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madhuHuggingface/functiongemma-vpc-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 "madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf with Docker Model Runner:
docker model run hf.co/madhuHuggingface/functiongemma-vpc-gguf:F16
- Lemonade
How to use madhuHuggingface/functiongemma-vpc-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull madhuHuggingface/functiongemma-vpc-gguf:F16
Run and chat with the model
lemonade run user.functiongemma-vpc-gguf-F16
List all available models
lemonade list
- Hermes Agent
How to use madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-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 madhuHuggingface/functiongemma-vpc-gguf:F16
Run Hermes
hermes
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +5 -14
- config.json +2 -2
- functiongemma-vpc-q4_k_m.gguf +3 -0
- generation_config.json +14 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
functiongemma-vpc-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
functiongemma-vpc-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
functiongemma-vpc-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,26 +1,17 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/functiongemma-270m-it
|
| 4 |
-
tags:
|
| 5 |
-
- function-calling
|
| 6 |
-
- vpc
|
| 7 |
-
- gguf
|
| 8 |
-
- q4_k_m
|
| 9 |
---
|
| 10 |
|
| 11 |
# FunctionGemma-270M VPC — GGUF Q4_K_M
|
| 12 |
|
| 13 |
-
Fine-tuned for VPC & Routing tool-calling. Quantized to Q4_K_M GGUF for CPU inference.
|
| 14 |
-
|
| 15 |
-
## Install
|
| 16 |
-
```bash
|
| 17 |
-
pip install llama-cpp-python transformers sentencepiece
|
| 18 |
-
```
|
| 19 |
|
| 20 |
## Quick use
|
| 21 |
```python
|
| 22 |
from huggingface_hub import hf_hub_download
|
| 23 |
-
|
|
|
|
|
|
|
| 24 |
```
|
| 25 |
-
|
| 26 |
-
See the companion `vpc_local_test.py` for the full 30-test evaluation.
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/functiongemma-270m-it
|
| 4 |
+
tags: [function-calling, vpc, gguf, q4_k_m]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# FunctionGemma-270M VPC — GGUF Q4_K_M
|
| 8 |
|
| 9 |
+
Fine-tuned for VPC & Routing tool-calling. Quantized to Q4_K_M GGUF for CPU inference (~253 MB).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
## Quick use
|
| 12 |
```python
|
| 13 |
from huggingface_hub import hf_hub_download
|
| 14 |
+
from llama_cpp import Llama
|
| 15 |
+
gguf = hf_hub_download(repo_id="madhuHuggingface/functiongemma-vpc-gguf", filename="functiongemma-vpc-q4_k_m.gguf")
|
| 16 |
+
llm = Llama(model_path=gguf, n_ctx=4096, n_gpu_layers=0)
|
| 17 |
```
|
|
|
|
|
|
config.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
"full_attention"
|
| 37 |
],
|
| 38 |
"max_position_embeddings": 32768,
|
| 39 |
-
"model_name": "unsloth/functiongemma-270m-it",
|
| 40 |
"model_type": "gemma3_text",
|
| 41 |
"num_attention_heads": 4,
|
| 42 |
"num_hidden_layers": 18,
|
|
@@ -57,7 +57,7 @@
|
|
| 57 |
"sliding_window": 512,
|
| 58 |
"tie_word_embeddings": true,
|
| 59 |
"unsloth_fixed": true,
|
| 60 |
-
"unsloth_version": "2026.5.
|
| 61 |
"use_bidirectional_attention": false,
|
| 62 |
"use_cache": true,
|
| 63 |
"vocab_size": 262144
|
|
|
|
| 36 |
"full_attention"
|
| 37 |
],
|
| 38 |
"max_position_embeddings": 32768,
|
| 39 |
+
"model_name": "unsloth/functiongemma-270m-it-unsloth-bnb-4bit",
|
| 40 |
"model_type": "gemma3_text",
|
| 41 |
"num_attention_heads": 4,
|
| 42 |
"num_hidden_layers": 18,
|
|
|
|
| 57 |
"sliding_window": 512,
|
| 58 |
"tie_word_embeddings": true,
|
| 59 |
"unsloth_fixed": true,
|
| 60 |
+
"unsloth_version": "2026.5.6",
|
| 61 |
"use_bidirectional_attention": false,
|
| 62 |
"use_cache": true,
|
| 63 |
"vocab_size": 262144
|
functiongemma-vpc-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f1fa2e0b79ed54ebbacf7ffbc17c050af115eea29ff38a96ec7aabb00d1eda3
|
| 3 |
+
size 253127040
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
50,
|
| 7 |
+
106
|
| 8 |
+
],
|
| 9 |
+
"max_length": 32768,
|
| 10 |
+
"pad_token_id": 0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.5.0"
|
| 14 |
+
}
|