« All posts

Cactus Hybrid: Training Gemma 4 to Recognize Its Mistakes

Cactus has improved the Gemma 4 model to recognize its mistakes. The on-device model now provides reliable responses with confidence scores.

The Cactus team has enhanced the Gemma 4 model to identify when it is incorrect. The model provides a confidence score for its responses, allowing developers to rely on the on-device model for high scores and defer to a cloud model for lower ones. This approach optimizes resource use while maintaining accuracy.