src/transformers/models/m2m_100/tokenization_m2m_100.py/M2M100Tokenizer/get_lang_id
class M2M100Tokenizer:    def get_lang_id(self, lang: str) -> int:
        lang_token = self.get_lang_token(lang)
        return self.lang_token_to_id[lang_token]