huggingface / hub-docs

Docs of the Hugging Face Hub
http://hf.co/docs/hub
Apache License 2.0
302 stars 253 forks source link

Update NLLB documentation to reflect current behavior #1331

Open sotwi opened 4 months ago

sotwi commented 4 months ago

Doc request Substitute mentions of tokenizer.lang_code_to_id from NLLB documentation.

Additional context huggingface/transformers#29834 removed lang_code_to_id from NLLBTokenizer and NLLBTokenizerFast but the documentation on the website still makes use of it:

https://github.com/huggingface/transformers/blob/52585019a17f6033df64e6ad4222d22a1f993c61/docs/source/en/model_doc/nllb.md?plain=1#L104

https://github.com/huggingface/transformers/blob/52585019a17f6033df64e6ad4222d22a1f993c61/docs/source/en/model_doc/nllb.md?plain=1#L129

https://github.com/huggingface/transformers/blob/52585019a17f6033df64e6ad4222d22a1f993c61/docs/source/en/model_doc/nllb.md?plain=1#L178

julien-c commented 4 months ago

Hi, can you open this issue on the transformers repo instead?