-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flags for varying NIM seed and temperature every call (#808)
* add support for configured random seed (as per API spec) * add support for varying temp, seed per call - enabled by default * use instance-based seed, set from config in constructor; rely on None safeguards * prune unused import * let config do its work instead of accessing config_root directly * prefer `hasattr` to `dir` Signed-off-by: Jeffrey Martin <[email protected]> * default `seed` to `None` Signed-off-by: Jeffrey Martin <[email protected]> --------- Signed-off-by: Jeffrey Martin <[email protected]> Co-authored-by: Jeffrey Martin <[email protected]>
- Loading branch information
1 parent
9df0d8e
commit b6792a4
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters