1. 08 Jan, 2024 1 commit
  2. 22 Dec, 2023 2 commits
  3. 19 Dec, 2023 1 commit
  4. 12 Dec, 2023 1 commit
  5. 11 Dec, 2023 1 commit
  6. 20 Nov, 2023 1 commit
  7. 09 Nov, 2023 1 commit
  8. 16 Oct, 2023 1 commit
  9. 14 Oct, 2023 1 commit
  10. 12 Oct, 2023 1 commit
  11. 02 Oct, 2023 2 commits
  12. 01 Oct, 2023 1 commit
  13. 28 Sep, 2023 1 commit
  14. 27 Sep, 2023 2 commits
  15. 30 Aug, 2023 1 commit
    • 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
  16. 15 Aug, 2023 1 commit
  17. 14 Aug, 2023 1 commit
  18. 11 Aug, 2023 1 commit
  19. 10 Aug, 2023 2 commits
  20. 09 Aug, 2023 2 commits
  21. 08 Aug, 2023 2 commits
  22. 03 Aug, 2023 1 commit
  23. 28 Jul, 2023 1 commit
  24. 27 Jul, 2023 2 commits
  25. 22 Jul, 2023 1 commit
  26. 20 Jul, 2023 8 commits