Commit 736a28c
authored
Refactor DPP script (#168)
Refactors the DPP script primarily to improve code structure and readability.
- Modularizes the script with a `main()` and descriptive functions.
- Uses standalone functions for core logic e.g. `load_model`, `get_sampler`, and `get_valid_prompts`
- Separates AIU and CPU validation generation into distinct paths as well as metric-validation and token-reporting test types
- Adds high-level docstrings
---------
Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>1 parent b0cf126 commit 736a28c
1 file changed
Lines changed: 1217 additions & 538 deletions
0 commit comments