Skip to content

Commit

Permalink
Update "Model options" section
Browse files Browse the repository at this point in the history
  • Loading branch information
taketwo committed May 7, 2024
1 parent 4b31ddf commit e298e8d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ Ollama: stable-code:3b (aliases: stable-code:code, stable-code:latest, stable-co

## Model options

All models accept the following options, using `-o name value` syntax:
All models accept [Ollama modelfile parameters](https://github.com/ollama/ollama/blob/main/docs/modelfile.md#parameter) as options. Use the `-o name value` syntax to specify them, for example:

- `-o temperature 0.8`: The temperature of the model. Increasing the temperature will make the model answer more creatively.
- `-o temperature 0.8`: set the temperature of the model
- `-o num_ctx 256000`: set the size of the context window used to generate the next token

See the referenced page for the complete list with descriptions and default values.

## Development

Expand Down

0 comments on commit e298e8d

Please sign in to comment.