CoolFace
Apppublic

gnumanth/translategemma-4b-it

sourceHugging Facegemmaupdated 8mo agoView on Hugging Face
5likes
App README

TranslateGemma-4B-IT MCP Server

An MCP (Model Context Protocol) server for TranslateGemma-4B-IT, providing translation between 55 languages.

MCP Server

Connect to this server using HTTP:

POST https://gnumanth-translategemma-4b-it.hf.space/mcp

Available Tools

  • translate: Translate text between 55 languages
  • text: The text to translate
  • source_lang: Source language code (e.g., "en", "de", "fr")
  • target_lang: Target language code

Claude Code Configuration

Add MCP server:

bash
claude mcp add translategemma --transport http https://gnumanth-translategemma-4b-it.hf.space/mcp

Or add to ~/.claude/settings.json:

json
{
  "mcpServers": {
    "translategemma": {
      "type": "streamable-http",
      "url": "https://gnumanth-translategemma-4b-it.hf.space/mcp"
    }
  }
}

Web UI

You can also test translations directly in the web interface.

Supported Languages

en, de, fr, es, it, pt, nl, pl, cs, ru, uk, zh, ja, ko, ar, hi, bn, tr, vi, th, id, ms, sv, no, da, fi, el, he, ro, hu, bg, hr, sk, sl, sr, lt, lv, et, sw, ta, te, mr, gu, kn, ml, pa, ur, fa, fil, ca, gl, eu, cy, ga

Model Information

  • Model: google/translategemma-4b-it
  • Parameters: ~4B
  • Hardware: ZeroGPU (free)

License

This Space uses the Gemma license.