返回 Skill 列表
extension
分类: 数据与分析无需 API Key

LLM JSONL 数据集验证器

Validate JSONL datasets for LLM evaluation, fine-tuning, preference, extraction, or chat tasks. Use to detect malformed lines, schema drift, duplicates, leakage, role errors, empty content, label imbalance, or train/test contamination.

person作者: user_b26bd65ehubcommunity

LLM JSONL Dataset Validator

Inspect data locally when possible. Do not upload private datasets to third parties without authorization.

Workflow

  1. Identify the intended record schema and task type before judging fields.
  2. Parse every non-empty line independently and report line-numbered JSON errors.
  3. Validate required keys, types, allowed roles, content, labels, IDs, and metadata.
  4. Detect exact and normalized duplicates plus conflicting labels for the same input.
  5. Check empty, extremely long, malformed Unicode, control characters, and suspicious secret/PII patterns.
  6. Measure label, language, length, domain, and source distributions.
  7. Compare split fingerprints to detect train/test leakage and near duplicates.

Output

Return counts, severity-ranked issues, representative line numbers, distribution tables, leakage risks, and safe repair recommendations. Never rewrite the source dataset unless explicitly requested; preserve an audit trail when fixing.