Download examples/quickstart.py from BeliefLens/FinGovBench: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/datasets/BeliefLens/FinGovBench/resolve/main/examples/quickstart.py
- Command line
-
hf download hf://datasets/BeliefLens/FinGovBench/examples/quickstart.py
-
curl -L -o quickstart.py https://huggingface.co/datasets/BeliefLens/FinGovBench/resolve/main/examples/quickstart.py
465 Bytes
| #!/usr/bin/env python3 | |
| """Load FinGovBench from Hugging Face and inspect its three public configs.""" | |
| from datasets import load_dataset | |
| DATASET = "BeliefLens/FinGovBench" | |
| closed_loop = load_dataset(DATASET, "closed_loop") | |
| labels = load_dataset(DATASET, "labels") | |
| print(closed_loop) | |
| print(labels) | |
| print("closed-loop example:", closed_loop["development"][0]["case_id"]) | |
| print("workflow components:", len(closed_loop["development"][0]["workflow"]["components"])) | |