fix(m0): read 'no tool for it' as a refusal in the answer judge
The gaming-PC rerun scored the fast model's honest refusals ('...할 수 있는
도구는 없습니다', '...준비되어 있지 않습니다') as failures, so the kit
downloaded two more fast-model candidates for nothing. Rescored with the
fixed judge, UD-Q4_K_XL, UD-Q6_K_XL and Q8_0 all pass 27/27; the
recommended model's Q2_0/IQ3_XXS/IQ3_S still fail 3/27 by calling an
unrelated tool when no tool fits. Record both results in the v2 docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,9 @@ def _values(text: str, pattern: re.Pattern) -> list[float]:
|
||||
_NO_RAIN = ("오지 않", "안 와", "안 오", "안 내", "내리지 않", "필요 없", "필요하지 않", "필요는 없", "안 챙", "맑")
|
||||
_RAIN = ("비가 와", "비가 옵", "비가 오고", "비가 내", "비가 올", "비 와", "비 옵", "비 소식", "우산을 챙", "우산 챙",
|
||||
"우산이 필요", "우산을 가져", "비가 조금")
|
||||
_CANNOT = ("수 없", "수가 없", "못 ", "못해", "못합", "못했", "어렵", "지원하지", "기능이 없", "기능은 없", "불가")
|
||||
# "No tool for it" is a refusal too ("...할 수 있는 도구는 없습니다/준비되어 있지 않습니다").
|
||||
_CANNOT = ("수 없", "수가 없", "못 ", "못해", "못합", "못했", "어렵", "지원하지", "기능이 없", "기능은 없", "불가",
|
||||
"도구는 없", "도구가 없", "도구는 준비되어 있지 않", "도구가 준비되어 있지 않")
|
||||
|
||||
|
||||
def says_only_number(text: str, n: int, pattern: re.Pattern) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user