Instructions to use manfye/PetInst-LLM-270M-Intent-v2.2-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 manfye/PetInst-LLM-270M-Intent-v2.2-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 manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Use Docker
docker model run hf.co/manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "manfye/PetInst-LLM-270M-Intent-v2.2-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "manfye/PetInst-LLM-270M-Intent-v2.2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
- Ollama
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with Ollama:
ollama run hf.co/manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
- Unsloth Desktop
- Pi
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with Docker Model Runner:
docker model run hf.co/manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
- Lemonade
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Run and chat with the model
lemonade run user.PetInst-LLM-270M-Intent-v2.2-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use manfye/PetInst-LLM-270M-Intent-v2.2-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 manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
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:9931/v1 hermes config set model.default manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use manfye/PetInst-LLM-270M-Intent-v2.2-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0
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:9931/v1 \ --custom-model-id "manfye/PetInst-LLM-270M-Intent-v2.2-GGUF:Q8_0" \ --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"
Access PetInst-LLM under the Gemma Terms
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This is a modified Gemma model derivative. By accessing it, you agree to the Gemma Terms of Use and incorporated Prohibited Use Policy linked in this repository.
Log in or Sign Up to review the conditions and access this model content.
PetInst-LLM 270M Intent v2.2 Companion โ Q8_0 GGUF
PetInst-LLM 270M Intent v2.2 is an independently modified, fine-tuned derivative of Google's google/functiongemma-270m-it. It is a narrow, silent intent selector for virtual pets and companion applications. Given current pet context plus 3โ10 declared high-level functions, it selects exactly one function and does not generate conversational dialogue.
This project is not affiliated with, sponsored by, or endorsed by Google. Google DeepMind created the upstream FunctionGemma model; the PetInst-LLM project created and evaluated these modifications.
Artifact
- File:
petinst-functiongemma-270m-intent-v2.2-step300-q8_0.gguf - Quantization: Q8_0
- Size: 291,557,760 bytes (278.05 MiB)
- SHA-256:
537af3cf4a555cd6c9cb39ddff515cae3a643f7327000c2006e2c362124228e9 - Selected checkpoint:
intent-v2.2-companion-contrast-step300 - Runtime: llama.cpp-compatible GGUF; the reference Expo application uses
llama.rn - Evaluation output limit: 40 tokens
- Stop sequence:
<end_function_call>
Intended contract
The runtime supplies native FunctionGemma declarations for a bounded subset of these stable semantic functions:
pet_eat, pet_rest, pet_play, pet_seek_attention, pet_comfort_owner, pet_celebrate, pet_acknowledge, pet_idle, pet_remember, pet_self_care, pet_refuse, pet_withdraw, and pet_ask_for_help.
The only accepted model result is one declared function with an empty argument object:
<start_function_call>call:pet_comfort_owner{}<end_function_call>
The model does not produce chat, renderer commands, memory text, rewards, status deltas, purchases, URLs, or arbitrary native calls. Trusted application code must validate the selection and construct all parameters and consequences deterministically.
Companion interaction training
The v2.2 curriculum contains 16,240 training rows, 2,140 validation rows, and 640 hard semantic-contrast training rows. It uses original, short English companion utterances shaped around greetings, affection, owner distress, external anger, pet-directed anger, play, care, achievements, attention, explicit memory directives and opt-outs, boundaries, withdrawal, and requests for help.
No third-party conversation text or raw private audit export is included. Research sources informed the interaction taxonomy only. Exact normalized transcript leakage from the frozen v2.1 natural control into v2.2 training is zero.
Q8_0 evaluation
| Metric | Balanced Control G, 1,352 rows | Natural Control H, 1,000 rows |
|---|---|---|
| Strict function-call validity | 100.00% | 99.80% |
| Intent accuracy | 94.16% | 93.70% |
| Directed-negative accuracy | 100.00% | 100.00% |
| External-distress accuracy | 100.00% | 87.78% |
| Explicit-memory recall | 100.00% | 100.00% |
| Memory false-positive rate | 0.00% | 0.00% |
| Unavailable-function rate | 0.00% | 0.20% |
| Ten-tool accuracy | 87.31% | 93.23% |
| Maximum position gap | 4.39 points | 11.02 points |
The consumed 10-row app-regression set reached 10/10. That small set is regression evidence, not a generalization benchmark. Full machine-readable scores and predictions are included under evaluation/.
Important limitations
- This model is a virtual-pet intent classifier, not a general assistant or chatbot.
- Natural external-distress accuracy is 87.78%; subtle owner-support phrasing can still be confused.
- State-driven accuracy is only 39.23% on Control G and 37.50% on Control H. Hunger, energy, comfort, heartbeat, behavior precedence, and persisted consequences should remain deterministic host responsibilities.
pet_ask_for_helpis the weakest balanced intent at 79.81%.- The natural suite's 11.02-point position gap means declaration order should be rotated and every output must be validated.
- The supplied data is synthetic, English-only, and shaped to one bounded product contract.
- Desktop llama.cpp evaluation and iOS Simulator loading do not prove physical-device latency, memory pressure, thermal behavior, or airplane-mode operation.
- Invalid, unavailable, parameterized, multiple, or prose-bearing output must fail safely without rewards, memory writes, purchases, or state mutation.
Reference runtime policy
The reference runtime uses greedy decoding, a maximum of 40 output tokens, and the <end_function_call> stop sequence. It exposes 5โ10 tools in normal product use, always retains memory and negative-boundary choices, and treats all model output as untrusted data. See runtime.json and manifest.json for the machine-readable contract.
Terms and modification notice
Access and use are subject to the Gemma Terms of Use and incorporated Gemma Prohibited Use Policy. See NOTICE and MODIFICATIONS.md.
- Downloads last month
- -
8-bit
Model tree for manfye/PetInst-LLM-270M-Intent-v2.2-GGUF
Base model
google/functiongemma-270m-it