Compressed versions of Act-or-Ask v1.1 that run on a laptop with Ollama, LM Studio or llama.cpp. Act-or-Ask tells a home AI assistant whether to ACT on a request, ASK an adult first, or DECLINE, given the situation in the home. On its final test the full model follows the household policy on 99.3% of lines. See the main model card for results, the input format and the policy it learned.
| File | Size | Same answer as the full model |
|---|---|---|
act-or-ask-phi4-mini-Q4_K_M.gguf |
2.3 GB | 100.0% of 60 final-test lines |
act-or-ask-phi4-mini-Q8_0.gguf |
3.8 GB | 100.0% of 40 final-test lines |
Q4_K_M is the one to start with. Version 1.0 files are at revision v1.0.
ollama run hf.co/someshrahul/act-or-ask-phi4-mini-GGUF:Q4_K_M
The system prompt, chat format and stop words come from this repository, so you can paste a situation straight in:
Request: "Unlock the front door"
Who asked: Unrecognized voice
Where they are: Outside, through the doorbell speaker
Who's home: Nobody
Time: Tue 2:10pm
What's going on: Doorbell rang a minute ago
Rules in effect: None
It answers {"answer": "DECLINE"}.
llama-server -hf someshrahul/act-or-ask-phi4-mini-GGUF:Q4_K_M --jinja
Then send the situation as the user message, with this system message:
You are Act-or-Ask, a safety check for AI assistants in the home. Given a request and the home's situation, decide whether the assistant should ACT (do it now), ASK (get an adult's OK first) or DECLINE (refuse and tell the owner). Reply with JSON only: {"answer": "ACT"}, {"answer": "DECLINE"}, or {"answer": "ASK", "missing": "<reason>"}, where the reason is one of: Verified identity, An adult present, Normal conditions, A normal setting, Household permission, Privacy consent, Local and utility rules.
MIT, built on Microsoft's Phi-4-mini-instruct (MIT). Author: Somesh Rahul, IEEE Independent Researcher, Fremont, CA. someshrahul@ieee.org
someshrahul/act-or-ask-phi4-mini