Sets the top-p value for generation.
Parameters
$topPfloatrequired- The top-p value.
Source
public function usingTopP(float $topP): self
{
$this->modelConfig->setTopP($topP);
return $this;
}
Changelog
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
Sets the top-p value for generation.
$topPfloatrequiredpublic function usingTopP(float $topP): self
{
$this->modelConfig->setTopP($topP);
return $this;
}
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.