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

Is there a way to randomize and/or specify the seed in LLM? #76

Open
anastasiuspernat opened this issue Aug 27, 2024 · 1 comment
Open

Comments

@anastasiuspernat
Copy link

Usually in all models there's a way to specify the seed value for reproducibility. In addition I noticed that LLM/Llama model subsequent calls produce very similar results. So it would be really really cool to have an option to specify the seed, or at least a switch to randomize it on every call. Thank you!

@heshengtao
Copy link
Owner

In general, increasing the temperature can increase the richness. You can try using the extra parameters node to set more parameters for the LLM.Both top k and top p affect the randomness of LLM.

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