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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare data for NLLB finetuning - what is the format of data files? #18

Closed
edchengg opened this issue Dec 20, 2022 · 2 comments
Closed

Comments

@edchengg
Copy link

Hello, @kauterry! Thanks a lot for the detailed answers on other issues.
I would like to prepare data for NLLB finetuning using the pre-trained SPM model.
My question is "what is the format of these files?" in the README.
For example, I am assuming the format is "one sentence at each line"?

$ tree $DATA_PATH
my_corpora
├── arb_Arab-eng_Latn
│   ├── mycorpus.arb_Arab.gz
│   └── mycorpus.eng_Latn.gz
└── eng_Latn-lij_Latn
    ├── nllbseed.eng_Latn.gz
    ├── nllbseed.lij_Latn.gz
    ├── tatoeba.eng_Latn.gz
    └── tatoeba.lij_Latn.gz
@kauterry
Copy link

Yes, that is correct. src sentence and it's translation (tgt) sentence in the src, tgt files. One sentence per line.

@edchengg
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants