abetlen / abetlen/llama-cpp-python

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

Aperta
#1,999 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
10.6k
Fork
1.4k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.