1. 30 Aug, 2023 2 commits
    • Quinn Slack's avatar
      treat stop as stop sequences, not exact tokens (#442) · f4432e1d
      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.
      f4432e1d
    • Michael Yang's avatar
      Merge pull request #428 from jmorganca/mxyng/upload-chunks · 982c5354
      Michael Yang authored
      update upload chunks
      982c5354
  2. 29 Aug, 2023 2 commits
  3. 28 Aug, 2023 4 commits
  4. 27 Aug, 2023 2 commits
  5. 26 Aug, 2023 9 commits
  6. 25 Aug, 2023 3 commits
  7. 24 Aug, 2023 2 commits
  8. 22 Aug, 2023 11 commits
  9. 21 Aug, 2023 1 commit
  10. 18 Aug, 2023 4 commits