abetlen / abetlen/llama-cpp-python

Implementation doubt

Open
#1,889 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

**** | DUMB QUESTION WARNING | ****

I’ve got a dumb question, but I’m curious: why doesn’t this library use LlamaCpp’s standard chat templates (`llama_chat_apply_template`) and instead go for a completely new implementation? I see it adds a lot of extra features, like function calling, but aren’t most (or at least a lot) of the chat formats already covered in LlamaCpp? Same goes for grammar and speculative stuff, maybe?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.