计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
retrieval-representation【效率与协作】Use Simple Transformers representation, dense retrieval, DPR, BEIR/MSMARCO, hard-negative, and retrieval-evaluation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for sentence/word embeddings,
RepresentationModel.encode_sentences, dense retrieval with query/context
encoders, DPR-style training, hard negatives, BEIR/MSMARCO/TREC data, FAISS
indexes, or retrieval metrics.
RepresentationModel for hidden-state/token/word/sentence representations.RetrievalModel / RetrievalArgs for dense retrieval train/eval/predict.PretrainRetrievalModel as an advanced pretraining route.query_text, gold_passage, optional title, prediction queries, BEIR/MSMARCO/TREC conversion.faiss, pytrec_eval, and beir branches.python scripts/validate_retrieval_data.py --task retrieval-csv --input train.csv
python scripts/validate_retrieval_data.py --task query-lines --input queries.txt
python scripts/validate_retrieval_data.py --task beir-corpus-jsonl --input corpus.jsonl
python scripts/validate_retrieval_data.py --task beir-queries-jsonl --input queries.jsonl
python scripts/validate_retrieval_data.py --task tsv --input train.tsv
The helper checks file shape only. It does not import FAISS, build indexes, download datasets, train encoders, or run BEIR evaluation.
RepresentationModel when the output is embeddings or token vectors.RetrievalModel when the task includes query/passage training, hard negatives, or retrieval prediction.pytrec_eval, or full BEIR evaluation.Constructor signatures were inspected with compatibility warnings. Native representation/retrieval examples require checkpoint/dataset downloads and optional dependencies, so default verification uses validators and static/API evidence unless the user approves larger checks.