Files
ik_llama.cpp/github-data/pull_requests/33 - Do not process prompts containing binary data for escapes.md
2025-07-23 13:31:53 +02:00

759 B

🔀 #33 - Do not process prompts containing binary data for escapes

Author ikawrakow
State Closed
Created 2024-09-02
Updated 2024-09-02

Description

The multiple choice evaluation has been broken in llama.cpp via commit 6ff13987a, and this PR fixes it.

The multiple choice evaluation uses binary data stored in params.prompt. Commit 6ff13987a adds prompt escape character processing, which modifies the binary data and renders it unusable. To preserve whatever utility 6ff13987a might have added, we add a flag indicating if the data stored in params.prompt is binary and, if so, avoid the escape processing.