Publish PR #1513 per-trial dataset and re-benchmark llguidance whitespace bound

未关闭
#1,820 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python

调研方向

Read PR #1513's empirical evidence table and PR #1807 to identify the missing per-trial data and the current {0,64} whitespace bound. The remaining work requires publishing the original trials, then benchmarking that bound against the 250-trial correctness set for LocalHFBackend and checking that the #1510 collapse does not return.

由索引模型根据 Issue 内容生成。

描述

Summary

Split out of #1515. PR #1807 resolves the root cause (llguidance <= 1.7.6 did not enforce whitespace_pattern upper bounds; fixed upstream in llguidance #370 / v1.8.0, now required via llguidance>=1.8.0). The two items below could not be completed there because they depend on data that was never published.

Remaining work

  • Publish the raw per-trial data behind PR #1513's empirical evidence table (currently only aggregated pass/fail counts are in the PR description), so whitespace-tuning work can be verified against the same trials rather than re-run from scratch. This belongs with the PR #1513 author.
  • Once the dataset exists, re-benchmark the current whitespace_pattern bound ({0,64} after #1807) against the 250-trial correctness set to confirm it does not reintroduce the #1510 collapse.

Context

  • #1807 verifies enforcement directly at the acceptance-mask level with a byte-level tokenizer, which is the layer where the semantics changed. It does not replace a model-level benchmark.
  • Because the original data was unavailable, the limit in #1807 was chosen from a rebuilt version of the #1510 test (granite-4.1-3b and 8b, varied list lengths, flat and deeply nested schemas, compact and indented output). That rebuild is the stopgap; the original trials are still the reference.
  • Scope is the LocalHFBackend only. vLLM, llama.cpp and Ollama apply their own whitespace rules server-side.

Refs #1515, #1510, #1513, #1807

主要语言
Python
星标
1.8k
派生
161
平均合并
4 天 3 小时
30 天内合并 PR
45

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

generative-computing/mellea 的其他 Issue

查看 generative-computing/mellea 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。