abetlen / abetlen/llama-cpp-python

How to use *chat_template* with .gguf models ? (tokenizer_name not implemented)

Open
#1,999 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

Hi,
I'm currently facing this `tokenizer_name NotImplementedError` while testing quantized `.gguf`model with `[lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness)`

I'm having this trouble with --apply_chat_template

run command lm_eval --model gguf --model_args base_url=http://127.0.1.1:8080 --tasks gsm8k --output_path result/gsm8k --log_samples --apply_chat_template --fewshot_as_multiturn

How to implement this tokenizer_name? (I'm running with `python3 -m llama_cpp.server`)

Image

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.