feat: Generic Chat Formats, Tool Calling, and Huggingface Pull Suppor… · endfalse/llama-cpp-python@fe2da09 · GitHub
Skip to content

Commit fe2da09

Browse files
authored
feat: Generic Chat Formats, Tool Calling, and Huggingface Pull Support for Multimodal Models (Obsidian, LLaVA1.6, Moondream) (abetlen#1147)
* Test dummy image tags in chat templates * Format and improve types for llava_cpp.py * Add from_pretrained support to llava chat format. * Refactor llava chat format to use a jinja2 * Revert chat format test * Add moondream support (wip) * Update moondream chat format * Update moondream chat format * Update moondream prompt * Add function calling support * Cache last image embed * Add Llava1.6 support * Add nanollava support * Add obisidian support * Remove unnecessary import * Re-order multimodal chat formats * Logits all no longer required for multi-modal models * Update README.md * Update docs * Update README * Fix typo * Update README * Fix typo
1 parent 97fb860 commit fe2da09

5 files changed

Lines changed: 711 additions & 145 deletions

File tree

README.md

Lines changed: 36 additions & 5 deletions

docs/server.md

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)