This file contains hidden or 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
| #!/bin/bash | |
| # Benchmark script to measure performance impact of logprobs with different topK settings | |
| # Usage: ./scripts/benchmark_logprobs.sh [model_name] | |
| set -e | |
| MODEL="${1:-gemma3:1b}" | |
| PROMPT="Write a short story about a robot." | |
| NUM_PREDICT=100 | |
| RUNS=5 |