mediapipe_decision 0.1.2
mediapipe_decision: ^0.1.2 copied to clipboard
Google's MediaPipe Decision Maker for Flutter: yes-or-no, choice and score questions about a text, answered with calibrated probabilities.
0.1.2 #
Release 0.1.2.
0.1.1 #
Adds Google's NOTICE at the package root.
0.1.0 #
The first release.
- Decision Maker on Android, iOS, macOS, Linux, Windows and the web, through
Google's official MediaPipe runtimes: its per-family 1.2.0 decision C
library natively and
@mediapipe/tasks-decisionin browsers. - Decision Maker needs 64-bit Android: 32-bit (armeabi-v7a) cannot hold its
models, and
queryDecisionMakerCapabilitiessays so. evaluateBoolean,evaluateChoiceandevaluateScorewith Google'sBooleanQuestion,ChoiceQuestionandScoreQuestion, plus their batch forms, with the same results on every platform.DecisionModelspins Google's Laya, GLiNER2.5-Decide and EmbeddingGemma 2 models;queryDecisionMakerCapabilities(model)says where a model runs, since Google's browser runtime embeds every text as zeros with either EmbeddingGemma 2 model in WebKit (UP-054) and aborts with GLiNER2.5-Decide in every browser (UP-055).maxNumTokensdefaults to 0, the model's own token budget, rather than the 4096 of Google's Python API: Google's engine reserves memory for the whole budget, 6.7 GB with EmbeddingGemma 2 at 4096, beyond what iOS gives an iPhone app (UP-060).- In browsers Google's runtime ignores
normalizePriorandscoringMode(UP-056), as the questions' documentation says.