-
Notifications
You must be signed in to change notification settings - Fork 11
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
Token ids generated instead of translation #3
Comments
Hi Ahmed, |
To integrate Turjuman with your python code, take a look at this notebook. |
when you run that notebook, you get only the target ids, as shown in the screenshot. |
Thanks Ahmed, we will check this soon |
quick fix |
Hey there, I hope you're doing fine.
when running the command:
turj.translate
it returns the token ids instead of the actual translation?
(see the output below)
2022-07-07 10:41:43 | INFO | turjuman.translate | Using beam search
tensor([[ 0, 6538, 2, 76, 6380, 1]])
The text was updated successfully, but these errors were encountered: