技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-data-finetuning【数据与研究】Prepare RAGatouille ColBERT training data and run RAGTrainer fine-tuning safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to prepare ColBERT training files, validate retrieval training examples, mine or sample negatives, split corpora into passages, or launch RAGatouille RAGTrainer training/fine-tuning.
This sub-skill covers:
RAGTrainer.__init__, add_documents, prepare_training_data, export_training_data, and train.TrainingDataProcessor.process_raw_data for direct offline conversion when a trainer/model should not be initialized.CorpusProcessor.process_corpus and llama_index_sentence_splitter for turning raw documents into {document_id, content} chunks.SimpleMiner hard-negative mining, model sizes, language routing, and safe fallbacks.all_documents, data_out_path, labels, and generated ColBERT files.Route other work elsewhere:
../pretrained-indexing-search/SKILL.md.../index-free-reranking/SKILL.md.../integrations-export/SKILL.md.prepare_training_data call: pairs, labeled_pairs, or triplets; do not mix modes in one list.RAGTrainer:
python scripts/validate_training_data.py examples.json --mode auto
TrainingDataProcessor with mine_hard_negatives=False; use RAGTrainer only when model initialization and possible downloads are acceptable.corpus.train.colbert.tsv, queries.train.colbert.tsv, and triples.train.colbert.jsonl.train() as expensive GPU/model work; run it only after data files exist and the runtime has the requested base checkpoint and suitable hardware.references/api-reference.md.references/data-formats.md.references/workflows.md.references/troubleshooting.md.