Run this model with HF Jobs
Run HanClinto/cornelius on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/HanClinto/cornelius. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/HanClinto/cornelius on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use HanClinto/cornelius with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- CollectorVision
How to use HanClinto/cornelius with CollectorVision:
pip install git+https://github.com/HanClinto/CollectorVision huggingface_hub
from huggingface_hub import hf_hub_download import collector_vision as cvg checkpoint = hf_hub_download(repo_id="HanClinto/cornelius", filename="model.onnx") # Detector models, such as Cornelius: detector = cvg.NeuralCornerDetector(checkpoint) # Embedder models, such as Milo: embedder = cvg.NeuralEmbedder(checkpoint)
- Notebooks
- Google Colab
- Kaggle
Add Cornelius benchmark metrics
Browse files33 unmodified lines34353637383933 unmodified lines| `cornelius-1.221.onnx` | PackOpening + TCGplayer Listos | Fixed SimCC coordinate decoding to use peak argmax instead of soft expectation. This addresses rotated-card failures where multi-modal corner distributions decoded to implausible between-peak coordinates; see [CollectorVision issue #24](https://github.com/HanClinto/CollectorVision/issues/24). || `cornelius-1.210.onnx` | PackOpening + TCGplayer Listos | Earlier beta-test candidate. Combined held-out IoU 0.8857; source-specific Clint IoU 0.764 and Listos IoU 0.905. |## Outputs- **corners** — 8 floats `[x0,y0, x1,y1, x2,y2, x3,y3]` in TL→TR→BR→BL order, normalised [0,1]33 unmodified lines3435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848533 unmodified lines| `cornelius-1.221.onnx` | PackOpening + TCGplayer Listos | Fixed SimCC coordinate decoding to use peak argmax instead of soft expectation. This addresses rotated-card failures where multi-modal corner distributions decoded to implausible between-peak coordinates; see [CollectorVision issue #24](https://github.com/HanClinto/CollectorVision/issues/24). || `cornelius-1.210.onnx` | PackOpening + TCGplayer Listos | Earlier beta-test candidate. Combined held-out IoU 0.8857; source-specific Clint IoU 0.764 and Listos IoU 0.905. |## EvaluationAll IoU values are quadrilateral IoU between predicted and labelled card corners.`bad` counts predictions with IoU `< 0.5`; `collapse` counts geometricallydegenerate predictions where two predicted corners nearly coincide.### Release comparison| Version | Architecture | Params | ONNX size | Normal held-out IoU | Full ±50° rotation mean / p10 | Full-rotation bad / collapse | Notes ||---|---:|---:|---:|---:|---:|---:|---|| 2.12 | MobileViT-XXS + global-token SimCC | ~1.06M | 4.2 MB | 0.968911 | 0.970411 / 0.954621 | 0 / 0 | Current default `model.onnx`; selected production checkpoint. || 1.221 | MobileViT-XXS + independent SimCC | ~1.82M | 7.1 MB | — | 0.933910 / 0.928732 | 138 / 91 | Strong normal detector, but vulnerable to rotation-induced corner collapse. || 1.210 | MobileViT-XXS + independent SimCC | ~1.82M | 7.1 MB | 0.8857 combined | — | — | Earlier beta; reported source IoU: Clint 0.764, Listos 0.905. |### Cornelius 2.12 checkpoint selectionThe 2.12 release was selected from a low-LR continuation because it best balancednormal accuracy and stress robustness:| Checkpoint | Normal test IoU | Normal collapse | Full ±50° mean IoU | p10 IoU | bad | collapse ||---|---:|---:|---:|---:|---:|---:|| epoch 9 | 0.968923 | 19 | 0.968892 | 0.952787 | 1 | 0 || **epoch 12 / 2.12** | **0.968911** | **18** | **0.970411** | **0.954621** | **0** | **0** || epoch 14 | 0.968777 | 18 | 0.968660 | 0.952481 | 0 | 0 |### Occlusion + rotation smoke testThree hand-picked occlusion stress samples were swept through the same fullrotation preset. The 2.12 numbers below are from the Hugging Face-downloaded`model.onnx`.| Model | Mean IoU | p10 IoU | bad | collapse ||---|---:|---:|---:|---:|| Cornelius 2.12 | 0.888789 | 0.795696 | 0 | 0 || Frozen global-token prototype | 0.772039 | 0.673141 | 0 | 0 || Hydra4 reduce4_h64 prototype | 0.736071 | 0.648447 | 0 | 0 || Cornelius 1.x baseline | 0.687937 | 0.406498 | 22 | 21 |Per-sample Cornelius 2.12 results:| Sample | Mean IoU | p10 IoU | min IoU | bad | collapse ||---|---:|---:|---:|---:|---:|| Ingenious Skaab | 0.963076 | 0.951756 | 0.939898 | 0 | 0 || LTR 566 | 0.883024 | 0.847024 | 0.836244 | 0 | 0 || Wall of Fire | 0.820269 | 0.779252 | 0.763541 | 0 | 0 |## Outputs- **corners** — 8 floats `[x0,y0, x1,y1, x2,y2, x3,y3]` in TL→TR→BR→BL order, normalised [0,1]
README.md+46