gpt2-codegolf

Community

Minimize ML inference code size.

AuthorZurybr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of implementing complex machine learning model inference, like GPT-2, within extremely strict code size limitations, often referred to as "code golf."

Core Features & Use Cases

  • Extreme Size Constraints: Implement ML inference in minimal code, suitable for embedded systems or competitive programming.
  • Checkpoint Parsing: Guidance on handling model weights and parameters under tight byte limits.
  • Use Case: You need to run a small transformer model on a device with only a few kilobytes of available code space, requiring a highly optimized C implementation.

Quick Start

Follow the guidance in this skill to implement GPT-2 inference under strict code size constraints.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: gpt2-codegolf
Download link: https://github.com/Zurybr/lefarma-skills/archive/main.zip#gpt2-codegolf

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 223,000+ vetted skills library on demand.