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

English-to-Spanish translation with KerasHub: decoded sentence is the same as the input sentence #1969

Open
jorcisai opened this issue Oct 19, 2024 · 0 comments
Assignees

Comments

@jorcisai
Copy link

Issue Type

Bug

Source

source

Keras Version

3.6.0

Custom Code

Yes

OS Platform and Distribution

Linux Ubuntu 24.04

Python version

3.10.15

GPU model and memory

NVIDIA GeForce RTX 4060 8GB

Current Behavior?

The decoded sentence is the same as the input sentence

Standalone code to reproduce the issue or tutorial link

https://colab.research.google.com/drive/1NYqZTX0Cn4Gw4mRLt1hPUfXPIV0odrLs?usp=sharing

Relevant log output

encoder_input_tokens = [[  34. 1082.  119.   71.   72.  177.   11.    0.    0.    0.    0.    0.
     0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.
     0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.
     0.    0.    0.    0.]]
generated_tokens = [[   2. 1082.  119.  568.   72.  177.   11.    0.    0.    0.    0.    0.
     0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.
     0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.
     0.    0.    0.    0.]]
** Example 0 **
i grew up in that house.
diciendo tengo manera ú ese )
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