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
Contrastive samples docs here: https://keras.io/api/keras_nlp/samplers/contrastive_sampler/
The function signature does not have a "seed" arg: keras_nlp.samplers.ContrastiveSampler(k=5, alpha=0.6, **kwargs)
keras_nlp.samplers.ContrastiveSampler(k=5, alpha=0.6, **kwargs)
But the docstring states: seed: int. The random seed. Defaults to None.
Probably just a docstring issue. Since this samples is a variant of BeamSampler, it probably does not need a seed.
The text was updated successfully, but these errors were encountered:
Yep, just a docs issue. Will fix up.
Sorry, something went wrong.
doc fix for constrastive sampler
5bfd140
Fixes keras-team#1481
doc fix for constrastive sampler (#1488)
194dbbd
Fixes #1481
doc fix for constrastive sampler (keras-team#1488)
c1b6b54
0c3428d
Fixes keras-team/keras-hub#1481
Successfully merging a pull request may close this issue.
Contrastive samples docs here:
https://keras.io/api/keras_nlp/samplers/contrastive_sampler/
The function signature does not have a "seed" arg:
keras_nlp.samplers.ContrastiveSampler(k=5, alpha=0.6, **kwargs)
But the docstring states:
seed: int. The random seed. Defaults to None.
Probably just a docstring issue. Since this samples is a variant of BeamSampler, it probably does not need a seed.
The text was updated successfully, but these errors were encountered: