transformers

Solid

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

AI & Automation 2,202 stars 164 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Transformers ## Overview The Hugging Face Transformers library provides access to thousands of pre-trained models for tasks across NLP, computer vision, audio, and multimodal domains. Use this skill to load models, perform inference, and fine-tune on custom data. ## Installation Install transformers and core dependencies: ```bash uv pip install torch transformers datasets evaluate accelerate ``` For vision tasks, add: ```bash uv pip install timm pillow ``` For audio tasks, add: ```bash uv pip install librosa soundfile ``` ## Authentication Many models on the Hugging Face Hub require authentication. Set up access: ```python from huggingface_hub import login login() # Follow prompts to enter token ``` Or set environment variable: ```bash export HUGGINGFACE_TOKEN="your_token_here" ``` Get tokens at: https://huggingface.co/settings/tokens ## Quick Start Use the Pipeline API for fast inference without manual configuration: ```python from transformers import pipeline # Text generation generator = pipeline("text-generation", model="gpt2") result = generator("The future of AI is", max_length=50) # Text classification classifier = pipeline("text-classification") result = classifier("This movie was excellent!") # Question answering qa = pipeline("question-answering") result = qa(question="What is AI?", context="AI is artificial intelligence...") ``` ## Core Capabilities ### 1. Pipelines for Quick Inference Use for simple, optimized inference across many tasks. S...

Details

Author
foryourhealth111-pixel
Repository
foryourhealth111-pixel/Vibe-Skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

transformers

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

26,659 Updated 2 days ago
K-Dense-AI
AI & Automation Solid

transformers

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

27,681 Updated today
davila7
AI & Automation Listed

transformers

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

335 Updated today
aiskillstore
AI & Automation Featured

transformers-js

Run Hugging Face models in JavaScript or TypeScript with Transformers.js in Node.js or the browser.

39,227 Updated today
sickn33
AI & Automation Solid

huggingface-classifier

Hugging Face transformer model fine-tuning and inference for intent classification

1,034 Updated today
a5c-ai