card: charts from card data, size chart, transformers 5.x quick start, limitations
#4
by betterwithage - opened
- README.md +34 -0
- assets/chart-data.json +41 -0
- assets/eval-chart.png +0 -0
- assets/size-chart.png +0 -0
README.md
CHANGED
|
@@ -19,6 +19,40 @@ tags:
|
|
| 19 |
|
| 20 |
A wave-4 estate-trained LoRA adapter, published with its measured evaluation battery receipt — every number on this card is bound to a hash-chained receipt in the public evidence dataset.
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
## Quick facts
|
| 23 |
|
| 24 |
| | |
|
|
|
|
| 19 |
|
| 20 |
A wave-4 estate-trained LoRA adapter, published with its measured evaluation battery receipt — every number on this card is bound to a hash-chained receipt in the public evidence dataset.
|
| 21 |
|
| 22 |
+
<!-- szl:card-upgrade-2026-11-19:begin -->
|
| 23 |
+
## Charts and quick start
|
| 24 |
+

|
| 25 |
+
|
| 26 |
+
Chart data and sources: [`assets/chart-data.json`](assets/chart-data.json). Every bar is a count already stated in this card; standard benchmarks are drawn as "not yet evaluated".
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
|
| 30 |
+
Sizes are Hub file sizes on 2026-11-19. They say nothing about quality.
|
| 31 |
+
|
| 32 |
+
### Quick start
|
| 33 |
+
```python
|
| 34 |
+
from peft import PeftModel
|
| 35 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 36 |
+
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct", torch_dtype="auto")
|
| 37 |
+
model = PeftModel.from_pretrained(base, "SZLHOLDINGS/a11oy-code-r1-candidate")
|
| 38 |
+
tok = AutoTokenizer.from_pretrained("SZLHOLDINGS/a11oy-code-r1-candidate")
|
| 39 |
+
msgs = [{"role": "user", "content": "<controller-supplied context + request>"}]
|
| 40 |
+
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
|
| 41 |
+
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
|
| 42 |
+
print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
In `transformers` 5.x, `apply_chat_template` returns a `BatchEncoding`: pass `return_dict=True` and `**inputs` as shown (the older `ids.shape[1]` form raises `AttributeError`).
|
| 46 |
+
|
| 47 |
+
Run check (2026-11-19, transformers 5.23.0, torch 2.15.0 (CPU), peft 0.22.0): the code path of this snippet (adapter attach, `apply_chat_template`, `generate`, decode) ran end to end for the `qwen2` architecture, using a tokenizer with a chat template and a randomly initialised, shrunken model of that architecture. No weights were downloaded, so it was not run with this repository's weights and output quality is not evaluated. Private or gated repositories need `hf auth login` first.
|
| 48 |
+
|
| 49 |
+
### Additional limitations
|
| 50 |
+
- Standard benchmarks (MMLU-Pro, GPQA, IFEval, BFCL): not yet evaluated.
|
| 51 |
+
- Safety evaluation (toxicity, jailbreak and red-team suites): not yet evaluated.
|
| 52 |
+
- The charted counts come from batteries of 3 probes: small samples, a gate check and not a benchmark.
|
| 53 |
+
- This repository holds adapter weights; they need the base model `Qwen/Qwen2.5-Coder-3B-Instruct` and are not a standalone model.
|
| 54 |
+
<!-- szl:card-upgrade-2026-11-19:end -->
|
| 55 |
+
|
| 56 |
## Quick facts
|
| 57 |
|
| 58 |
| | |
|
assets/chart-data.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "SZLHOLDINGS/a11oy-code-r1-candidate",
|
| 3 |
+
"chart": "counts stated in this card",
|
| 4 |
+
"batteries": [
|
| 5 |
+
{
|
| 6 |
+
"name": "Answerable probes passed",
|
| 7 |
+
"passes": 3,
|
| 8 |
+
"cases": 3
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "Unanswerable probes abstained / refused",
|
| 12 |
+
"passes": 0,
|
| 13 |
+
"cases": 3
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"not_yet_evaluated": [
|
| 17 |
+
"standard benchmarks (MMLU-Pro, GPQA, IFEval, BFCL)",
|
| 18 |
+
"safety evaluation"
|
| 19 |
+
],
|
| 20 |
+
"source": "this card: receipts/eval_battery.json, receipts/training_receipt.json (sha256 a2e806c40525e0bff9c7ad11b4b9d63b37beecb14d050a3f3929234e60346f72)",
|
| 21 |
+
"parse_notes": [],
|
| 22 |
+
"size_by_category": {
|
| 23 |
+
"Other": {
|
| 24 |
+
"bytes": 2036,
|
| 25 |
+
"files": 2
|
| 26 |
+
},
|
| 27 |
+
"Config, tokenizer, docs": {
|
| 28 |
+
"bytes": 11441239,
|
| 29 |
+
"files": 7
|
| 30 |
+
},
|
| 31 |
+
"Weights": {
|
| 32 |
+
"bytes": 239536272,
|
| 33 |
+
"files": 1
|
| 34 |
+
},
|
| 35 |
+
"Receipts, evidence, figures": {
|
| 36 |
+
"bytes": 10400,
|
| 37 |
+
"files": 3
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"generated": "2026-11-19 from the card text and the Hub file listing; no value invented"
|
| 41 |
+
}
|
assets/eval-chart.png
ADDED
|
assets/size-chart.png
ADDED
|