Spaces:
Build error
Build error
Download augment_data_test.py from atoye1/busan_data_navigator: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/atoye1/busan_data_navigator/resolve/main/augment_data_test.py
- Command line
-
hf download hf://spaces/atoye1/busan_data_navigator/augment_data_test.py
-
curl -L -o augment_data_test.py https://huggingface.co/spaces/atoye1/busan_data_navigator/resolve/main/augment_data_test.py
343 Bytes
| from utils.data_utils import augment_data_with_llm, add_column_metadata | |
| import json | |
| # with open('data/id_to_metadata.json', 'r') as f: | |
| # id_to_metadata = json.load(f) | |
| # add_column_metadata(id_to_metadata) | |
| with open('data/id_to_metadata_col.json', 'r') as f: | |
| id_to_metadata_col = json.load(f) | |
| augment_data_with_llm(id_to_metadata_col) |