文件历史

提交图

327 次代码提交

作者 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
Jonas Mueller 6cffe92f4b shorten improving ML tutorial (#1266) 2025-12-15 19:24:31 -08:00
Jonas Mueller ab3cd6577d Update documentation/tutorials to remove Easy Mode sections (#1265) 2025-12-15 19:19:36 -08:00
Jonas Mueller 16eed69450 Shorten FAQ (#1264) 2025-12-15 17:07:59 -08:00
Jonas Mueller 562a0068da update faq to clarify non-classification tasks are supported 2025-03-11 18:13:25 -07:00
Gordon Lim 056d030620 update misc workflows datalab tutorial non-IID section to show overal… (#1221)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-12-29 08:02:07 -05:00
Jonas Mueller c2fdd17545 check issue types detected at end of datalab quickstart (#1220) 2024-12-26 06:09:16 -05:00
Rahul Aditya b9796a540c Move spurious correlations dataframe to info in Datalab (#1181)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-08-21 00:34:24 +00:00
Elías Snorrason 8bc7cc91f7 remove datamonitor code (#1191) 2024-08-20 02:08:53 +00:00
Nelson Auner b699edd9ac Update ctas at end of tutorials (#1182)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-08-02 16:02:49 -07:00
Rahul Aditya 774f5b4625 Run spurious correlation check for images by default in Datalab (#1171)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-07-30 16:27:22 +00:00
Jonas Mueller cebb53dd00 conclusion wording in the: improving ml tutorial (#1178) 2024-07-17 20:57:31 -07:00
Matthew Turk f96261d345 Fix edit data fn expansion cell formatting (#1177)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-07-17 19:53:09 -07:00
Matthew Turk 38183e3589 Merge pull request #1071 from cleanlab/add-train-test-clos-tutorial
Added new CLOS train test split tutorial notebook
2024-07-08 11:28:22 -07:00
Matt Turk a2c6bdfff0 Fixed trailing whitespace
CI / Test: Python 3.10 on windows (push) Has been cancelled
GitHub Markdown Links / test (push) Has been cancelled
CI / Test: Python 3.11 on windows (push) Has been cancelled
CI / Test: Python 3.8 on windows (push) Has been cancelled
CI / Test: Python 3.9 on windows (push) Has been cancelled
CI / Test: Python 3.10 on macos-latest (push) Has been cancelled
CI / Test: Python 3.11 on macos-latest (push) Has been cancelled
CI / Test: Python 3.8 on macos-latest (push) Has been cancelled
CI / Test: Python 3.9 on macos-latest (push) Has been cancelled
CI / Test: Python 3.10 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.8 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.9 on ubuntu-latest (push) Has been cancelled
CI / Test without optional dependencies and with minimum compatible versions of dependencies (push) Has been cancelled
CI / Type check (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Check for unused/wildcard imports (push) Has been cancelled
CI / Lint Notebooks (push) Has been cancelled
GitHub Pages / deploy (push) Has been cancelled
GitHub Pages / links (push) Has been cancelled
2024-07-08 10:08:20 -07:00
Matt Turk 88605001a7 Removed trailing whitespace for notebook linter 2024-07-07 22:40:43 -07:00
Matt Turk a3597714db Removed outputs from cell and confirmed tutorial looked good when building docs 2024-07-07 17:43:09 -07:00
Jonas Mueller 88613201fb markdown -> code cell 2024-07-07 03:26:01 -04:00
Jonas Mueller 460bb862be replace w updated file 2 2024-07-07 00:20:43 -07:00
Jonas Mueller 07ec147bb9 replace w updated file 2024-07-07 03:20:27 -04:00
Jonas Mueller bc66ee7054 test data curation 2024-07-06 23:52:14 -04:00
Jonas Mueller 0943bdd99e section headers 2024-07-06 23:41:08 -04:00
Jonas Mueller c351b50940 section numbering 2024-07-06 23:22:53 -04:00
Jonas Mueller 63f2f55655 model training desc 2024-07-06 23:12:20 -04:00
Jonas Mueller 1da171eb39 intro text refinements 2024-07-06 23:01:26 -04:00
Jonas Mueller 0f56347ccc reference CleanLearning 2024-07-06 22:59:14 -04:00
Jonas Mueller 7ca82c6e23 backticks standardization 2024-07-06 22:49:40 -04:00
Jonas Mueller fec315419e datalab on test data 2024-07-06 14:36:55 -04:00
Jonas Mueller 7893b03c83 period 2024-07-06 14:24:39 -04:00
Jonas Mueller 8759702e84 add more context in intro 2024-07-06 14:23:12 -04:00
Jonas Mueller 315d3ad784 2nd link to preprocessing definition 2024-07-06 13:56:14 -04:00
Elías Snorrason 46226527e9 Improve Datalab workflow tutorial on spurious correlations in image datasets (#1170) 2024-07-02 11:56:47 +00:00
Rahul Aditya 7a801c5ee1 Improve metrics for testing label issue identification in Datalab Quickstart tutorial (#1166)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-07-01 14:58:03 +00:00
Elías Snorrason 0a675a1c4b Update links to Issue Type Guide in workflows tutorials (#1168) 2024-06-28 15:28:19 +00:00
Rahul Aditya d3fd6280f4 Add functionality for finding spurious correlations for image(#1140)
Co-authored-by: Pratham Savaliya <no-reply>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-06-27 15:34:59 +00:00
Matt Turk 69295dd679 Updated tutorial hidden test thresholds, updated a few code blocks that were outdated with newest version of cleanlab package, and some wording in markdown 2024-06-21 16:04:03 -04:00
Matthew Turk 10563fe0a8 Update docs/source/tutorials/improving_ml_performance.ipynb
Co-authored-by: Nelson Auner <nelson@auner.org>
2024-06-20 10:22:13 -04:00
Matthew Turk dff939590f Update docs/source/tutorials/improving_ml_performance.ipynb
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-06-20 10:20:46 -04:00
Jonas Mueller 01f753b589 reformat wording 2024-06-19 21:12:06 -07:00
Jonas Mueller a79485eb39 add elias edit
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-06-19 21:07:44 -07:00
Jonas Mueller fcdd04c967 caution this tutorial is complex 2024-06-19 21:05:21 -07:00
Jonas Mueller b5927f058b conciseness 2024-06-19 20:55:36 -07:00
Jonas Mueller 8b146f7b67 test data changes confusion 2024-06-19 20:50:53 -07:00
Jonas Mueller cf8408c18d confusion about bias in test data 2024-06-19 20:46:32 -07:00
Jonas Mueller 4a32bd9fe4 link to define preprocess 2024-06-19 20:42:29 -07:00
Jonas Mueller 05ed54c2a8 address nelson validation data concern 2024-06-19 20:36:34 -07:00