You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add option to load the marian architecture at initialization (e.g. dlt.TranslationModel("marian"))
Add an option to find all of the languages (and code) available for a certain variant trained using marian, e.g. dlt.utils.available_languages("opus-en-romance")
An option to leverage autocomplete such as dlt.lang.opus.en_romance.ENGLISH, but the options would be limited to only what's available with the variance (i.e. romance)
TBD
The text was updated successfully, but these errors were encountered:
Wonder if above should return a dictionary {"source": [...], "target": [...]}, a tuple of (source, target)? Or we would need to specify what to return: dlt.utils.available_languages("opus", source="en", target="romance", return_type="source")?
See Marian: https://huggingface.co/transformers/model_doc/marian.html
See helsinki-nlp's models: https://huggingface.co/Helsinki-NLP
We'd need
dlt.TranslationModel("marian")
)dlt.utils.available_languages("opus-en-romance")
dlt.lang.opus.en_romance.ENGLISH
, but the options would be limited to only what's available with the variance (i.e. romance)The text was updated successfully, but these errors were encountered: