Add a parallel sampling case (#34)
This commit is contained in:
@@ -50,7 +50,7 @@ def gen(
|
||||
regex: Optional[str] = None,
|
||||
):
|
||||
if choices:
|
||||
return SglSelect(name, choices, temperature)
|
||||
return SglSelect(name, choices, 0.0 if temperature is None else temperature)
|
||||
|
||||
# check regex is valid
|
||||
if regex is not None:
|
||||
|
||||
Reference in New Issue
Block a user