Datasets:

Modalities:
Image
Text
Formats:
arrow
Libraries:
Datasets
License:

Add script level dependencies to script (remove from readme)

#5
by KennethEnevoldsen - opened
Center for Humanities Computing Aarhus org

example: https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/blob/main/data/danske-taler/create.py

# /// script
# requires-python = "==3.12"
# dependencies = [
#     "beautifulsoup4==4.13.3",
#     "datasets>=3.0.0",
# ]
# ///

uv example of how to add it: https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies

Sign up or log in to comment