You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your suggestion. Are you aware whether the seed parameter plays any role if the temperature is set to 0? I have to admit that I did not dig deeper into this topic, but always had an impression that the seed is only relevant when the temperature is positive, otherwise the model is already (almost) deterministic.
Thank you for creating and maintaining this awesome project!
OpenAI recently introduced the
seed
parameter to make their models' text generation and chat completion behavior (more) reproducible (see https://cookbook.openai.com/examples/reproducible_outputs_with_the_seed_parameter).I think it would be great if you could enable users of your package to control this parameter when using OpenAI models as a backend (i.e., in the files here: https://github.com/iryna-kondr/scikit-llm/tree/main/skllm/models/gpt)
The
seed
parameter could be hard-codedscikit-llm/skllm/llm/gpt/clients/openai/completion.py
Line 50 in 0bdea94
temperature=0.0
.Alternatively, users could pass
seed=<SEED>
via**kwargs
.The text was updated successfully, but these errors were encountered: