llama-cpp folder use cases

#1
by daruokta - opened

Wanna ask, is this llama.cpp version can be use as normal chat for the original t5gemma2? and if so, how to do it?

KaLM-Embedding org

Hi, thanks for reaching out!

Sorry to say that this GGUF/llama.cpp version is only for reranking, not for normal chat.

Although it is based on T5Gemma2, the llama.cpp support here implements the KaLM reranker scoring flow: given a query and a passage, it outputs a relevance score. It does not support free-form generation or chat like the original T5Gemma2.

You can use it like:

./llama-kalm-reranker \
  -m kalm-reranker-v1-small-q4_k_m.gguf \
  --query "your query here" \
  --passage "candidate document here"

If you want regular chat or text generation, please use the original T5Gemma2 model with a compatible framework like Transformers.

Sign up or log in to comment