AGENT SKILL

deeppavlov

DeepPavlov package routing for config-driven NLP workflows, model-family selection, and serving.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
deeppavlov
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
DeepPavlov package routing for config-driven NLP workflows, model-family selection, and serving.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

DeepPavlov

Use this repo skill when the task involves the DeepPavlov Python package, its deeppavlov.configs tree, or the python -m deeppavlov command family.

What this skill covers

  • Installing and smoke-checking the package.
  • Choosing the right CLI mode for a config-driven workflow.
  • Routing to the right model family for text classification, tagging, retrieval/QA, or serving.
  • Troubleshooting package-wide install/import and config issues.

Start here

  1. Read references/installation-and-cli.md for install, CLI modes, and the offline smoke helper.
  2. Read references/model-overview.md to route to the right sub-skill for the user’s task family.
  3. Read references/troubleshooting.md when the failure is package-wide rather than family-specific.
  4. Read references/repo-provenance.md if you need the source baseline used to create this skill.

Route to a sub-skill

sub-skills/pipelines/SKILL.md

Use this for config parsing, build_model, train_model, evaluate_model, train_evaluate_model_from_config, parse_config, deep_download, nested configs, registries, custom components, cross-validation, and parameter search.

sub-skills/text-models/SKILL.md

Use this for classifiers, NER, entity extraction, spelling correction, sentence segmentation, morpho-syntax parsing, relation extraction, multitask models, and embedding extraction.

sub-skills/retrieval-qa/SKILL.md

Use this for document retrieval, ranking, FAQ, SQuAD, ODQA, and KBQA.

sub-skills/serving/SKILL.md

Use this for riseapi, risesocket, /probe, /api, socket framing, service settings, TLS flags, metrics, and runtime request validation.

Minimal package smoke

After installing DeepPavlov in the target environment, run the offline smoke script:

python scripts/smoke_deeppavlov_pipeline.py

Expected result: the tiny lowercasing/tokenization pipeline prints a tokenized output for the default text.

Common decisions

  • If the user only gives a config stem, let DeepPavlov resolve it unless a deprecation alias warning appears.
  • If the task is about the shape of a config or how to wire a pipeline, go to pipelines.
  • If the task is about which built-in model family to use, go to text-models or retrieval-qa.
  • If the task is about exposing a chosen model over HTTP or sockets, go to serving.
  • If the task is about a broken install, import, or dependency conflict and does not depend on a specific family, use the root troubleshooting reference.

What not to do here

  • Do not re-open the original repository checkout for runtime guidance when the bundled references already answer the question.
  • Do not bury model-family specifics in this root file; keep them in the owned sub-skill.
  • Do not send serving questions to a model-family sub-skill just because the model family appears in the request.

Useful commands

  • python -m deeppavlov --help
  • python scripts/smoke_deeppavlov_pipeline.py
  • python -m pip check

Provenance and selection metadata

  • See references/repo-provenance.md for the source baseline.
  • See references/repo-routing-metadata.json for router placement and usage signals.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351