-
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
Error in Colab Example #6
Comments
same |
Use this Colab example. Note that in this example, the output is the token ids. To solve this problem, you have to follow this comment. Also, I faced another error and solved it using these two lines of code:
I think you have to use this only if you select the runtime to GPU. Here's my final code that runs properly:
(2) Translate using beam search (default)
(3) Translate using greedy search
(4) Translate using sampling search
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the following command, the error presented below is raised:
Beam search is the default generation method on Turjuman
!turjuman_translate --text "As US reaches one million COVID deaths, how are Americans coping?"
The text was updated successfully, but these errors were encountered: