Transformers
Hugging Face Transformers skill for loading Hub models, pipeline inference, generation, and Trainer fine-tuning.
- CCM score
- 65 of 100
- skills.sh installs
- 2.3K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Hub model loading, pipeline inference, text generation, and Trainer fine-tuning across NLP, vision, audio, and multimodal tasks
- Targets Transformers 5.18.0 with a pinned install in a dedicated environment, plus optional dependencies for images, audio, OCR, and quantization
- Enforces PyTorch-only v5 usage, pinned
revisionvalues for custom code, and token handling throughhf auth loginorHF_TOKEN - Designed for Python developers working with AutoModel, pipelines, tokenizers, or TrainingArguments inside the Transformers library
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill transformers -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Targets Transformers 5.18.0, verified against its released source on 2026-10-01. Native CPU checks use Python 3.11, Torch 2.14.1, Datasets 5.0.1, Accelerate 1.15.0, PEFT 0.21.2, and Hub 1.33.0. The Torch extra requires Torch >=2.5. Install in a dedicated environment:
uv venv --python 3.11 .venv-transformers
uv pip install --python .venv-transformers/bin/python "transformers[torch]==5.18.0" "torch==2.14.1" "huggingface-hub==1.33.0" "datasets==5.0.1" "accelerate==1.15.0" "peft==0.21.2"
Use .venv-transformers/Scripts/python.exe on Windows. Select an appropriate Torch build for the target hardware before installation. Hub 2.1.1 is newer, but Datasets 5.0.1 requires Hub <2; upgrading every package independently makes this training stack unsatisfiable. The separate esm SDK currently requires Transformers <5 and belongs in another environment.
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- AI Agents & LLM Apps, Python, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the transformers skill do for an agent?
The transformers skill guides an agent through Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks. It applies when working with AutoModel, pipelines, tokenizers, generation configs, or TrainingArguments within the Transformers library.
How do I install the transformers skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill transformers -y in your project to install it. Once installed, the agent can load Hub models, run pipelines, and fine-tune with the Trainer API.
What does the transformers skill need before it works?
The transformers skill targets Transformers 5.18.0 and requires Python 3.10 or newer, PyTorch 2.5 or newer, and network access for Hub downloads. Gated or private Hub models also need a Hugging Face token, set with hf auth login or HF_TOKEN.
Where does the transformers skill sit among other skills in its category?
The transformers skill sits in the AI Agents & LLM Apps category on Claude Marketplaces. It is scoped to the Transformers library and excludes general machine learning work outside that library.
More from k-dense-ai/scientific-agent-skills
All 132- Shap2.3K
- Pyzotero2.3K
- Generate Image2.3K
- Infographics2.3K
- Matlab2.3K
- Dask2.3K
- Market Research Reports2.3K
- Get Available Resources2.3K
- Optimize For Gpu2.2K
- Pymc2.2K
- Venue Templates2.2K
- Research Lookup2.2K
- Umap Learn2.2K
- Parallel Web2.2K
- Scikit Survival2.2K
- Biopython2.2K
- Open Notebook2.2K
- Torch Geometric2.2K
- Timesfm Forecasting2.2K
- Geopandas2.2K
- Stable Baselines32.2K
- Geomaster2.2K
- Consciousness Council2.2K
- Simpy2.2K
Similar to Transformers
More AI Agents & LLM Appstao-finetune-huggingface-modelSkillnvidia/skills1.7K installsFine-tuning kit that runs HuggingFace CV, VLM, and LLM models on local NVIDIA GPUs inside an NGC PyTorch container.
hugging-facePluginvm0-ai/vm0-skills81 starsHugging Face Hub and Inference API via curl. Use this skill to search models, datasets, spaces, run serverless inference, and manage repositories.
hugging-scienceSkillk-dense-ai/scientific-agent-skills2K installsCurated discovery skill for scientific ML resources across 17 domains, with verified loading guidance.
Claude SkillsMCP serverk-dense-ai412 starsSemantic search and retrieval of Claude Agent Skills from curated and local skill sources.
llmSkillmindrally/skills767 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.
huggingface-llm-trainerSkillhuggingface/skills2.5K installsGuide for training and fine-tuning language and vision models with TRL or Unsloth on cloud GPUs.