mirror of
https://github.com/ollama/ollama.git
synced 2026-04-26 02:36:09 +02:00
modernize
This commit is contained in:
@@ -149,7 +149,7 @@ func BenchmarkChat(fOpt flagOptions) error {
|
||||
|
||||
for _, model := range models {
|
||||
for range *fOpt.epochs {
|
||||
options := make(map[string]interface{})
|
||||
options := make(map[string]any)
|
||||
if *fOpt.maxTokens > 0 {
|
||||
options["num_predict"] = *fOpt.maxTokens
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user