mlboydaisuke commited on
Commit
20e5611
·
verified ·
1 Parent(s): e08ef78

Card: the Swift section names the CoreAIKit 0.7.0 API (CoreAI.decide, CoreAI.systemOne, systemone serve)

Browse files
Files changed (1) hide show
  1. README.md +10 -9
README.md CHANGED
@@ -134,15 +134,16 @@ ones included, and are not comparable to these accuracies.
134
 
135
  ## Swift side
136
 
137
- `coreai-kit` has no `systemOne` op yet. The design —
138
- `CoreAI.systemOne(state:questions:options:)` mirroring the author's wire shape, the prompt
139
- builder port line by line, a tokenizer-parity contract on the 44 fixture rows, and the readout
140
- primitive (recommended: a completion-synchronized read-last-logits call on the pipelined engine,
141
- whose `decodeLogitsBuffers` already hold the fp16 logits; fallback: the zoo's N-state low-level
142
- runner) — is in
143
- [`knowledge/decider-systemone-op-design.md`](https://github.com/john-rocky/coreai-model-zoo/blob/main/knowledge/decider-systemone-op-design.md).
144
- Until it exists the Swift engine gives the **argmax** only (the first greedy token), and the
145
- probabilities come from the Python runtime.
 
146
 
147
  **iPhone 17 Pro (iOS 27.0, GPU, pipelined engine, AOT h18p, 2026-09-21):** the same 44 rows through a
148
  PipelinedBench rows mode (raw ids in, one greedy token out) — **43/43 rows that fit emit the
 
134
 
135
  ## Swift side
136
 
137
+ CoreAIKit 0.7.0 reads this model as the catalog decision model `decider-0.8b`
138
+ (`Decision.Format.decider`): the kit renders the model's own prompt form, reads the answer slot
139
+ at the card's temperature and returns each option's probability. In Swift (`import CoreAIOps`),
140
+ `CoreAI.decide(state, questions, options: .model("decider-0.8b"))` asks typed questions of one
141
+ state, and `CoreAI.systemOne(json:)` answers a `/v1/systemone` request as a client sent it (with
142
+ `"model": "decider-0.8b"`), the typed answers beside the wire object. Over HTTP, in the hosted
143
+ API's forms: `brew install john-rocky/tap/systemone && systemone serve --model decider-0.8b`, or
144
+ `decide-cli serve --model decider-0.8b` in the kit's `Examples/Decide`. The calls, the other
145
+ decision models and the kit's measurements are in
146
+ [System One, on device](https://github.com/john-rocky/coreai-kit/blob/0.7.0/docs/SYSTEM_ONE.md).
147
 
148
  **iPhone 17 Pro (iOS 27.0, GPU, pipelined engine, AOT h18p, 2026-09-21):** the same 44 rows through a
149
  PipelinedBench rows mode (raw ids in, one greedy token out) — **43/43 rows that fit emit the