card: eval chart, quick start fixed for transformers 5.x
Browse filesAdds, from data that already exists in this repo or on the Hub:
- `assets/eval-chart.png` + `assets/chart-data.json`: the receipt-backed counts from the Evaluation table as a chart. Standard benchmarks are drawn as "not yet evaluated". No number is new, derived or extrapolated.
- Quick start: fixed for transformers 5.x (the old snippet raises AttributeError on 5.x; tested on chaski) and run-checked.
- Limitations: one line stating that safety evaluation has not been run.
Not changed: license, visibility, pins, pricing, eval numbers, status/promotion wording, base_model/datasets metadata. Nothing here sets LIVE, MEASURED or publication_eligible.
Base: main @ 9972971d. Part of Stephen's request (pt130u) to bring the top models to production grade.
- README.md +10 -2
- assets/chart-data.json +22 -0
- assets/eval-chart.png +0 -0
|
@@ -48,11 +48,18 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
| 48 |
tok = AutoTokenizer.from_pretrained("SZLHOLDINGS/chaski")
|
| 49 |
model = AutoModelForCausalLM.from_pretrained("SZLHOLDINGS/chaski", torch_dtype="auto")
|
| 50 |
msgs = [{"role": "user", "content": "<controller-supplied context + request>"}]
|
| 51 |
-
|
| 52 |
-
|
|
|
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
| 55 |
## Evaluation
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
| Battery | Result | Receipt | Date |
|
| 57 |
|---|---|---|---|
|
| 58 |
| JSON draft contract | 0 / 5 | `eval_measured.json` | 2026-08-28 |
|
|
@@ -85,6 +92,7 @@ All hashes were computed on 2026-11-19 from the files at the revision above. szl
|
|
| 85 |
- The measured gate failed: 0/5 valid JSON drafts and 2/6 adversarial refusals.
|
| 86 |
- 45 training rows is a very small curriculum.
|
| 87 |
- No held-out generalisation benchmark exists.
|
|
|
|
| 88 |
|
| 89 |
## Licence
|
| 90 |
Apache-2.0, inherited from the base model (apache-2.0). Keep the upstream LICENSE and notice.
|
|
|
|
| 48 |
tok = AutoTokenizer.from_pretrained("SZLHOLDINGS/chaski")
|
| 49 |
model = AutoModelForCausalLM.from_pretrained("SZLHOLDINGS/chaski", torch_dtype="auto")
|
| 50 |
msgs = [{"role": "user", "content": "<controller-supplied context + request>"}]
|
| 51 |
+
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
|
| 52 |
+
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
|
| 53 |
+
print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
|
| 54 |
```
|
| 55 |
|
| 56 |
+
Run check (2026-11-19, transformers 5.22.2, torch 2.14.1 (CPU)): the repository loads and generates text from a plain-text question. This is a smoke test, not an evaluation. The tokenizer ships a chat template. In `transformers` 5.x `apply_chat_template` returns a `BatchEncoding`, so pass `return_dict=True` and `**inputs` as shown (the earlier `ids.shape[1]` form fails on 5.x).
|
| 57 |
+
|
| 58 |
## Evaluation
|
| 59 |
+

|
| 60 |
+
|
| 61 |
+
Chart data and sources: [`assets/chart-data.json`](assets/chart-data.json). Every bar is a count from the receipt named in the table below.
|
| 62 |
+
|
| 63 |
| Battery | Result | Receipt | Date |
|
| 64 |
|---|---|---|---|
|
| 65 |
| JSON draft contract | 0 / 5 | `eval_measured.json` | 2026-08-28 |
|
|
|
|
| 92 |
- The measured gate failed: 0/5 valid JSON drafts and 2/6 adversarial refusals.
|
| 93 |
- 45 training rows is a very small curriculum.
|
| 94 |
- No held-out generalisation benchmark exists.
|
| 95 |
+
- Safety evaluation (toxicity, jailbreak and red-team suites): not yet evaluated.
|
| 96 |
|
| 97 |
## Licence
|
| 98 |
Apache-2.0, inherited from the base model (apache-2.0). Keep the upstream LICENSE and notice.
|
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "SZLHOLDINGS/chaski",
|
| 3 |
+
"chart": "chaski: measured gate (failed)",
|
| 4 |
+
"batteries": [
|
| 5 |
+
{
|
| 6 |
+
"name": "JSON draft contract",
|
| 7 |
+
"passes": 0,
|
| 8 |
+
"cases": 5
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "Adversarial refusal",
|
| 12 |
+
"passes": 2,
|
| 13 |
+
"cases": 6
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"not_yet_evaluated": [
|
| 17 |
+
"standard benchmarks (MMLU-Pro, GPQA, IFEval, BFCL)"
|
| 18 |
+
],
|
| 19 |
+
"source": "eval_measured.json (sha256 7d01392d\u2026c880c), 2026-08-28, in this repository.",
|
| 20 |
+
"caveat": "5 and 6 cases: a gate check, not a benchmark. The gate failed on both batteries.",
|
| 21 |
+
"generated": "2026-11-19 from the card's model-index / receipt counts; no value invented"
|
| 22 |
+
}
|
|