Skip to content

rooflab v0.4.1

Choose a tag to compare

@scientist42-lab scientist42-lab released this 29 Nov 21:13
· 7 commits to main since this release

rooflab v0.4.1

All 8/8 cross-OS CI jobs (ubuntu-latest, macos-latest, windows-latest x Python 3.10/3.12 + Full Forensics Gate) are green on main (d7c4391).

Highlights in v0.4.1

  • Universal Lossless Multimodal / OCR Pipeline Benchmark (rooflab ocr-bench & docs/OCR_PIPELINE.md):
    • Zero-dependency stdlib core (generate_synthetic_ocr_png, Myers bit-parallel Levenshtein CER/WER, HTML/Markdown table structure & LaTeX formula parity gate -> hard PARITY_FAIL / VOID veto).
    • Async producer-consumer PDF/image prefetch queue (render_ms, preprocess_ms, gpu_idle_gap_ms exposing CPU_PREFETCH_STARVED), conservative margin trim + 28px vision patch alignment, speculative-burst-aware step_cycle_ms ITL, and live repeat-loop abort guard across Chandra-OCR-2, Qwen-VL, olmOCR, Gemma-4 Vision, and DeepSeek-OCR.
  • Nov-2026 Frontier Chandra-OCR-2 Drafter Training Kits (kits/training/):
    • train_chandra2_mmflash_v2.py (warm-start from Scientist42/chandra-ocr-2-mmflash-dpace, KL(p_vis || p_blind) visual-dependence token weighting, dual B in {8, 16} block-size curriculum, frozen v1 KL-anchor, O(1)-VRAM _TiledWeightedKLAnchorFn, 4-dataset public OCR streaming mix with strict OmniDocBench eval-only guard).
    • train_chandra2_mtp_dpace_v2.py (Zero-Init Residual LoRA r=16, lr=3e-5, EAGLE-3 K=2..5 focus, hidden-state feature alignment, and KL(p_vis || p_blind) visual-dependence weighting for 100% drop-in llama.cpp GGUF / vLLM / SGLang Stock-MTP compatibility).
  • 3-OS CI Hardening (All 8/8 Jobs Green):
    • Windows cp1252 auto-ASCII TUI fallback in live_monitor.py.
    • macOS sysfs test isolation, headless GPU-less --allow-no-vram gate fix, deterministic mock timing on api_bench and ocr_pipeline.
  • Open-Source Repository Polish:
    • Live CI & Release badges, refreshed Stage 1..6 hero in README.md, PyPI metadata & [project.urls] in pyproject.toml, plus CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, and .github/ISSUE_TEMPLATE/ forms.
  • Published Lossless Drafters on Hugging Face: