Convert to parquet (loading scripts are no longer supported) (part 00000-of-00002)

#2
by davanstrien HF Staff - opened
BigLAM: BigScience Libraries, Archives and Museums org

datasets no longer supports dataset loading scripts, so load_dataset('biglam/early_printed_books_font_detection') fails with RuntimeError: Dataset scripts are no longer supported.

This PR converts both splits to parquet and removes the loading script. Labels are read from labels-training.csv / labels-test.csv exactly as the script did, keeping the one-to-five font groups per page as a sequence. Page scans are embedded, so loading no longer depends on Zenodo.

(The script would also fail today for a second reason: it selected the Zenodo files on file['type'], a key the current Zenodo API no longer returns.)

The card's note that loading is broken is replaced with a working snippet; nothing else in the card is changed.

Source data unchanged: https://doi.org/10.5281/zenodo.3366686 (CC BY-NC-SA 4.0).

davanstrien changed pull request status to merged

Sign up or log in to comment