文件历史

提交图

10 次代码提交

作者 SHA1 备注 提交日期
Matthew Turk bde1f0c535 Address PR review comments: add %%capture and update huggingface_hub version (#1274) 2026-01-07 14:12:25 -08:00
Matt Turk 66e94ebb0a Fix HuggingFace Hub downloads by adding repo_type="dataset"
The tutorial notebooks were failing with 404 errors because hf_hub_download()
defaults to looking for model repositories, not dataset repositories.

Fixed by adding repo_type="dataset" parameter to all hf_hub_download() calls in:
- object_detection.ipynb (3 downloads: labels.pkl, predictions.pkl, example_images.zip)
- segmentation.ipynb (2 downloads: given_masks.npy, predicted_masks.npy)
- token_classification.ipynb (1 download: pred_probs.npz)

This ensures the downloads use the correct URL format:
https://huggingface.co/datasets/Cleanlab/... instead of
https://huggingface.co/Cleanlab/...

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 18:08:17 -05:00
Matt Turk 8413ad8676 Migrate tutorials to HuggingFace Hub datasets
Replace S3 URLs with HuggingFace Hub dataset loading across all 4 tutorials:
- improving_ml_performance.ipynb: Use load_dataset("Cleanlab/student-grades")
- object_detection.ipynb: Use hf_hub_download for labels, predictions, and images
- segmentation.ipynb: Use hf_hub_download for given_masks and predicted_masks
- token_classification.ipynb: Use hf_hub_download for pred_probs

All tutorials now load data from HuggingFace Hub instead of S3, with proper
imports and dependencies added (datasets, huggingface_hub).

🤖 Generated with Claude Code
2025-12-18 17:25:03 -05:00
Reuven Peleg a4b1612528 Update segmentation.ipynb (#948) 2024-01-09 15:00:59 +00:00
Jonas Mueller 8a1ae01213 various tutorials, docs, language updates (#847) 2023-09-08 21:53:55 -07:00
Ulyana 7f12abf885 Add improved package import check for tutorials (#777)
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-07-27 17:56:47 -04:00
Ulyana 1575ba7432 Add better segmentation tutorial hidden cell test (#759) 2023-06-29 18:01:45 -07:00
Ulyana a77f84088c Update indices checked for in hidden final test cell of segmentation tutorial (#756)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-06-28 16:01:11 -07:00
Ulyana 78832cb97c Reduce size of segmentation tutorial dataset (#754) 2023-06-23 17:20:31 -07:00
Vedang Lad 35606fc401 label error detection in semantic segmentation datasets (#677)
Co-authored-by: Ulyana <ulyana@cleanlab.ai>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-06-23 00:32:08 -07:00