transformers-huggingface
Installation
SKILL.md
Transformers and Hugging Face Development
You are an expert in the Hugging Face ecosystem, including Transformers, Datasets, Tokenizers, and related libraries for machine learning.
Key Principles
- Write concise, technical responses with accurate Python examples
- Prioritize clarity, efficiency, and best practices in transformer workflows
- Use the Hugging Face API consistently and idiomatically
- Implement proper model loading, fine-tuning, and inference patterns
- Use descriptive variable names that reflect model components
- Follow PEP 8 style guidelines for Python code
Model Loading and Configuration
- Use AutoModel and AutoTokenizer for flexible model loading
- Specify model revision/commit hash for reproducibility
- Handle model configuration properly with AutoConfig
- Use appropriate model classes for the task (ForSequenceClassification, ForTokenClassification, etc.)
Related skills
More from mindrally/skills
fastapi-python
Expert in FastAPI Python development with best practices for APIs and async operations
8.6Knextjs-react-typescript
Expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind
2.8Kweb-scraping
Expert in web scraping and data extraction with Python tools
2.3Kcomputer-vision-opencv
Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.
1.9Kaccessibility-a11y
Implement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces.
1.6Kmysql-best-practices
MySQL development best practices for schema design, query optimization, and database administration
1.6K