技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
evaluation-and-optimization【数据与研究】Guide AdalFlow evaluation metrics, datasets, parameters, gradients, prompt/few-shot/text-grad optimization, AdalComponent, Trainer, and optimize_anything workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to score task outputs, select or load AdalFlow benchmark datasets, make Parameter objects trainable, wrap a task in AdalComponent, run Trainer.diagnose or Trainer.fit, configure few-shot/text-gradient optimizers, or use optimize_anything for bounded text-artifact search.
Stay here for:
AnswerMatchAcc, RetrieverEvaluator, and cautious LLMasJudge evaluation.Parameter, ParameterType, GradComponent, EvalFnToTextLoss, LLMAsTextLoss, BootstrapFewShot, TGDOptimizer, AdalComponent, Trainer, and optimize_anything workflows.Route away instead of duplicating guidance:
retrieval-rag-and-data-pipelines.Generator, and fake provider clients: use model-client-and-generator-workflows.tracing-observability-and-configuration.Parameter/gradient concepts, AdalComponent contracts, Trainer.fit/diagnose, few-shot/text-gradient optimizer setup, and optimize_anything.AnswerMatchAcc or RetrieverEvaluator and run a tiny local smoke case before any model-backed judge or optimizer.LLMasJudge, LLMAsTextLoss, backward engines, teacher generators, and TGDOptimizer can invoke model providers. Require explicit provider setup, credentials, budget, sample limits, and cache/checkpoint choices.size=... or pre-existing local data for first tests.AdalComponent contracts explicit. prepare_task returns (callable, kwargs) for one sample; prepare_eval returns (eval_fn, kwargs) for inference scoring; prepare_loss returns (loss_fn, kwargs) with Parameter inputs and correct eval_input values.Trainer.diagnose is useful for identifying failing samples and prompt/output issues. Use num_workers=1 for minimal debugging, then raise concurrency only after stable.GeneratorOutput.data, or Parameter.full_response.data?ParameterType (PROMPT for instructions, DEMOS for examples)?id fields and a real validation set?