技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
labeling【数据与研究】Operate Snorkel labeling functions, appliers, LF analysis, and label models.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for Snorkel weak-supervision labeling work:
LabelingFunction objects and labeling_function decoratorsresources dictionaries and local pre preprocessors to LFsLFAnalysisLabelModelRandomVoter, MajorityClassVoter, and MajorityLabelVoterfilter_unlabeled_dataframeNLPLabelingFunction and spark_nlp_labeling_functionDo not use this sub-skill for:
../data-transforms/SKILL.md../classification/SKILL.md../slicing/SKILL.mdLFAnalysis before training any label model.LabelModel only after the matrix has meaningful coverage and at least 3 LFs.predict_proba, predict, or a voter baseline to generate weak labels.data-transforms.Task, Trainer, or weak-label-to-discriminative-model training? Use classification.SliceAwareClassifier? Use slicing.references/troubleshooting.md.references/api-reference.mdreferences/workflows.mdreferences/troubleshooting.mdscripts/labeling_smoke.pyscripts/labeling_spark_smoke.py-1 only for abstain.fault_tolerant=True on an applier turns LF failures into abstains and records fault counts in metadata.LabelModel needs a label matrix with at least 3 LFs and labels in [-1, 0, ..., cardinality-1].en_core_web_sm and memoization is enabled by default for NLPLabelingFunction.