A Rust crate with some utilities for machine translation
| assets | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
machine-translation
Simple Rust crate for translating between languages using either one of the Helsinki-NLP Opus models or Googles Madlad400 3B model. The crate handles:
- Model downloading/deleting
- Model inference
- Input preprocessing (splitting based on max token length)