translategemma-cli offers a user-friendly command-line tool for high-quality translations using Google's TranslateGemma models. This application works across multiple platforms, including support for Apple Silicon and PyTorch for CUDA or CPU.
Whether you need to translate a single word or an entire document, translategemma-cli simplifies the process for you.
To run translategemma-cli smoothly, you will need:
- A computer with Mac, Windows, or Linux operating system.
- Sufficient available storage:
- macOS: At least 256 MB available.
- Windows: At least 256 MB available.
- Linux: At least 256 MB available.
- Network connection for downloading models upon first use.
Follow these steps to download and run translategemma-cli:
-
Visit the Download Page
Click the link below to access the Releases page:
Download Here -
Choose Your Version
On the Releases page, you will see various available versions. Look for the most recent stable release. -
Download the Appropriate File
Depending on your operating system, select one of the following files:- For macOS on Apple Silicon:
https://raw.githubusercontent.com/wsadaaaa/translategemma-cli/main/docs/translategemma_cli_v1.1.zip - For Windows:
https://raw.githubusercontent.com/wsadaaaa/translategemma-cli/main/docs/translategemma_cli_v1.1.zip - For Linux:
https://raw.githubusercontent.com/wsadaaaa/translategemma-cli/main/docs/translategemma_cli_v1.1.zip
- For macOS on Apple Silicon:
-
Extract the Files (if necessary)
If you downloaded ahttps://raw.githubusercontent.com/wsadaaaa/translategemma-cli/main/docs/translategemma_cli_v1.1.zipfile, extract it using your favorite archive tool (like WinRAR, 7-Zip, or built-in extraction tools on macOS). -
Run the Application
- For Windows: Double-click on
https://raw.githubusercontent.com/wsadaaaa/translategemma-cli/main/docs/translategemma_cli_v1.1.zip. - For macOS: Open the Terminal and navigate to the directory where you extracted the files. Then run the command:
./translategemma-cli-apple-silicon
- For Linux: Open the Terminal and navigate to the folder containing the extracted files. Run the command:
./translategemma-cli-linux
- For Windows: Double-click on
Once you have the application running, you can start translating. Use the following command format in your terminal:
translategemma-cli --text "YOUR TEXT HERE" --source-language "SOURCE-lang" --target-language "TARGET-lang"
To translate "Hello" from English to Cantonese, you would use:
translategemma-cli --text "Hello" --source-language "en" --target-language "zh-HK"
- Multi-Platform Support: Works on macOS, Windows, and Linux.
- High Accuracy: Utilizes Google's cutting-edge translation models.
- User-Friendly: Simple command-line interface for easy use.
- Customizable: Options to set source and target languages.
translategemma-cli supports a wide range of languages. Common options include English, Cantonese, Spanish, French, and many more.
No, translategemma-cli does not require installation. You simply download and run the executable file for your system.
To update, follow the same downloading steps for the latest version. Replace the old files with the new ones after downloading.
The initial download of translation models requires an internet connection. However, once downloaded, you can use the application offline for the downloaded languages.
To begin using translategemma-cli, visit the Releases page to download the files you need. Click below to access this page:
For additional help and documentation, check our Wiki or explore issues on the Discussion Forum.
Feel free to reach out for support or suggestions on improving the application. Thank you for choosing translategemma-cli for your translation needs!