def available_languages(weights: str = "m2m100") -> List[str]:
    """
    *Get all the languages available for a given model.*

    {{params}}
    {{weights}} The name of the model you are using. For example, "mbart50" is the multilingual BART Large with 50 languages available to use.
    """
    return _dict_from_weights(weights)["langs"]
*Get all the languages available for a given model.*

{{params}}
{{weights}} The name of the model you are using. For example, "mbart50" is the multilingual BART Large with 50 languages available to use.
dl_translate/utils.py