Add prefill method support without generation - #183
craftingmod wants to merge 13 commits into
Conversation
Assisted-By: codex
Assisted-By: codex
Assisted-by: codex
Assisted-by: codex
…efill Assisted-by: codex
Assisted-by: codex
Assisted-by: codex
Assisted-by: codex
|
Assisted-by: codex
|
I believe a PR shouldn't include changes unrelated to the submission's purpose; additionally, using grammar constraints might be a simpler way to control the model's selective output. |
ec12d55 to
8030f77
Compare
Additional modification is pushed.
|
|
I can go ahead and merge this, but there are still several areas requiring fixes—such as the passing and handling of |
|
https://huggingface.co/blog/ggml-org/decision-models-in-llamacpp It appears that work is underway on the underlying |
YAY Seems should be wait until official API is introduced. |
Summary
create_chat_prefillmethod which could be used toprompt evaluation.Add: revertedchat_template_kwargssupport increate_chat_completionfor overridingchat_template_kwargseach completion.Maybe useful when implementing probability classification.
AI Disclose
I've used GPT 6 Luna to implementing features, but I manually reviewed and understood how to works.