A Rust crate with some utilities for machine translation
Find a file
2025-06-27 23:53:13 +01:00
assets Initial 2025-06-16 01:31:14 +01:00
src Added get all langcodes function 2025-06-27 23:53:13 +01:00
Cargo.lock Initial 2025-06-16 01:31:14 +01:00
Cargo.toml Initial 2025-06-16 01:31:14 +01:00
README.md Added Readme 2025-06-20 23:24:28 +01:00

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)