params optimize

This commit is contained in:
team 1
2026-03-06 08:16:13 +01:00
parent 9d288b0b08
commit 02e7cb3c68
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ final class ModelGenerationConfigManager
throw new \InvalidArgumentException('Top P must be between 0.0 and 1.0');
}
if ($config->getTopK() <= 0) {
if ($config->getTopK() < 0) {
throw new \InvalidArgumentException('Top K must be > 0');
}