transformers-convert

Community

Convert PyTorch models to Transformers-ready.

Authorshunk031
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Convert custom PyTorch models into Hugging Face Transformers-compatible artifacts, enabling seamless deployment and reuse across ecosystems.

Core Features & Use Cases

  • Generate PretrainedConfig and PreTrainedModel wrappers to capture architecture in a reusable, configurable format.
  • Create ImageProcessor/Tokenizer components and provide a path to Hub upload preparation for sharing models.
  • Include compatibility tests to verify equivalence with the original implementation and ensure reliable deployment in production.

Quick Start

Provide the path to your PyTorch model and run the converter to generate a Transformers-compatible config, model, and processor.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: transformers-convert
Download link: https://github.com/shunk031/dotfiles/archive/main.zip#transformers-convert

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.