Skip to content

As a user, I want a method for translating an input text using the MADLAD-400 model, so that I can generate translations for evaluation. #10

@laurejt

Description

@laurejt

Needs to support Chinese, Japanese, English, and Spanish but as possible make it easy to support other model-supported languages.

Use the MADLAD400-7B HuggingFace model.

Inputs:

  • tgt_lang: str: Target language. Use ISO 639 language codes
  • text: str: Text to be translated from the source to target language

Output: The translated text as a string.

NOTE: Unlike the other translation models, this model only needs the target language.

Metadata

Metadata

Assignees

Labels

👇this sprintWork scheduled for the current sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions