Downloads · 30 days
0
pierretokns/functiongemma-270m-ccmcp-v1
functiongemma-270m-ccmcp-v1 is a text generation model from pierretokns. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
FunctionGemma 270M trained for Claude Chrome MCP tool calling
Downloads · 30 days
0
Access
Public
Updated Jan 27, 2026
Repo size
33.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors40.6 MB · 100%
From the Hugging Face model README
FunctionGemma 270M trained for Claude Chrome MCP tool calling
Attribution: Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
Fine-tuned for MCP (Model Context Protocol) tool calling with the Claude Chrome extension. The model generates tool calls for browser automation tasks.
{base}-{size}-ccmcp-{version}
ccmcp = Claude Chrome MCPadapters.safetensors - LoRA adapter weightsadapter_config.json - LoRA configurationfunctiongemma-270m-ccmcp-v1-f16.gguf - GGUF F16 format for llama.cpp/Ollamacheckpoints/ - Training checkpointsfrom mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
model, tokenizer = load(
"mlx-community/functiongemma-270m-it-4bit",
adapter_path="pierretokns/functiongemma-270m-ccmcp-v1"
)
messages = [
{"role": "system", "content": "You are a browser automation assistant with MCP tools."},
{"role": "user", "content": "Go to google.com"}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
sampler = make_sampler(temp=0.1)
response = generate(model, tokenizer, prompt=prompt, max_tokens=150, sampler=sampler)
print(response)
# Download GGUF from this repo
# Create Modelfile:
cat > Modelfile << 'EOF'
FROM ./functiongemma-270m-ccmcp-v1-f16.gguf
PARAMETER num_ctx 8192
PARAMETER temperature 0.1
SYSTEM "You are a browser automation assistant with MCP tools."
EOF
# Create and run
ollama create functiongemma-270m-ccmcp-v1 -f Modelfile
ollama run functiongemma-270m-ccmcp-v1 "Go to google.com"
ANTHROPIC_BASE_URL=http://localhost:11434 \
ANTHROPIC_AUTH_TOKEN=ollama \
ANTHROPIC_API_KEY=ollama \
claude --model functiongemma-270m-ccmcp-v1
The model was trained on 16 MCP browser automation tools: navigate, read_page, find, computer, form_input, get_page_text, screenshot, javascript_tool, tabs_context_mcp, tabs_create_mcp, gif_creator, upload_image, read_console_messages, read_network_requests, shortcuts_list, shortcuts_execute
This model is subject to the Gemma Terms of Use.
Important: By using this model, you agree to:
If you redistribute this model or derivatives, you must include these terms.