Download scripts/tools/debug_tools/read_pkl.py from BechusRantus/injected_thinking: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/BechusRantus/injected_thinking/resolve/main/scripts/tools/debug_tools/read_pkl.py
- Command line
-
hf download hf://BechusRantus/injected_thinking/scripts/tools/debug_tools/read_pkl.py
-
curl -L -o read_pkl.py https://huggingface.co/BechusRantus/injected_thinking/resolve/main/scripts/tools/debug_tools/read_pkl.py
186 Bytes
| import pickle | |
| pickle_file_path = "data/tool_results/val/0a0d6b8c2e884134a3b48df43d54c36a.pkl" | |
| with open(pickle_file_path, 'rb') as f: | |
| data = pickle.load(f) | |
| print(data.keys()) |