-
Notifications
You must be signed in to change notification settings - Fork 21
How to handle tags #189
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
Comments
What is probably super clear in your head is not in your post above, please clarify what you mean with your tag thing and post your config. |
Input Output The translation is not maintaining the tags I am using pretrained weight nllb-200-1.3B-onmt.pt Or any suggestions would help me to fine-tune the data on pretrained weight |
Any suggestions will help me a lot. |
@chillum-codeX I edited your comments with backticks to properly show the html-like tags, otherwise hidden by Github rendering. Most models should be able to naively output some form of tags in examples such as provided, even if not placed properly. The fact that there are none at all might indicate some tokenization/vocab related issue. (E.g. if the tags are tokenized improperly, and can't be handled as is by the token.) Also, you mention some pretrained model |
Than how to fine tune nllb with EOLE Previously I have used openmt py |
I just opened #204 to facilitate the conversion of NLLB models. I'll close this issue as it's not very specific. If you need further assistance, please open a topic in the Discussions tab, which is more appropriate for broad support requests. I probably won't add any finetuning recipe there for now, but it should be quite straightforward to adapt from the opennmt ones (#69). Feel free to PR a valid finetuning config once you get it running! |
Uh oh!
There was an error while loading. Please reload this page.
I am training a model for en to spanish and spanish to english but when I am doing translation unable to handle tags
Input
for sutures is an art<g1> </g1>learned through practice, the knowledge of what<g2> </g2>happens at the cellular and
The output should looks like
Les sutures sont un art<g1> </g1> appris par la pratique, la connaissance de ce qui<g2> </g2> se passe au niveau cellulaire.
But I am getting
Translation:
Les coutures sont un art appris par la pratique, la connaissance de ce qui se passe au niveau cellulaire et pour
The text was updated successfully, but these errors were encountered: