Machine Learning Tech Brief By HackerNoon

This story was originally published on HackerNoon at: https://hackernoon.com/i-taught-a-small-model-to-say-no-to-my-smart-home.
An open 3.8B model that decides whether a home AI assistant should act, ask an adult first or decline. 99.3% on a held-out test, and it runs locally.
Check more stories related to machine-learning at: https://hackernoon.com/c/machine-learning. You can also check exclusive content about #ai-safety, #huggingface-ai-models, #small-language-models, #open-source-ai, #model-fine-tuning, #synthetic-training-data, #household-ai-assistants, #human-in-the-loop-ai, and more.

This story was written by: @someshrahul. Learn more about this writer by checking @someshrahul's about page, and for more stories, please visit hackernoon.com.

Home AI assistants need a third answer besides yes and no: ask an adult first. I fine-tuned Microsoft's Phi-4-mini on my own household rules so it decides ACT, ASK or DECLINE for every request. On 60 situations it had never seen, it follows the policy on 99.3% of lines. The same model with the rules pasted into its prompt managed 49.7% and never once said DECLINE. It runs on a laptop with one Ollama command, and the weights and benchmark are open.

What is Machine Learning Tech Brief By HackerNoon?

Learn the latest machine learning updates in the tech world.