Skip to content

webml-community/TranslateGemma-WebGPU

Repository files navigation

TranslateGemma Browser Translator

A web-based translation application powered by Google's TranslateGemma model, running entirely in your browser with Transformers.js and ONNX Runtime Web.

✨ Features

  • 🌍 56 Languages - Translate between 56 different languages
  • 🔒 Completely Private - All processing happens in your browser, no data sent to servers
  • 📴 Offline-Capable - Works offline after initial model download
  • Real-time Translation - Auto-translate with 500ms debounce
  • 🔗 Shareable Links - Share translations with URL hash parameters
  • 📱 Mobile Responsive - Optimized for both desktop and mobile devices
  • 💾 Local Caching - Model cached locally for instant subsequent loads

🤖 TranslateGemma

This application uses Google's TranslateGemma, a state-of-the-art language model specifically designed for translation tasks. TranslateGemma is part of Google's Gemma family of open models, delivering high-quality translations across 56 languages directly in your browser using Transformers.js and ONNX Runtime Web.

🔒 Completely Private & Offline-Capable

Your translations are processed entirely in your browser with no data sent to any server. Once the model is downloaded, you can use this translator completely offline. Your text never leaves your device, ensuring complete privacy and security. The model is cached locally, so subsequent visits will load instantly without any downloads.

About

TranslateGemma is a family of translation models from Google, built on top of Gemma 3. Everything runs entirely in your browser with 🤗 Transformers.js and ONNX Runtime Web. This 4B parameter model supports translations across 56+ languages with SOTA quality. Completely private & offline-capable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors