Benagl5's picture
Add README with attribution to Google + upstream litert-community
219275f verified
metadata
license: gemma
base_model: google/translategemma-4b-it
pipeline_tag: text-generation
tags:
  - translation
  - on-device
  - mediapipe
  - litert
  - gemma
  - flutter_gemma
library_name: mediapipe

atlas-associates/TranslateGemma-4B-IT

This repository is a mirror / redistribution of litert-community/TranslateGemma-4B-IT provided under the Gemma license.

Why this mirror exists

Arc — a privacy-first end-to-end-encrypted messenger — uses TranslateGemma 4B as the on-device translation engine ("Rosetta") via the flutter_gemma package + MediaPipe LLM Inference. The upstream litert-community repository is gated (requires a Hugging Face login + Gemma license acknowledgement per user). Distributing the model through this mirror lets Arc download the model from end users' devices without bundling a Hugging Face access token in the Arc app or in app-config Firestore.

By downloading the model file from this mirror, you implicitly accept the upstream Gemma license terms. Atlas Associates Inc. acts only as a distribution mirror; the model weights are the property of Google.

Attribution

Item Source
Original model weights Google (google/translategemma-4b-it)
LiteRT-LM .task packaging Google AI Edge / LiteRT community (litert-community/TranslateGemma-4B-IT)
License Gemma Terms of Use
Mirror operator Atlas Associates Inc. (this repository)

Files

File Size Format Notes
translategemma-4b-it-int8-web.task ~3.63 GiB MediaPipe LiteRT .task (int8, GPU/CPU) Verbatim copy of the upstream file (sha256 matches upstream).

Usage

This file is consumed by the flutter_gemma package via:

await FlutterGemma.installModel(modelType: ModelType.gemmaIt)
    .fromNetwork(
      'https://huggingface.co/atlas-associates/TranslateGemma-4B-IT/resolve/main/translategemma-4b-it-int8-web.task',
      foreground: true,
    )
    .install();

The model runs entirely on-device — no data is sent to any server during inference. See Rosetta on-device translation in Arc for the user-facing product context.

License

Gemma — see https://ai.google.dev/gemma/terms and the LICENSE file in this repository.

By downloading, you agree to the Gemma Terms of Use as specified by Google. The terms include responsible-use commitments and prohibited-use limitations that you must read and comply with.

Contact

Issues with the mirror itself (broken file, missing version, takedown requests):

Issues with the model behavior (translation quality, performance):