본문으로 건너뛰기
cccskills
무료GitHub에 공개

colbert

Use ColBERT/colbert-ai for late-interaction retrieval: prepare data, inspect configs, train/fine-tune, index collections, search rankings, update indexes, serve search, evaluate MS MARCO/LoTTE outputs, or reason about Baleen multi-hop retrieval.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(44)

  • SKILL.md4.9 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json428 B
  • references/troubleshooting.md3.3 KB
  • scripts/check_colbert_env.py3.7 KB
  • sub-skills/baleen-multihop/references/api-reference.md6.7 KB
  • sub-skills/baleen-multihop/references/baleen-workflows.md5.5 KB
  • sub-skills/baleen-multihop/references/troubleshooting.md5.7 KB
  • sub-skills/baleen-multihop/scripts/inspect_baleen_imports.py7.8 KB
  • sub-skills/baleen-multihop/SKILL.md3.6 KB
  • sub-skills/data-and-evaluation/references/api-reference.md4.6 KB
  • sub-skills/data-and-evaluation/references/data-formats.md5.1 KB
  • sub-skills/data-and-evaluation/references/evaluation-and-rankings.md5.8 KB
  • sub-skills/data-and-evaluation/references/troubleshooting.md8.1 KB
  • sub-skills/data-and-evaluation/scripts/evaluate_tiny_ranking.py9.9 KB
  • sub-skills/data-and-evaluation/scripts/prepare_collection_tsv.py7.1 KB
  • sub-skills/data-and-evaluation/scripts/validate_colbert_data.py10.0 KB
  • sub-skills/data-and-evaluation/SKILL.md4.2 KB
  • sub-skills/index-updates-and-serving/references/api-reference.md3.6 KB
  • sub-skills/index-updates-and-serving/references/index-update-workflows.md5.0 KB
  • sub-skills/index-updates-and-serving/references/serving-api.md3.4 KB
  • sub-skills/index-updates-and-serving/references/troubleshooting.md4.5 KB
  • sub-skills/index-updates-and-serving/scripts/index_update_template.py7.3 KB
  • sub-skills/index-updates-and-serving/scripts/serve_search_api.py6.9 KB
  • sub-skills/index-updates-and-serving/SKILL.md3.6 KB
  • sub-skills/indexing-and-search/references/api-reference.md7.6 KB
  • sub-skills/indexing-and-search/references/index-search-workflows.md9.4 KB
  • sub-skills/indexing-and-search/references/troubleshooting.md9.2 KB
  • sub-skills/indexing-and-search/scripts/minimal_index_search_template.py7.6 KB
  • sub-skills/indexing-and-search/scripts/validate_colbert_inputs.py7.2 KB
  • sub-skills/indexing-and-search/SKILL.md3.3 KB
  • sub-skills/modeling-and-tokenization/references/api-reference.md6.7 KB
  • sub-skills/modeling-and-tokenization/references/config-reference.md5.9 KB
  • sub-skills/modeling-and-tokenization/references/modeling-and-tokenization.md6.5 KB
  • sub-skills/modeling-and-tokenization/references/troubleshooting.md7.0 KB
  • sub-skills/modeling-and-tokenization/scripts/inspect_checkpoint_config.py3.8 KB
  • sub-skills/modeling-and-tokenization/scripts/tokenization_smoke.py5.7 KB
  • sub-skills/modeling-and-tokenization/SKILL.md3.7 KB
  • sub-skills/training-and-distillation/references/api-reference.md5.1 KB
  • sub-skills/training-and-distillation/references/training-workflows.md5.0 KB
  • sub-skills/training-and-distillation/references/troubleshooting.md4.6 KB
  • sub-skills/training-and-distillation/scripts/training_template.py7.9 KB
  • sub-skills/training-and-distillation/scripts/validate_training_files.py10.9 KB
  • sub-skills/training-and-distillation/SKILL.md3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ColBERT Repo Skill

Use this skill when a task involves the colbert-ai Python package, the ColBERTv2/PLAID retrieval workflow, ColBERT data formats, or the optional Baleen multi-hop extension.

ColBERT is a late-interaction neural retrieval system. Typical workflows prepare TSV data, choose or train a checkpoint, build an index, search queries, save rankings, and evaluate retrieval quality.

Start Here

  1. Install the public package with the needed backend, for example pip install "colbert-ai[torch,faiss-cpu]" for CPU-oriented inspection or pip install "colbert-ai[torch,faiss-gpu]" when CUDA/FAISS GPU is available and intended.
  2. Run python scripts/check_colbert_env.py to verify imports, package versions, torch/CUDA visibility, and important public API signatures.
  3. Read references/troubleshooting.md if imports fail, FAISS/Torch extras are missing, CUDA is unavailable, or old torch/setuptools stacks report pkg_resources errors.
  4. Read references/repo-provenance.md before deciding whether this generated skill matches a current checkout or should be refreshed.

Route Tasks

  • Use sub-skills/data-and-evaluation/ for collection.tsv, queries.tsv, rankings, qrels, LoTTE layouts, preprocessing, validation, and metric evaluation.
  • Use sub-skills/modeling-and-tokenization/ for Checkpoint, ColBERTConfig, tokenizer behavior, marker tokens, max lengths, dimensions, and safe model/config inspection.
  • Use sub-skills/training-and-distillation/ for Trainer, triples/examples JSONL, ColBERTv1/v2-style fine-tuning, distillation/scored examples, and GPU/resource planning.
  • Use sub-skills/indexing-and-search/ for Indexer, Searcher, RunConfig, index roots, single-query or batch search, ranking save behavior, and search tuning.
  • Use sub-skills/index-updates-and-serving/ for IndexUpdater, add/remove/persist workflows, coalescing updated artifacts, and lightweight JSON search serving.
  • Use sub-skills/baleen-multihop/ for optional Baleen HopSearcher, Condenser, collectionX, multi-hop retrieval plans, and static diagnostics.

Verified Package Facts

  • Distribution name: colbert-ai; import package: colbert; generated against package version 0.2.22.
  • Public imports verified during creation: colbert, colbert.infra, colbert.data, colbert.modeling.checkpoint, utility, and baleen.
  • Important public constructors: Indexer(checkpoint, config=None, verbose=3), Searcher(index, checkpoint=None, collection=None, config=None, index_root=None, verbose=3), Trainer(triples, queries, collection, config=None), and IndexUpdater(config, searcher, checkpoint=None).
  • CPU imports and validation helpers are safe for inspection; practical indexing, training, updating, and full Baleen runs often need local checkpoints, indexes, datasets, and CUDA/GPU resources.

Core Workflow

  1. Validate data with the data/evaluation sub-skill before starting expensive indexing or training.
  2. Inspect checkpoint/config/tokenization assumptions with the modeling sub-skill when changing query_maxlen, doc_maxlen, dim, marker tokens, or checkpoint sources.
  3. Train or fine-tune only after validating triples/examples and planning GPU resources.
  4. Index with explicit RunConfig(root=..., experiment=...), ColBERTConfig(...), checkpoint, index name, and overwrite/resume policy.
  5. Search with the same root/experiment/index naming assumptions or pass explicit index_root; save rankings with an explicit output path when possible.
  6. Treat mutable index updates and serving as operations on an existing index; back up artifacts before persist_to_disk().

Bundled Root Files

  • references/repo-provenance.md records the source repository snapshot, package version, evidence paths, and refresh checks.
  • references/troubleshooting.md covers cross-cutting install/import/backend/package issues shared by all sub-skills.
  • scripts/check_colbert_env.py performs a deterministic environment and public-signature inspection without loading checkpoints, downloading models, or running retrieval.

Safety Boundaries

  • Do not assume a successful import means a user has working checkpoints, indexes, datasets, FAISS GPU, or CUDA.
  • Do not start long training, indexing, Hugging Face downloads, benchmark evaluation, or server processes unless the user explicitly wants that side effect.
  • Do not mutate an existing index with IndexUpdater.persist_to_disk() until the target index is backed up or disposable.
  • Prefer bundled validation/template scripts in this skill over copying commands from old notebooks or generated docs.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고