Spaces:
Paused
Paused
Download scripts/debug_keys.py from Abdalkaderdev/ORA: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/Abdalkaderdev/ORA/resolve/main/scripts/debug_keys.py
- Command line
-
hf download hf://spaces/Abdalkaderdev/ORA/scripts/debug_keys.py
-
curl -L -o debug_keys.py https://huggingface.co/spaces/Abdalkaderdev/ORA/resolve/main/scripts/debug_keys.py
297 Bytes
| from datasets import load_dataset | |
| ds = load_dataset("odunola/bible-reference-sentence-pair", split="train", streaming=True) | |
| print("Fetching 1 item...") | |
| for item in ds: | |
| print(f"Item Keys (repr): {[repr(k) for k in item.keys()]}") | |
| print(f"Headers Content: {item.get('headers')}") | |
| break | |