Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
dac4f17f
Unverified
Commit
dac4f17f
authored
Dec 10, 2025
by
Eloi Torrents
Committed by
GitHub
Dec 10, 2025
Browse files
cmd/bench: fix binary name in README (#13276)
parent
56b8fb02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cmd/bench/README.md
cmd/bench/README.md
+5
-5
No files found.
cmd/bench/README.md
View file @
dac4f17f
...
@@ -15,7 +15,7 @@ A Go-based command-line tool for benchmarking Ollama models with configurable pa
...
@@ -15,7 +15,7 @@ A Go-based command-line tool for benchmarking Ollama models with configurable pa
```
```
go build -o ollama-bench bench.go
go build -o ollama-bench bench.go
./bench -model gpt-oss:20b -epochs 6 -format csv
./
ollama-
bench -model gpt-oss:20b -epochs 6 -format csv
```
```
Using Go Run (without building)
Using Go Run (without building)
...
@@ -29,26 +29,26 @@ go run bench.go -model gpt-oss:20b -epochs 3
...
@@ -29,26 +29,26 @@ go run bench.go -model gpt-oss:20b -epochs 3
### Basic Example
### Basic Example
```
```
./bench -model gemma3 -epochs 6
./
ollama-
bench -model gemma3 -epochs 6
```
```
### Benchmark Multiple Models
### Benchmark Multiple Models
```
```
./bench -model gemma3,gemma3n -epochs 6 -max-tokens 100 -p "Write me a short story" | tee gemma.bench
./
ollama-
bench -model gemma3,gemma3n -epochs 6 -max-tokens 100 -p "Write me a short story" | tee gemma.bench
benchstat -col /name gemma.bench
benchstat -col /name gemma.bench
```
```
### With Image Prompt
### With Image Prompt
```
```
./bench -model qwen3-vl -image photo.jpg -epochs 6 -max-tokens 100 -p "Describe this image"
./
ollama-
bench -model qwen3-vl -image photo.jpg -epochs 6 -max-tokens 100 -p "Describe this image"
```
```
### Advanced Example
### Advanced Example
```
```
./bench -model llama3 -epochs 10 -temperature 0.7 -max-tokens 500 -seed 42 -format csv -output results.csv
./
ollama-
bench -model llama3 -epochs 10 -temperature 0.7 -max-tokens 500 -seed 42 -format csv -output results.csv
```
```
## Command Line Options
## Command Line Options
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment