mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-26 05:51:25 -07:00
* fix: Check response prefix. In case if the model adds <think> at the end of user prompt and only generates </think> end, then the detection goes wrong. * fix: Handle whitespace in CoT, remove redundant checks * fix: Type checker * fix: try looking at tag positions, not text end regex * ruff, fix import sorting * fix: rich markup * fix: I missed other ones * feat: Update SHA256SUMS file hashes in the tests. A major change that affects reproducibility. * fix: It is now sensible to also update the extra SHA256SUMS.ci2 file. * fix: Only consider whitespace, no other text or instructions. because mistral-3 as additional reasoning instructions in its chat template. And I suppose many other models can have it too. * fix: Update windows hashes. * fix: Update CI hashes too * as always update case two of mistral-3 (ci2 hash) * docs: update comment * feat: Handle the edge case for models having additional instructions. * fix: Update windows hash for mistral-3 * docs: remove a line from the comments because I'm not sure about GPT-OSS models' thinking tags and it cannot be confirmed using an untrained tiny GPT-OSS model. And inference fallback would of course generate gibberish as the model cannot understand additional instructions about 'how to generate response and how to think' from the chat_template. * fix: a few things. * fix: Update hash for qwen3.5 after the whitespace fix for its response prefix. * docs: Update comment * fix: Update qwen3.5 hash for CI * fix: Remove Case 2 which only serves tests unnecessary * fix: Hash * fix: concern is valid enough, so we use a small text. add a comment too * docs: minor
8 lines
594 B
Plaintext
8 lines
594 B
Plaintext
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
|
749b56d1b1e08081981169db6f2c44ab0be4fd6ebb452d15baafa5e09c21586a *config.json
|
|
4625d1d64d41d1fa9dae7af4ba1e1d7e65a194073d4efa58acb266a916eaaa74 *generation_config.json
|
|
2b3e575ac065f11ae5d4a7c3740efccbed294b646f1645239191ee8393354e03 *model.safetensors
|
|
01562eddd6f9e9ec4bc31656a3b7055284cafbf889acc6c4348dca431ae31f68 *processor_config.json
|
|
87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4 *tokenizer.json
|
|
2e31d1126e81bddf8d15c3f95260fb487b48c5131b24fcbb5bb9d2537e7afac0 *tokenizer_config.json
|