Inconsistency between model name and the model architecture from config.json

#22
by jiang784 - opened

Hello,

I was recently browsing nlln models on HuggingFace and I came across this model: "facebook/nllb-200-distilled-600M". I noticed a discrepancy that I'd like to bring to your attention.

According to the model's name, it's supposed to be a NLLB model. However, in the config.json file, the model_type and architecture are labeled as 'M2M', not 'NLLB'.

Here are the pertinent details:
Model name: facebook/nllb-200-distilled-600M
model_type in config.json: m2m_100
architectures in config.json: M2M100ForConditionalGeneration

I noticed that Hugging Face does provide a label for NLLB models. This discrepancy could potentially lead to confusion when users are trying to understand the underlying architecture of this model.

I wanted to bring this to your attention in case it was an oversight. If it's not an oversight and there's a specific reason for this labeling, I'd appreciate it if you could clarify.

Thank you for your time and the work you've put into developing this model. I look forward to your response.

Hello @jiang784 , I answered you on this thread, putting it here so that this issue has an answer:

https://huggingface.co/facebook/nllb-200-3.3B/discussions/7#651155f2d7a8aeb48b214bd2

lysandre changed discussion status to closed

Sign up or log in to comment