[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7TGT04Q78DE2TH96CH5AE":3,"skill-same:01M7F7TGT04Q78DE2TH96CH5AE":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7F7TGT04Q78DE2TH96CH5AE","data-preparation",null,"Use BERT-pytorch to build, load, and debug vocabularies and dataset inputs from tab-separated sentence pairs.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbert-pytorch\u002Fsub-skills\u002Fdata-preparation\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: data-preparation\ndescription: \"Use BERT-pytorch to build, load, and debug vocabularies and\n  dataset inputs from tab-separated sentence pairs.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# data-preparation\n\nUse this sub-skill when the task is about corpus layout, vocabulary files, `bert-vocab`, `WordVocab`, `BERTDataset`, or pickle vocab troubleshooting.\n\n## What this covers\n\n- Build a vocabulary from a corpus with `bert-vocab` or the Python API.\n- Read and write `WordVocab` pickle files.\n- Inspect `BERTDataset` inputs and outputs.\n- Diagnose malformed tab-separated rows, missing corpus files, and streaming-mode pitfalls.\n\n## What to do first\n\n- If the corpus is not two sentences per line separated by one tab, fix the corpus before building a vocab.\n- If you are using streaming mode, pass an explicit `corpus_lines` value; for small jobs, prefer `on_memory=True`.\n- Use `scripts\u002Fbuild_vocab_smoke.py` when you want a safe tiny fixture that proves both vocab creation and dataset loading.\n- If the task is actually about model construction, training, or checkpoints, hand off to `..\u002Ftraining\u002FSKILL.md`.\n\n## Read these references\n\n- `references\u002Fcorpus-format.md`: corpus layout, special tokens, dataset fields, and the tiny smoke recipe.\n- `references\u002Ftroubleshooting.md`: malformed rows, pickle problems, streaming-mode issues, and tokenization mistakes.\n- `..\u002Ftraining\u002FSKILL.md`: follow this route after you have a valid corpus and vocab.\n\n## Related scripts\n\n- `scripts\u002Fbuild_vocab_smoke.py`: build a tiny vocab, reload it, and inspect one dataset item.\n- `..\u002F..\u002Fscripts\u002Fmake_tiny_corpus.py`: create a deterministic two-line corpus fixture for experiments.\n\n## Common outputs\n\n- `WordVocab` stores special tokens at fixed ids: pad 0, unk 1, eos 2, sos 3, mask 4.\n- `BERTDataset.__getitem__` returns `bert_input`, `bert_label`, `segment_label`, and `is_next` tensors.\n- `WordVocab.load_vocab()` expects a pickle created by this package, not a text vocabulary.\n\n## Boundary reminders\n\n- Do not solve model initialization or checkpointing here.\n- Do not hide corpus-format bugs behind training troubleshooting.\n- Keep the route focused on data layout, vocab serialization, and dataset inspection.\n","# data-preparation\n\nUse this sub-skill when the task is about corpus layout, vocabulary files, `bert-vocab`, `WordVocab`, `BERTDataset`, or pickle vocab troubleshooting.\n\n## What this covers\n\n- Build a vocabulary from a corpus with `bert-vocab` or the Python API.\n- Read and write `WordVocab` pickle files.\n- Inspect `BERTDataset` inputs and outputs.\n- Diagnose malformed tab-separated rows, missing corpus files, and streaming-mode pitfalls.\n\n## What to do first\n\n- If the corpus is not two sentences per line separated by one tab, fix the corpus before building a vocab.\n- If you are using streaming mode, pass an explicit `corpus_lines` value; for small jobs, prefer `on_memory=True`.\n- Use `scripts\u002Fbuild_vocab_smoke.py` when you want a safe tiny fixture that proves both vocab creation and dataset loading.\n- If the task is actually about model construction, training, or checkpoints, hand off to `..\u002Ftraining\u002FSKILL.md`.\n\n## Read these references\n\n- `references\u002Fcorpus-format.md`: corpus layout, special tokens, dataset fields, and the tiny smoke recipe.\n- `references\u002Ftroubleshooting.md`: malformed rows, pickle problems, streaming-mode issues, and tokenization mistakes.\n- `..\u002Ftraining\u002FSKILL.md`: follow this route after you have a valid corpus and vocab.\n\n## Related scripts\n\n- `scripts\u002Fbuild_vocab_smoke.py`: build a tiny vocab, reload it, and inspect one dataset item.\n- `..\u002F..\u002Fscripts\u002Fmake_tiny_corpus.py`: create a deterministic two-line corpus fixture for experiments.\n\n## Common outputs\n\n- `WordVocab` stores special tokens at fixed ids: pad 0, unk 1, eos 2, sos 3, mask 4.\n- `BERTDataset.__getitem__` returns `bert_input`, `bert_label`, `segment_label`, and `is_next` tensors.\n- `WordVocab.load_vocab()` expects a pickle created by this package, not a text vocabulary.\n\n## Boundary reminders\n\n- Do not solve model initialization or checkpointing here.\n- Do not hide corpus-format bugs behind training troubleshooting.\n- Keep the route focused on data layout, vocab serialization, and dataset inspection.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fbert-pytorch\u002Fsub-skills\u002Fdata-preparation",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill data-preparation",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill data-preparation",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill data-preparation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbert-pytorch\u002Fsub-skills\u002Fdata-preparation\u002FSKILL.md",[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcorpus-format.md","REFERENCE","参考文档",2221,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbert-pytorch\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Fcorpus-format.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",1974,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbert-pytorch\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Ftroubleshooting.md",[60,68,73,80,87,94],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":69,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]