Skip to content
Agentmart
Submit a tool

bert-pytorch

Use BERT-pytorch for corpus preparation, vocabulary building, and tiny BERT pretraining workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying bert-pytorch?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-bert-pytorch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use BERT-pytorch for corpus preparation, vocabulary building, and tiny BERT pretraining workflows.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bert-pytorch

What's inside

Skill name
bert-pytorch
Description
Use BERT-pytorch for corpus preparation, vocabulary building, and tiny BERT pretraining workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
45 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (16)

  • SKILL.md
  • api-reference.md · references/
  • cli-reference.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_install.py · scripts/
  • make_tiny_corpus.py · scripts/
  • SKILL.md · sub-skills/data-preparation/
  • corpus-format.md · sub-skills/data-preparation/references/
  • troubleshooting.md · sub-skills/data-preparation/references/
  • build_vocab_smoke.py · sub-skills/data-preparation/scripts/
  • SKILL.md · sub-skills/training/
  • training-workflow.md · sub-skills/training/references/
  • troubleshooting.md · sub-skills/training/references/
  • train_smoke.py · sub-skills/training/scripts/

SKILL.md (first lines)

# bert-pytorch

Use this skill when the user mentions BERT-pytorch, `bert`, `bert-vocab`, `WordVocab`, `BERTDataset`, `BERT`, `BERTLM`, or `BERTTrainer`.

## Quick start

1. Install the package with `python -m pip install bert-pytorch` if it is not already available in your Python environment.
2. Run `python scripts/check_install.py` to confirm the package import, public exports, and console commands.
3. If the task is about corpus layout, vocabulary files, or dataset rows, go to `sub-skills/data-preparation/SKILL.md`.
4. If the task is about model construction, training, device choice, or checkpoints, go to `sub-skills/training/SKILL.md`.
5. Use `python scripts/make_tiny_corpus.py --output /tmp/bert-pytorch-corpus.txt` when you need a stable two-line fixture.

## Route map

- `sub-skills/data-preparation/SKILL.md`: build or load vocabularies, validate corpus format, inspect `BERTDataset`, and diagnose pickle or row-format problems.
- `sub-skills/training/SKILL.md`: instantiate `BERT`, `BERTLM`, and `BERTTrainer`; train on a tiny corpus/vocab pair; pick CPU or CUDA; and save checkpoints.

## Shared facts

- The corpus format is two sentences per line separated by a tab.
- Tokenization happens before the package; BERT-pytorch does not tokenize raw text for you.
- `bert-vocab` and `bert` are the documented console commands.
- `BERT` hidden size must be divisible by the number of attention heads.
- The `bert` CLI parses some boolean flags with `type=bool`; use the bundled smoke scripts or the Python API when you need an explicit CPU run or streaming mode.

## Shared references

- `references/repo-provenance.md`: source commit, package version, and evidence snapshot.
- `references/repo-routing-metadata.json`: router metadata for managed import.
- `references/api-reference.md`: public classes, functions, and object relationships.
- `references/cli-reference.md`: command names, flags, defaults, and safety notes.
- `references/troubleshooting.md`: cross-cutting install, import, CLI, corpus, and device issues.

## Shared scripts

- `scripts/check_install.py`: verify imports, API exports, and CLI help.
- `scripts/make_tiny_corpus.py`: create a deterministic two-line corpus fixture.

## When in doubt

- Start with the sub-skill that matches the first concrete noun in the request: corpus/vocab/data rows -> data preparation; model/training/checkpoint/device -> training.
- If the task mixes both, build the vocabulary first, then move to training.
- Read `references/troubleshooting.md` before guessing about missing files, malformed rows, or device failures.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get bert-pytorch running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying bert-pytorch?

CallGet help
Cite this page

bert-pytorch skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-bert-pytorch (last updated 2026-10-24)