- 30 Aug, 2023 1 commit
-
-
Quinn Slack authored
The `stop` option to the generate API is a list of sequences that should cause generation to stop. Although these are commonly called "stop tokens", they do not necessarily correspond to LLM tokens (per the LLM's tokenizer). For example, if the caller sends a generate request with `"stop":["\n"]`, then generation should stop on any token containing `\n` (and trim `\n` from the output), not just if the token exactly matches `\n`. If `stop` were interpreted strictly as LLM tokens, then it would require callers of the generate API to know the LLM's tokenizer and enumerate many tokens in the `stop` list. Fixes https://github.com/jmorganca/ollama/issues/295.
-
- 18 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 17 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 14 Aug, 2023 2 commits
-
-
Bruce MacDonald authored
-
Bruce MacDonald authored
-
- 13 Aug, 2023 1 commit
-
-
Jeffrey Morgan authored
-
- 10 Aug, 2023 2 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
- 09 Aug, 2023 2 commits
-
-
Bruce MacDonald authored
-
Bruce MacDonald authored
-
- 08 Aug, 2023 2 commits
-
-
Bruce MacDonald authored
-
Jeffrey Morgan authored
Fixes #295
-
- 07 Aug, 2023 1 commit
-
-
Michael Yang authored
num_keep defines how many tokens to keep in the context when truncating inputs. if left to its default value of -1, the server will calculate num_keep to be the left of the system instructions
-
- 04 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 03 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 02 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 01 Aug, 2023 2 commits
-
-
Michael Yang authored
there are compile warnings on Linux which -Werror elevates to errors, preventing compile
-
Jeffrey Morgan authored
-
- 28 Jul, 2023 3 commits
-
-
Bruce MacDonald authored
-
Michael Yang authored
-
Michael Yang authored
-
- 27 Jul, 2023 6 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
- 25 Jul, 2023 2 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
- 22 Jul, 2023 1 commit
-
-
Michael Yang authored
-
- 15 Jul, 2023 2 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
- 14 Jul, 2023 1 commit
-
-
Michael Yang authored
feed responses back into the llm
-
- 13 Jul, 2023 1 commit
-
-
Michael Yang authored
-
- 12 Jul, 2023 3 commits
-
-
Michael Yang authored
-
Jeffrey Morgan authored
-
Michael Yang authored
-
- 11 Jul, 2023 2 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
- 09 Jul, 2023 1 commit
-
-
Jeffrey Morgan authored
-