Run this model with HF Jobs

Run google/translategemma-4b-it on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/google/translategemma-4b-it. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/google/translategemma-4b-it on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/google/translategemma-4b-it. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/google/translategemma-4b-it. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Are there plans to provide task or litertlm versions for the litt-literature community?

#5
by willopcbeta - opened

Hello
I would like to ask whether tasks will be provided through litert-community in the future, or whether web.litertlm or .litertlm versions will be available for use in the Web or Edge Gallery.

Google org

Hi @willopcbeta
We appreciate your interest in deploying Gemma via LiteRT on Web and Edge. While we cannot share specific plans for .litertlm versions at this time, I will pass on your feedback request to the relevant development team .
Thanks

I'm very looking forward to the day when it is officially released. Currently, the translation website I built using @mediapipe/tasks-genai delivers unexpectedly good translation speeds and quality on both computers and mobile devices (using models Gemma-3n and Gemma-3).

Screenshot_20260120-043022

+1 on this request!

I'm trying to deploy TranslateGemma 4B in a native Android app using MediaPipe's LlmInference API. The web .task from litert-community doesn't work with the XNNPACK/GPU delegates on mobile.

Would love to see an official mobile-compatible .task bundle for Android/iOS deployment.

Sign up or log in to comment