feat(backend): use llama_token as TokenId type

This commit is contained in:
Morgan Funtowicz 2024-10-23 00:10:41 +02:00
parent 45d5a6a8c5
commit 92bb113653

View File

@ -19,7 +19,7 @@ namespace huggingface::tgi::backends::llama {
class TgiLlamaCppBackend { class TgiLlamaCppBackend {
using TokenId = int32_t; using TokenId = llama_token;
private: private:
llama_model* model; llama_model* model;