-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add summary metrics to saved json file (#46)
At the end of the run GuideLLM will print summary metrics that are computed from the raw results, but these are not currently saved anywhere. This PR adds these metrics as serializable properties of the `TextGenerationBenchmark` class. Most of the metrics are already declared as properties, but are not serializable. Adding the `@computed_field` decorator is enough in these cases. Other properties were added to complete the list.
- Loading branch information
Showing
2 changed files
with
101 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters