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

LLMConfig add seed #1311

Merged
merged 1 commit into from
Oct 20, 2024
Merged

LLMConfig add seed #1311

merged 1 commit into from
Oct 20, 2024

Conversation

chenchun0629
Copy link

Features: LLMConfig add seed

@@ -76,6 +77,7 @@ class LLMConfig(YamlModel):
best_of: Optional[int] = None
n: Optional[int] = None
stream: bool = True
seed: Optional[int] = None
Copy link
Owner

Choose a reason for hiding this comment

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

If you just add the seed here but don't use it in the code, it won't take effect.

Copy link
Owner

@geekan geekan left a comment

Choose a reason for hiding this comment

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

Then add the underlying logic of seed

@geekan geekan merged commit 8387e28 into geekan:main Oct 20, 2024
0 of 2 checks passed
@geekan
Copy link
Owner

geekan commented Oct 20, 2024

注意到底层逻辑没有实现,这里单独增加 seed 是没用的。如果你有时间,希望你可以补齐底层逻辑

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.

2 participants