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

Neural machine translation with transformer decoded sentence is the same as input sentence #1968

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?

I have noticed that the decoded sentence is the same as the input sentence (please see [1]).

Standalone code to reproduce the issue or tutorial link

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

Relevant log output

tf.Tensor(
[[ 34 358  31  42   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    0   0]], shape=(1, 20), dtype=int64)
tf.Tensor(
[[  2 358  31  42   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    0   0]], shape=(1, 20), dtype=int64)
I'm angry with her.
[start] estudiar las esta
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