experimental
Routes unstable cleanlab experimental helpers for low-memory batched label finding, span labels, and optional PyTorch examples.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- experimental
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes unstable cleanlab experimental helpers for low-memory batched label finding, span labels, and optional PyTorch examples.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/dependency-matrix.md4.2 KB
- 参考文档references/overview.md6.8 KB
- 参考文档references/troubleshooting.md6.9 KB
- 脚本scripts/smoke_experimental.py9.1 KB
03 SKILL.md 正文
cleanlab experimental helpers
Use this sub-skill only when the user explicitly wants cleanlab.experimental behavior or accepts an unstable helper because the stable route does not fit their constraint. The cleanlab experimental docs warn that these methods are bleeding edge, may have sharp edges, and are not guaranteed stable across cleanlab versions.
Route here
cleanlab.experimental.label_issues_batched.find_label_issues_batchedorLabelInspectorfor very large multiclasslabels/pred_probswhere normal in-memory label-issue detection is too memory hungry.cleanlab.experimental.span_classificationwhen the user specifically asks for the experimental span-label wrapper around token classification.cleanlab.experimental.mnist_pytorch,cleanlab.experimental.cifar_cnn, orcleanlab.experimental.coteachingwhen the user wants the optional PyTorch/CIFAR/MNIST/co-teaching examples and accepts extra dependencies, training cost, and instability.- Opt-in smoke validation with
scripts/smoke_experimental.pybefore relying on these APIs in a fresh environment.
Prefer stable sibling routes first
- Use
../classification/SKILL.mdfor standardCleanLearning,filter.find_label_issues,count,rank, dataset health, noisy-label benchmarking, and the core low-memory label-inspection idea when the user has not explicitly chosen the experimental batched helper. - Use
../structured-label-issues/SKILL.mdfor stable token-classification workflows. Route stable token-label issue detection there instead of usingexperimental.span_classification. - Use
../datalab/SKILL.md,../multiannotator/SKILL.md,../outlier/SKILL.md, or../tabular-label-issues/SKILL.mdfor their stable workflow families.
Read these bundled references
references/overview.md: task routes, minimal workflows, and the source-artifact bundling decision for this sub-skill.references/dependency-matrix.md: required and optional dependencies, includingtorch,torchvision, andskorchboundaries.references/troubleshooting.md: missing optional packages, file-backed array mistakes, slow training/downloads, span wrapper limitations, and experimental deprecation risk.
Operating cautions
- Do not describe these helpers as production-stable defaults or dependency-free.
- Do not make the PyTorch examples part of a stable cleanlab route; they are optional examples, not a required package path.
- For low-memory multiclass inspection, explain the stable classification workflow first, then mention
label_issues_batchedonly when the user needs file-backed or multi-batch processing. - For span data, state that
span_classificationis a thin wrapper overcleanlab.token_classification; use stable token-classification guidance for ordinary token-label tasks.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).