本文へ移動
cccskills
無料GitHub で公開

deepke

Route DeepKE knowledge extraction workflows across supervised extraction, data prep, triples, LLMs, and MCP tools.

インストール方法を見る

含まれるファイル(38)

  • SKILL.md4.9 KB
  • references/repo-overview.md4.0 KB
  • references/repo-provenance.md3.6 KB
  • references/repo-routing-metadata.json509 B
  • references/troubleshooting.md3.9 KB
  • scripts/check_deepke_core.py5.2 KB
  • sub-skills/data-preparation/references/data-formats.md6.6 KB
  • sub-skills/data-preparation/references/troubleshooting.md5.9 KB
  • sub-skills/data-preparation/references/workflows.md4.6 KB
  • sub-skills/data-preparation/scripts/convert_supervised_data.py20.4 KB
  • sub-skills/data-preparation/scripts/ds_label_data.py10.7 KB
  • sub-skills/data-preparation/scripts/prepare_weaksupervised_data.py10.4 KB
  • sub-skills/data-preparation/SKILL.md3.3 KB
  • sub-skills/llm-workflows/references/data-formats.md5.0 KB
  • sub-skills/llm-workflows/references/model-and-runtime-overview.md3.7 KB
  • sub-skills/llm-workflows/references/troubleshooting.md4.6 KB
  • sub-skills/llm-workflows/references/workflows.md7.4 KB
  • sub-skills/llm-workflows/scripts/check_llm_workflow_env.py11.0 KB
  • sub-skills/llm-workflows/scripts/convert_ie_instruction.py12.7 KB
  • sub-skills/llm-workflows/SKILL.md3.9 KB
  • sub-skills/mcp-tools/references/tool-api-reference.md5.6 KB
  • sub-skills/mcp-tools/references/troubleshooting.md6.8 KB
  • sub-skills/mcp-tools/references/workflows.md5.5 KB
  • sub-skills/mcp-tools/scripts/check_mcp_env.py8.4 KB
  • sub-skills/mcp-tools/scripts/convert_text_to_tsv.py4.8 KB
  • sub-skills/mcp-tools/SKILL.md2.5 KB
  • sub-skills/supervised-extraction/references/data-and-config.md15.5 KB
  • sub-skills/supervised-extraction/references/model-overview.md9.5 KB
  • sub-skills/supervised-extraction/references/troubleshooting.md10.4 KB
  • sub-skills/supervised-extraction/references/workflows.md14.4 KB
  • sub-skills/supervised-extraction/scripts/check_supervised_env.py19.5 KB
  • sub-skills/supervised-extraction/SKILL.md3.2 KB
  • sub-skills/triple-extraction/references/data-and-config.md5.5 KB
  • sub-skills/triple-extraction/references/troubleshooting.md5.0 KB
  • sub-skills/triple-extraction/references/workflows.md8.1 KB
  • sub-skills/triple-extraction/scripts/check_triple_env.py11.2 KB
  • sub-skills/triple-extraction/scripts/convert_mt5_predictions.py7.1 KB
  • sub-skills/triple-extraction/SKILL.md4.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

DeepKE repo skill

Use this skill when a task asks how to use, configure, validate, or troubleshoot DeepKE for knowledge extraction: named entity recognition, relation extraction, attribute extraction, event extraction, relational triple extraction, instruction/LLM knowledge graph construction, data conversion, weak/distant supervision, or the local DeepKE MCP wrapper.

First route the request

User intentRead/use
Standard/few-shot/multimodal/cross-domain NER, standard/few-shot/document/multimodal RE, AE, EE, or cnSchema quick-load extractionsub-skills/supervised-extraction/SKILL.md
Annotation export conversion, NER BIO files, RE/AE CSV files, weak NER dictionary labeling, or distant RE labelingsub-skills/data-preparation/SKILL.md
PRGC, PURE, ASP, MT5/CCKS, cnSchema triple workflows, or MT5 prediction-to-kg conversionsub-skills/triple-extraction/SKILL.md
DeepKE-LLM, InstructKGC, OneKE, LLMICL/API prompting, UnleashLLMRE, CodeKGC, CPM-Bee, LoRA/P-tuning/OpenDeltasub-skills/llm-workflows/SKILL.md
DeepKE MCP server/client wrapper, local tool exposure, stdio server diagnostics, or MCP TSV conversionsub-skills/mcp-tools/SKILL.md
Unsure whether DeepKE is installed or which broad area is availableRun scripts/check_deepke_core.py, then route to a focused sub-skill.

Core operating rules

  1. Classify the task before running anything: data conversion, training, prediction, post-processing, API/LLM call, MCP deployment, or troubleshooting each has a different safety profile.
  2. Use bundled references/scripts instead of the original checkout: this generated skill is self-contained. Do not require the original repository tree just to answer workflow questions or run safe converters/checkers.
  3. Treat long runs as explicit operations: BERT/CLIP/T5/MT5/OneKE fine-tuning, DeepSpeed, Apex, multimodal training, and API calls need user approval for compute, downloads, credentials, and runtime.
  4. Validate data before blaming models: check filenames, JSONL versus JSON array shape, labels, offsets, schema size, train/dev/test splits, and parsed outputs.
  5. Keep credentials and private paths out of shared files: API keys, endpoint tokens, local checkpoint paths, and environment prefixes belong in local runtime configuration only.
  6. Report backend limits honestly: CPU diagnostics can prove import and converter behavior, but not CUDA/Apex/DeepSpeed/large-model runtime readiness.

Safe top-level diagnostic

From this skill directory, run:

python scripts/check_deepke_core.py --json

This imports representative DeepKE modules and common dependencies and reports CUDA visibility. It does not train, download, load model weights, call APIs, or mutate configs. Use focused checkers in the sub-skills for task-specific path and dependency checks.

Focused bundled scripts

  • sub-skills/supervised-extraction/scripts/check_supervised_env.py: safe import/data/checkpoint diagnostics for NER/RE/AE/EE/cnSchema workflows.
  • sub-skills/data-preparation/scripts/convert_supervised_data.py: labeled JSON/DOCX/XLSX to DeepKE NER TXT or RE/AE CSV.
  • sub-skills/data-preparation/scripts/prepare_weaksupervised_data.py: dictionary-based NER weak supervision.
  • sub-skills/data-preparation/scripts/ds_label_data.py: RE distant supervision from triples.
  • sub-skills/triple-extraction/scripts/check_triple_env.py: safe PRGC/PURE/ASP/MT5/cnSchema dependency/path diagnostic.
  • sub-skills/triple-extraction/scripts/convert_mt5_predictions.py: MT5/CCKS prediction conversion into JSONL records with parsed kg triples.
  • sub-skills/llm-workflows/scripts/check_llm_workflow_env.py: safe DeepKE-LLM package/API/CUDA/path diagnostic.
  • sub-skills/llm-workflows/scripts/convert_ie_instruction.py: simple standalone IE/KG record to instruction JSONL converter.
  • sub-skills/mcp-tools/scripts/check_mcp_env.py: MCP wrapper import/env diagnostic without launching the server.
  • sub-skills/mcp-tools/scripts/convert_text_to_tsv.py: event-extraction text-to-TSV helper adapted from the MCP tools.

Repo-level references

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年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-Skill3322026年9月3日 更新

acme

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する