Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

ReScraper

by Chenyan Xiong Research Group at CMU cx-cmu/ReScraper

ReScraper is an open-weight model for text generation from Chenyan Xiong Research Group at CMU, released under Apache License 2.0. Its published files total 1.2 GB.

ReScraper is a 0.6B refiner that replaces the heuristic HTML-to-text stack of a pretraining data pipeline — a rule-based scraper followed by rule-based cleaning filters — with a single small language model.

Parameters—
Context—
Weights1.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Chenyan Xiong Research Group at CMU, published under apache-2.0, revision 558b56cbb21b.

ReScraper is a 0.6B refiner that replaces the heuristic HTML-to-text stack of a pretraining data pipeline — a rule-based scraper followed by rule-based cleaning filters — with a single small language model. The model reads the visible text of a raw web page, rendered one block per line with line ids, and generates a short program: 1. An block of line removals (rm 1-4, rm 6, …) that strips headers, menus, boilerplate and other non-content lines. 2. One operation tag for the page: An executor applies the program to the page, so extraction and cleaning happen in one model instead of a cascade of separate stages. The system prompt and the executor that applies the generated program are in the…

Read Chenyan Xiong Research Group at CMU's full model card

ReScraper is a 0.6B refiner that replaces the heuristic HTML-to-text stack of a pretraining data pipeline — a rule-based scraper followed by rule-based cleaning filters — with a single small language model.

What the model does

The model reads the visible text of a raw web page, rendered one block per line with line ids <lid:n>, and generates a short program:

  1. An <extract> block of line removals (rm 1-4, rm 6, …) that strips headers, menus, boilerplate and other non-content lines.
  2. One operation tag for the page:
Tag Meaning
<keep> keep the extracted text as it is
<edit> remove further noisy lines and spans inside the page
<delete> drop the page entirely
<rewrite> rewrite a poorly written but informative page

An executor applies the program to the page, so extraction and cleaning happen in one model instead of a cascade of separate stages.

Files

models/ReScraper/     the refiner (Stage 2 checkpoint), in Hugging Face format

Usage

from vllm import LLM, SamplingParams

llm = LLM(model="cx-cmu/ReScraper", dtype="bfloat16", max_model_len=32768)
params = SamplingParams(temperature=1.0, top_p=1.0, max_tokens=3072)

system = open("prompts/student_system_stage2.txt").read()   # from the code repository
page   = "<lid:1> ...\n<lid:2> ...\n"                        # rendered page, one block per line

out = llm.chat(
    [[{"role": "system", "content": system}, {"role": "user", "content": page}]],
    params,
)
print(out[0].outputs[0].text)

The system prompt and the executor that applies the generated program are in the code repository, together with the full pipeline (rendering, inference, post-filtering, deduplication and tokenization).

Training

The model is trained in two supervised stages, distilling three teachers: a main-content extractor, a refinement teacher that decides the operation and edits the text, and a rewriting teacher for pages that are informative but poorly written. Both training sets are released in cx-cmu/ReScraper-Data.

License

Apache 2.0.

Identity and Version

Repository
cx-cmu/ReScraper
Publisher
Chenyan Xiong Research Group at CMU
Task
Text generation
Modality
Text
Library
Not stated by the source
Parameters
Not stated by the source
Languages
en
Revision
558b56cbb21b7ac947e335f8962ed8e3b7d410d0
First published
2026-09-27
Last updated
2026-09-28

Files and Weights

16 files, 1.2 GB in total. The weights are 2 files totalling 1.2 GB in bin, safetensors.

Weights2 files · 1.2 GB
Configuration4 files · 2.9 KB
Tokenizer4 files · 15.9 MB
Documentation2 files · 4.9 KB
Other3 files · 23.5 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
models/ReScraper/model.safetensorsWeights1.2 GB eb38696d5a22
models/ReScraper/training_args.binWeights7.8 KB ab2359b52f84
models/ReScraper/added_tokens.jsonConfiguration707 B —
models/ReScraper/config.jsonConfiguration1.4 KB —
models/ReScraper/generation_config.jsonConfiguration188 B —
models/ReScraper/special_tokens_map.jsonConfiguration613 B —
README.mdDocumentation2.5 KB —
prompts/README.mdDocumentation2.4 KB —
models/ReScraper/chat_template.jinjaOther4.2 KB —
prompts/student_system_stage1.txtOther9.7 KB —
prompts/student_system_stage2.txtOther9.7 KB —
.gitattributesRepository1.6 KB —
models/ReScraper/merges.txtTokenizer1.7 MB —
models/ReScraper/tokenizer.jsonTokenizer11.4 MB aeb13307a71a
models/ReScraper/tokenizer_config.jsonTokenizer5.4 KB —
models/ReScraper/vocab.jsonTokenizer2.8 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
1.2 GB
Download from Chenyan Xiong Research Group at CMU

Released by Chenyan Xiong Research Group at CMU through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published1.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About ReScraper

Can I use ReScraper commercially?

Yes. ReScraper is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers