Instructions to use samil24/yolo26n-question-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use samil24/yolo26n-question-segmentation with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("samil24/yolo26n-question-segmentation") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
YOLO26N Question Segmentation
Smaller release checkpoint that slightly outperforms the YOLO26M release on both held-out test sets.
- Task: object detection
- Classes:
question - Input size:
1280 - Base model:
yolo26n
Intended use
This model is designed to detect question regions in exam booklets, worksheets, and PDF page renders. It works best on dense educational pages with clear question boundaries.
Release notes
This release checkpoint was trained for 50 epochs on the cleaned one-class question detection dataset.
Test results
Old held-out test set
| Model | Precision | Recall | mAP50 | mAP50-95 |
|---|---|---|---|---|
| YOLO26N Question Segmentation | 0.988 | 0.983 | 0.989 | 0.924 |
Combined held-out test set
| Model | Precision | Recall | mAP50 | mAP50-95 |
|---|---|---|---|---|
| YOLO26N Question Segmentation | 0.991 | 0.988 | 0.993 | 0.962 |
Usage
from ultralytics import YOLO
model = YOLO("hf://samil24/yolo26n-question-segmentation")
results = model("page.png", imgsz=1280, conf=0.25)
Included files
best.pt: release checkpointmetrics_summary.json: test-set metrics for this releaseconfidence_sweep_summary.json: confidence sweep outputs used during evaluationcomparison_examples/: side-by-side qualitative examples
Data note
Some of the training data comes from public Roboflow projects used in earlier versions of this question-segmentation pipeline:
- PDF Soru Cikarma (tanimazsinu): Link
- WholeQuestionDetection (Gazi University): Link
- ExamBuddy (ExamBuddy): Link
- Questions (Terry Li): Link
- Question Parsing from Document (Sefa): Link
- Question Dedector (Nur Etinkaya): Link
- Sorukes (Sorualgilama): Link
- Question Detection (Cognizen): Link
- Questions2 (Fiver): Link
- Question-New (Question): Link
License
This release is published under CC-BY-4.0.
- Downloads last month
- 24