Grab has evolved its translation capabilities by developing an in-house translation service to improve quality and cost efficiency. This involved implementing on-the-fly language detection using Lingua, with a fallback to a third-party service. To enhance translation quality, a custom lightweight translation model was trained using synthetic data generated from a larger LLM, incorporating domain-specific context and a post-translation quality check to mitigate issues like number mutation. Caching was implemented to reduce costs, and system messages were optimized for translation.
All Grab trails