Instructions to use stolzenp/FundusCrawler-plaintext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stolzenp/FundusCrawler-plaintext with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("stolzenp/FundusCrawler-plaintext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Inference prompt, generation settings and test set for reproducing the paper
Dear Pascal Stolzenburg and Jonas Golde,
I am a student at Vilnius University (Faculty of Mathematics and Informatics). For a course project on finding public-sector problems in Lithuanian news, I am reproducing news-crawler-LM (arXiv 2607.21284) before using it to extract article text, title, date and author.
With the released adapters (stolzenp/FundusCrawler-plaintext and -json) and the dataset stolzenp/fundus-cleaned-filtered-62K, four things are missing to rerun your evaluation as you did:
- The prompt used in training and at inference. I currently use ReaderLM-v2's format: its chat template, then "Extract the main content from the given HTML and convert it to Markdown format." for the plaintext model, and ReaderLM-v2's JSON instruction with a schema of the Fundus fields for the JSON model. Is that what you trained with?
- The generation settings: greedy decoding or sampling, any repetition penalty, the maximum number of new tokens.
- The test set. The paper describes about 1,000 pages from 10 held-out publishers, but the released test split has 90 pages from 9 publishers. Could you share the paper's test pages, or explain how they relate to the released split?
- The HTML cleaning code. The released inputs have no
<a>,<img>,<link>or inline JavaScript, but keep<meta>, comments and JSON scripts.
With greedy decoding and these prompts, on the released test split I get ROUGE-L 0.705, BLEU 0.648 and METEOR 0.726 for the plaintext model (your Table 3: 0.749, 0.671, 0.739). About a fifth of the answers repeat until the 8,192-token limit, so the generation settings may explain much of the gap.
Thank you for releasing the models and data.
Kind regards,