embeddingGemma2Text constant
DownloadAsset
const embeddingGemma2Text
EmbeddingGemma 2, text, 270M parameters: 165 MB. A bi-encoder backend in Google's Decision Maker guide, and the model Google's web demo starts with: as fast as Laya here at a quarter of the download. From Google's LiteRT community on Hugging Face, Apache 2.0, pinned to its revision.
Implementation
static const embeddingGemma2Text = DownloadAsset(
url:
'https://huggingface.co/litert-community/'
'embeddinggemma-2-text-270m-litert-lm/resolve/'
'9be6e8b90982095dc05c2bd162e4b954ee4dbac7/'
'embeddinggemma-2-text-270m.litertlm',
sha256: '2d079ee2f6f066b1f368e8d7c819f55214eaef1d0513b312321901f30ab286fb',
);