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 5c06a8a commit 59ab003Copy full SHA for 59ab003
src/guidellm/data/preprocessors/formatters.py
@@ -104,7 +104,7 @@ def __call__(
104
if prefix or text:
105
arguments.body["prompt"] = prefix + text
106
stats = text_stats(arguments.body["prompt"])
107
- input_metrics.text_characters = stats.get("num_chars") # type: ignore[assignment] #
+ input_metrics.text_characters = stats.get("num_chars")
108
input_metrics.text_words = stats.get("num_words")
109
110
return GenerationRequest(
0 commit comments