v0.0.1
ChatbotXIO/ChatbotXv0.0.1Jun 27, 2026by chonknick
Upgrading?
Release notes summary
The first public release of pulpie, a fast, CPU-friendly library for extracting main web content from raw HTML using small encoder models. It classifies HTML blocks with the Orange model family to reach autoregressive-extractor quality at a fraction of the cost, returning clean HTML or markdown. The release documents byte-level parity with MinerU-HTML's simplify/reconstruct pipeline and matches the reference ROUGE-5 F1 of 0.8625 on the full WebMainBench English set.
Key Highlights
- Initial public release of pulpie with a simple Extractor API returning markdown, HTML, and block counts
- Encoder-based Orange model family (small 210M / base 610M / large 2.1B) for cost-efficient extraction
- Byte-parity with MinerU-HTML simplify/reconstruct verified across 65/65 tests on 13 real-page fixtures
- End-to-end ROUGE-5 F1 of 0.8625 on WebMainBench English (6,647 pages), matching the MinerU-HTML reference exactly
- Packaging split into core install and an optional [markdown] extra
New Features
- Extractor class with extract() returning markdown, html, n_main, and n_other
- Orange Small (210M) default model, auto-downloaded on first use
- Orange Base (610M) and Orange Large (2.1B) model options
- Clean HTML and markdown output from raw HTML input
- MinerU-HTML-compatible simplify/reconstruct segmentation pipeline
- pip install pulpie (core) and pip install pulpie[markdown] installation options
Full Release Notes
First public release of **pulpie** — fast, CPU-friendly web content extraction from HTML using encoder models. ## Install ```bash pip install pulpie # core pip install pulpie[markdown] # + markdown output ``` ## What it does pulpie extracts the main content from raw HTML and returns clean HTML or markdown. It classifies HTML blocks with small encoder models (the **Orange** family), reaching autoregressive-extractor quality at a fraction of the cost. ```python from pulpie import Extractor extractor = Extractor() # downloads pulpie-orange-small (210M) on first use result = extractor.extract(html) print(result.markdown) # clean markdown print(result.html) # clean HTML print(result.n_main, result.n_other) ``` ## MinerU-HTML parity pulpie's `simplify`/`reconstruct` faithfully reproduce MinerU-HTML's `simplify_html` / `map_to_main` (Apache-2.0), the segmentation format the Orange models were distilled on. Verified two ways: - **Offline byte-parity:** 65/65 tests reproduce MinerU's exact output across 13 real-page fixtures. - **End-to-end ROUGE-5** on full WebMainBench English (6,647 pages, orange-small): | Simplification | ROUGE-5 F1 | |----------------|-----------| | MinerU-HTML (reference) | 0.8625 | | **pulpie (this release)** | **0.8625** | Byte-faithful end-to-end (Δ vs MinerU = +0.0000), a +0.14 improvement over the prior simplification. ## Model zoo | Name | HF repo | Size | Notes | |------|---------|------|-------| | Orange Small | `chonkie-ai/pulpie-orange-small` | 210M | Best value; default | | Orange Base | `chonkie-ai/pulpie-orange-base` | 610M | Distilled | | Orange Large | `chonkie-ai/pulpie-orange-large` | 2.1B | Highest quality | ## Credits Built on MinerU-HTML / Dripper (Ma et al., 2025) — their `simplify_html` preprocessing, block-annotation scheme, and the WebMainBench benchmark are foundational. Thank you for releasing your tools and data.
Related Repositories
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Reverse engineer anything with agents, from app behavior down to native binaries.
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.