Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty 'args' value in Neural Language Modeling "Training a transformer language model with the CLI tools" example model #5467

Open
lancioni opened this issue Mar 26, 2024 · 2 comments

Comments

@lancioni
Copy link

馃悰 Bug

The model trained (in Colab) according to instructions in Neural Language Modeling "Training a transformer language model with the CLI tools" example model has an empty 'args' value resulting .pt model. This contrasts with pretrained models downloable in the same page and creates problems with conversion by CTranslate2, since the converter expects keys in 'args'.

To Reproduce

Follow closely instructions in https://github.com/facebookresearch/fairseq/blob/main/examples/language_model/README.md

Expected behavior

The resulting model should have filled 'args' fields.

Environment

  • fairseq Version (installed through pip):
  • How you installed fairseq (`pip):
  • Free Google colab environment
@SarthakNikhal
Copy link

@lancioni This issue is only with the CLI version right? Does the Python code version work fine?

@lancioni
Copy link
Author

lancioni commented Apr 9, 2024

I didn't try actually. But I understand the CLI version is just calling the Python code, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants