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

For the inference, how can we do the alignment? #9

Open
Alexsong111 opened this issue Aug 4, 2023 · 2 comments
Open

For the inference, how can we do the alignment? #9

Alexsong111 opened this issue Aug 4, 2023 · 2 comments

Comments

@Alexsong111
Copy link

Alexsong111 commented Aug 4, 2023

When we do inference, we do not have aligned input. If we input "Dcmen", the output should be "Documen", which will be longer than the maximum length allowed. Could you please answer this question? Thank!

@Alexsong111 Alexsong111 changed the title For the inference, how can we do the alignment. For the inference, how can we do the alignment? Aug 4, 2023
@jarobyte91
Copy link
Owner

Can you send a code snippet of what you are trying to do? Also, did you FULLY run the second script in the main page? The one titled "Load one of the pre-trained models"?

@jarobyte91
Copy link
Owner

I just ran the code snippet and it works, it doesn't have any trouble outputting sequences longer than the input. Optionally, you can run the script in tests/load_model.py

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