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

Add example using seed param to get consistent outputs #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mrkiura
Copy link

@mrkiura mrkiura commented Jan 25, 2024

Updates the examples directory with an example that demonstrates how to reprodduce similar outputs.

Copy link

@furqanalishah furqanalishah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks lgtm

@mrkiura
Copy link
Author

mrkiura commented Jan 25, 2024

I appreciate you taking a look.

@mxyng
Copy link
Collaborator

mxyng commented Jan 25, 2024

Setting seed alone won't achieve reproducible outputs.

The fill-in-middle example sets temperature=0 which is sufficient for generating reproducible outputs.

@mrkiura
Copy link
Author

mrkiura commented Jan 26, 2024

You are right. The temperature here should be zero. I observed little variance between a value of 0 and 0.1.

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

Successfully merging this pull request may close these issues.

None yet

3 participants