We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, how can I ignore unk tokens while decoding? It probably just means setting the weight to zero.
So I want to do something like this:
if ignore_unk: next_probs[:, self.unk_id] = 0
How can I do this in your code?
Thanks.
The text was updated successfully, but these errors were encountered:
You can probably modify the decoding function inside: NeuralDialog-CVAE/models/decoder_fn_lib.py
Sorry, something went wrong.
Is there a way you can implement that? I don't know how to do that myself.
?
No branches or pull requests
Hi, how can I ignore unk tokens while decoding? It probably just means setting the weight to zero.
So I want to do something like this:
How can I do this in your code?
Thanks.
The text was updated successfully, but these errors were encountered: