embeddingGemma constant

DownloadAsset const embeddingGemma

Google's unmodified EmbeddingGemma 300M task, mixed int4/int8, version 1. Maximum sequence length: 512 tokens, including prompt and special tokens.

Implementation

static const embeddingGemma = DownloadAsset(
  url:
      'https://huggingface.co/litert-community/'
      'MediaPipe-TextEmbedder-EmbeddingGemma-300M/resolve/'
      '93c96b51d328c85e4cbbfe3039d3cd9b98d8a55d/'
      'embedding_gemma.task',
  sha256: '913b7a1edc7c7c3d1da3979ec1d0648ed9e0a370f181bb59ab177ca4b97707ad',
);