We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c646d4 commit 2b0fef8Copy full SHA for 2b0fef8
src/guidellm/data/deserializers/synthetic.py
@@ -100,7 +100,7 @@ class SyntheticTextDatasetConfig(StandardBaseModel):
100
@model_validator(mode="after")
101
def check_prefix_options(self) -> SyntheticTextDatasetConfig:
102
prefix_count = self.__pydantic_extra__.get("prefix_count", None) # type: ignore[attr-defined]
103
- prefix_tokens = self.__pydantic_extra__.get("prefix_count", None) # type: ignore[attr-defined]
+ prefix_tokens = self.__pydantic_extra__.get("prefix_tokens", None) # type: ignore[attr-defined]
104
if prefix_count is not None or prefix_tokens is not None:
105
if self.prefix_buckets:
106
raise ValueError(
0 commit comments