文件历史

提交图

15 次代码提交

作者 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 25349f0c72 Clear outputs 2025-12-18 18:18:46 -05:00
Matt Turk 6d69e41275 Fixed object detection tutorial to use HFHub 2025-12-18 18:14:06 -05: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
Elías Snorrason 4e2cafbc51 Update pip install instruction in object detection tutorial (#1126) 2024-05-23 15:07:17 +00:00
Jonas Mueller 6c1882bbcc fix typos in object detection notebook (#983) 2024-02-08 00:02:06 -07:00
Aditya Thyagarajan 2b6ad95c32 add exploratory analysis for objectlab (#969)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-02-07 21:19:05 -07:00
Elías Snorrason bad83457f3 Drop Python 3.7 support and add Python 3.11 support (#980) 2024-02-07 14:46:58 -07:00
Ulyana 0d30452da5 Add docstring clarification to Object Detection bbox shapes (#954)
Co-authored-by: Aditya Thyagarajan <aditya1593@icloud.com>
2024-01-24 09:33:23 -08:00
Jonas Mueller e9cc53eab7 is->has (#851) 2023-09-16 19:34:18 -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 29022f110b Update OD tutorial to work with new scores (#779)
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-07-21 20:55:26 -04:00
Ulyana 299d66f3ec Update object detection tutorial to clarify out-of-sample predictions (#745)
* Add out-of-sample clarification to notebook, fix filename check, add unit tests
2023-06-15 13:14:30 -07:00
Ulyana da65a9727f identifying label errors in Object Detection data (#676)
Co-authored-by: Aditya Thyagarajan <aditya1593@icloud.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-06-07 01:12:46 -07:00