Views
No views yet
Reza2kn/Bina-0.1-Koochik,
the merged BF16 Persian OCR baseline.2, the same
BF16 source checkpoint, and the exact Bina transcription prompt:OCR this image. Return only the exact text visible in the image, preserving Persian, numbers, line breaks, and punctuation. Do not explain.| Gate | Result |
|---|---|
| Synthetic compiled CoreML canary | 22/22 tokens exact through EOS |
| Two real Persian pages | 128/128 checked tokens exact (64-token cap per page) |
| Real Persian line crop, Python-hosted CoreML | 25/25 tokens and text exact through EOS |
| Same Persian crop, native Swift host | 25/25 tokens and text exact through EOS |
گزارش سالانه دیتاک -۱۴۰۲validation/. The Swift receipt exercises
the actual CoreML packages, FP32 host assets, cache updates, baked M-RoPE tables,
Fuse tokenizer decoding, and EOS stopping without loading the PyTorch model.512 × 512 RGB canvas;pixel_values: [1024, 1536], Float32;-240 (baked into the native decode tables);generate(pixelValues:) path is parity-qualified. The convenience Swift
generate(image:) path uses CoreGraphics and is not claimed to be
pixel-identical to PIL.surya_vision_fp32.mlpackage — Bina-specific vision encoder.surya_prefill_fp16_seq416_cache1024.mlpackage — language prefill and initial cache.surya_decode_step_fp16_cache1024.mlpackage — one autoregressive decode step.native_assets/ — FP32 token embedding, prompt embeddings, M-RoPE tables,
tokenizer vocabulary, constants, and a synthetic canary tensor.native/SuryaCoreMLRuntime/ — Swift Package for macOS 14+ / iOS 17+.processor/ — exact tokenizer and processor configuration.scripts/ — conversion, fixture preparation, and parity validators.Surya names reflect the upstream architecture; all three graphs
contain the Bina 0.1 fine-tuned weights.1git lfs install
2git lfs pull
3
4cd native/SuryaCoreMLRuntime
5swift run -c release surya-coreml-smoke \
6 --model-dir ../.. \
7 --pixel-values-fp32 ../../native_assets/canary_pixel_values_fp32.bin \
8 --max-tokens 642009 2046 2054 2047 2041 2035 2037 1979 136 1072 2020 2047 2052 2033 2044 1979 1982 55 1992 13 13 2Invoice 123<br/>Total $42.001python scripts/prepare_bina_coreml_fixtures.py \
2 --runtime-script scripts/export_surya_coreml_runtime.py \
3 --image /path/to/image.png \
4 --output-dir preparedprepared/<stem>.pixel_values_fp32.bin to the Swift executable.Reza2kn/Bina-0.1-Koochik;9b5812be94e3e015142da22a4b61b34aad5d2c02;model.safetensors SHA-256:
2193be4ef3d2366438121a15b7a1dea2bb85b24f83145e5a39bfa1f387891ada;config.json SHA-256:
e0de22be177070f206106c184d062176fcda591d9114068c42489ffc550488de;Qwen3_5ForConditionalGeneration;coreml_runtime_manifest.json.