llama.cpp
Add `mistral-v1`, `mistral-v3`, `mistral-v3-tekken` and `mistral-v7` chat template types
#10572
Merged

Commits
  • Templates: `mistral-v1`, `mistral-v2`, `mistral-v3`, `mistral-v3-tekken`
    jukofyork committed 1 year ago
  • Changed system message logic and added tests for all 4
    jukofyork committed 1 year ago
  • Invalid `system_message` instead of `content` fixed
    jukofyork committed 1 year ago
  • Removed tab-indented lines
    jukofyork committed 1 year ago
  • Added template code and test for `mistral-v7`
    jukofyork committed 1 year ago
  • Added all tests. Fixed bug with `tmpl == "llama2"` test.
    jukofyork committed 1 year ago
  • Replaced tabs with spaces.
    jukofyork committed 1 year ago
  • Removed `'mistral-v2'` option as no (open) models ever used it
    jukofyork committed 1 year ago
  • Removed all references to 'v2' template from comments
    jukofyork committed 1 year ago
  • Update llama.cpp
    jukofyork committed 1 year ago
Loading