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_help is 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
-
GGUF
Model size
0.3B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for manfye/PetInst-LLM-270M-Intent-v2.2-GGUF

Finetuned
(490)
this model