Downloads · 30 days
54
28% of all-time downloads
xThr45hx/EmbeddingGemma-300M-Tensor-G4-A17
EmbeddingGemma-300M-Tensor-G4-A17 is a feature extraction model from xThr45hx. Use it when you need embeddings to search or compare text. It is set up for litert. The card lists the license as gemma.
AOT-compiled EmbeddingGemma-300M for the Google Tensor G4 NPU (darwinn EdgeTPU), built with the official Google Tensor ML SDK (Beta).
Downloads · 30 days
54
28% of all-time downloads
All-time downloads
195
Public
Repo size
444 MB
Likes
0
Public
Click a slice to open those files.
.tflite376 MB · 85%
From the Hugging Face model README
AOT-compiled EmbeddingGemma-300M for the Google Tensor G4 NPU (darwinn EdgeTPU), built with the official Google Tensor ML SDK (Beta).
⚠️ Android firmware note — why this repo exists. The G4 NPU bytecode (DGC) is compiled against a specific Tensor NPU firmware. Builds compiled against Android 16 firmware fail to load on Android 17 (newer NPU runtime → "Failed to get Darwinn graph" / SB-invocation error). This repo holds an A17-targeted recompile on the current Beta SDK. The older Android 16 build: xThr45hx/EmbeddingGemma-300M-Tensor-G4-NPU.
🚧 Status: on-device A17 load verification in progress. This build compiles clean (2265/2265 ops, single partition, DGC0 + rio_a0); confirming it loads + runs on a real Android 17 device is the next step. Provisional until this note is updated.
embeddinggemma-300M_seq256_Google_Tensor_G4.tflite — seq256 (max 256 tokens in one pass), 768-d output. The efficient RAG workhorse for short chunks/queries. (A seq512 long-form variant may follow.)embeddinggemma-300M_seq256_mixed-precision.tflite from litert-community/embeddinggemma-300m (the plain, non-device-compiled mixed-precision file).ai-edge-litert-nightly + ai-edge-litert-sdk-google-tensor==2.1.5; official aot_compile(target=[TENSOR_G4]), no flags (mixed-precision path); mandatory google_tensor_backend import.eec2daf64f07f8cc84a92080c5e2afb00fc6bdf0cb688e00638c0229620b0b4a.Gemma — inherits from EmbeddingGemma. See the base model card for terms.