Commit Graph

80 Commits

Author SHA1 Message Date
brent.edwards a508e8c349 ruff check now passes everything in scripts. 2026-01-09 15:17:32 -08:00
brent.edwards 8329e7dd2c Minor changes to remove unused variables. 2026-01-08 16:48:06 -08:00
brent.edwards 18a146faad Changes made first by Aider, then by me. Aider was too slow. 2026-01-08 16:42:56 -08:00
brent.edwards 21c9acb4bf style: break long f-string into multiple lines for readability
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2026-01-08 16:00:54 -08:00
brent.edwards 8921dc31ca style: remove trailing whitespace in docstring
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2026-01-08 16:00:04 -08:00
brent.edwards c3fcd5adb1 fix: remove trailing whitespace in docstring
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2026-01-08 15:59:14 -08:00
brent.edwards c120b2b793 style: break long docstring line for readability
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2026-01-08 15:58:14 -08:00
brent.edwards 6f4d9af488 style: break docstring lines to adhere to 88-character limit
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2026-01-08 15:56:34 -08:00
brent.edwards 72d4b9a9ba refactor: remove unused variable and simplify exception handling 2026-01-08 15:45:11 -08:00
brent.edwards f8a7739016 Minor changes. 2025-12-30 18:06:34 -08:00
aditya 2b1537d4f9 fix: fix ruff check errors 2025-12-29 18:49:57 +05:30
aditya 90d77a7077 fix: fix chunksize argument in multiprocessing as per review 2025-12-29 18:47:22 +05:30
brent.edwards e7a540aeb3 More work toward pyright approval. 2025-12-28 17:13:34 -08:00
brent.edwards 1d33b67198 A few minor fixes. 2025-12-26 18:49:33 -08:00
aditya 1bb26305ce fix: fix path too long issue; fix pickling issue in unified converter script 2025-12-26 18:21:02 +05:30
aditya 5b215aff76 fix: complete the unified script to add add the new features as streaming parallel; update the upload_all_dataset.py to use the unified script 2025-12-24 21:00:32 +05:30
brent.edwards 02f740ab81 Moved the new unified code. 2025-12-23 17:51:11 -08:00
aditya bbc0d61039 Merge branch '7-dockerfile-setup' into stream-download-convert-upload 2025-12-23 20:52:17 +05:30
aditya d564739f72 Merge branch '35-xz-compression' into stream-download-convert-upload 2025-12-23 20:20:36 +05:30
aditya d5ac95f2aa feat: add --list --dry-run dataset card feature 2025-12-23 19:31:53 +05:30
aditya 711ee61f9a –fix: Address code review feedback - deduplication, format support, and error handling improvements 2025-12-23 19:28:21 +05:30
brent.edwards 2ea6f3a89e Added all appropriate files from https://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/ 2025-12-22 18:46:29 -08:00
brent.edwards a51f1f3703 Fixing dataset_config to download one file. 2025-12-22 17:13:28 -08:00
brent.edwards 16fd345664 Added dataset_config. 2025-12-22 16:12:45 -08:00
aditya b218ab1410 feat: add rdf_to_hf_incremental.py script for true streamingof entire pipeline 2025-12-19 20:20:51 +05:30
brent.edwards ff3939d937 fix: improve RDF format detection and parsing for UniProt dataset
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-12-16 19:38:30 -08:00
brent.edwards 1df9fcbdf6 Merge branch '35-xz-compression-aider' into 35-xz-compression 2025-12-16 18:22:37 -08:00
brent.edwards 0784e3e275 Fixes suggested by Aider. 2025-12-16 18:21:25 -08:00
brent.edwards 757d6dd7f8 fix: update error message for missing xz command
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2025-12-16 18:08:30 -08:00
brent.edwards e0b0836ffc fix: correct xz decompression command and update error messages
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2025-12-16 18:07:58 -08:00
brent.edwards 6f12a78c2c Fixing dataset_config to download one file. 2025-12-16 14:06:52 -08:00
brent.edwards 8bef6986ea Added .xz compression to code. 2025-12-16 14:00:06 -08:00
aditya 0a9e8da028 –fix: add hugging face push_to_hub()to upload the dataset directly to hugging face 2025-12-15 19:31:10 +05:30
brent.edwards 4da8793b18 THIS DOES NOT WORK. 2025-12-11 21:26:52 -08:00
aditya 1e95cb9a91 fix: fix ruff check related errors 2025-12-11 19:01:35 +05:30
aditya efa08d5c7d fix: fix minor linting errors 2025-12-11 18:56:29 +05:30
aditya 5a3b22d47f fix: resolve pickling error in streaming converter generator 2025-12-11 18:36:17 +05:30
brent.edwards 18a724eef9 More changes. 2025-12-09 20:01:45 -08:00
brent.edwards eba86c37be fix: remove undefined variables and redundant code in dataset conversion script
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2025-12-09 20:00:50 -08:00
brent.edwards 29c71c5aea refactor: implement true streaming approach for RDF to dataset conversion
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
2025-12-09 20:00:11 -08:00
brent.edwards 0f3e5f2e30 style: simplify string formatting and type hints in script 2025-12-09 20:00:04 -08:00
brent.edwards bac71ff1cc Minor improvements. 2025-12-09 13:28:30 -08:00
aditya 2342d2dada fix: resolve resume functionality crash for complete files 2025-12-09 19:26:31 +05:30
aditya a9b6518839 feat: add download via ftp functionality 2025-12-09 19:23:19 +05:30
brent.edwards 37b3ee6e91 Final version; what was used to send wikidata-truthy. 2025-12-07 09:47:04 -08:00
brent.edwards a6928d0ce2 Changes requested by Kyle; thank you! 2025-12-04 14:11:41 -08:00
brent.edwards 9534336c15 Replacing upload_all_datasets.py with the previous
upload_all_datasets.2.py
2025-12-02 14:40:15 -08:00
brent.edwards 68587e5e6c Parallelized the call to dataset_dict.save_to_disk. 2025-11-30 17:45:25 -08:00
brent.edwards 3d2a9b75a2 Added some fixes to run the wikidad-truthy set.
Please enter the commit message for your changes. Lines starting
2025-11-26 17:21:46 -08:00
aditya db7733d630 Fix: fix bugs in dataset upload and conversion scripts 2025-11-26 17:30:49 +05:30