Skip to content

diversen/translategemma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://ollama.com/library/translategemma

Simple CLI wrapper around Ollama's translategemma model using the OpenAI Python client.

Install with uv:

uv tool install git+https://github.com/diversen/translategemma

This installs the translategemma package and exposes the gemma-translate command.

Usage:

translategemma --from en --to da "text to translate"
translategemma --from en --to da ./input.txt

Defaults:

  • OPENAI_BASE_URL=http://localhost:11434/v1
  • OPENAI_API_KEY=ollama
  • model name: translategemma:27b

Override the model with:

translategemma --from en --to da --model translategemma:latest "Hello world"

About

Simple CLI wrapper around gemma-translate

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages