计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
token-and-qa【效率与协作】Use Simple Transformers NER/token-classification and extractive question-answering APIs, schemas, validators, and troubleshooting routes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for named entity recognition, token
classification, CoNLL data, LayoutLM token boxes, SQuAD-style extractive QA,
answer-span validation, or QA lazy loading with simpletransformers.ner or
simpletransformers.question_answering.
NERModel / NERArgs train, eval, and predict workflows.QuestionAnsweringModel / QuestionAnsweringArgs train, eval, and predict workflows.Run the bundled validator before invoking model code:
python scripts/validate_token_qa_data.py --task ner-csv --input ner.csv
python scripts/validate_token_qa_data.py --task ner-conll --input train.conll
python scripts/validate_token_qa_data.py --task qa-json --input train.json
python scripts/validate_token_qa_data.py --task qa-jsonl --input train.jsonl
python scripts/validate_token_qa_data.py --task qa-predict-json --input predict.json
The helper performs deterministic schema and answer-span checks. It does not import Simple Transformers, download checkpoints, or train models.
use_cuda=False for CPU smoke tests.no_save=True, overwrite_output_dir=True, and reprocess_input_data=True for temporary checks.context and answer_start must point to that exact substring.The NER and QA public constructors were inspected for Simple Transformers 0.70.8. Repo-native tests contain useful tiny data but train/download Hugging Face models, so they are treated as optional final native cases unless network/cache/compute budget is approved.