Views
No views yet

pulpie package:pip install pulpie1from pulpie import Extractor
2
3extractor = Extractor(model="orange-base")
4result = extractor.extract(html)
5
6print(result.markdown) # clean Markdown
7print(result.html) # clean HTML
8print(result.n_main, result.n_other) # blocks kept vs droppedExtractor auto-detects CUDA, Apple MPS, then CPU. See the GitHub README for batch and multi-GPU usage.<|sep|> markers (~80% of pages fit in one chunk).<|sep|> position) as content or boilerplate.| Model | Params | ROUGE-5 F1 | Throughput (L4) |
|---|---|---|---|
| Pulpie Orange Large | 2.1B | 0.873 | 1.3 pages/sec |
| Dripper | 0.6B | 0.864 | 0.68 pages/sec |
| Pulpie Orange Base (this model) | 610M | 0.863 | 3.9 pages/sec |
| Pulpie Orange Small | 210M | 0.862 | 13.7 pages/sec |
| magic-html | - | 0.700 | - |
| Trafilatura | - | 0.619 | - |
| Model | Params | ROUGE-5 F1 | Use case |
|---|---|---|---|
| pulpie-orange-small | 210M | 0.862 | Recommended — best value, fastest |
| pulpie-orange-base | 610M | 0.863 | Balanced |
| pulpie-orange-large | 2.1B | 0.873 | Highest quality (teacher) |
simplify_html preprocessing, block-level annotation scheme, and the WebMainBench benchmark are foundational to this work. Built on EuroBERT (Boizard et al., 2025).1@note{pulpie2026,
2 title = {Pulpie: Pareto-Optimal Models for Cleaning the Web},
3 author = {Minhas, Bhavnick and Nigam, Shreyash and Feyn Research},
4 year = {2026},
5 venue = {Feyn Field Notes}
6}