Sign in
Explore
Skills · SkillData & AIMachine learningReviewedMakes network callsNeeds secrets

transformers

Uses Hugging Face Transformers to load Hub models, run pipelines, generate text and fine-tune with Trainer on NLP, vision, audio and multimodal tasks. Gated models need an HF token.

Kind
Skill
Works with
Claude Code, Codex, Cursor, Gemini / Antigravity
Source
Scientific Agent Skills (K-Dense) @ 5f2bc0341354
Path
skills/transformers/SKILL.md
Jobs
Implementation
Topics
Machine learning

Credit

Made by
K-Dense-AI
Original
github.com/K-Dense-AI/scientific-agent-skills/blob/5f2bc03413…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it by hand, following the source.
gh skill install K-Dense-AI/scientific-agent-skills transformers
Install factsScanned 2 Nov 2026
Adds
  • .claude/skills/transformers/ (the skill folder)
  • 6 file(s) the skill refers to
Runs scripts
Yes
  • allowed-tools includes Bash
  • shell block in the text
Uses the network
Yes
  • downloads Python packages
Needs secrets
Yes
  • HF_TOKEN
  • HF_HUB_DISABLE_IMPLICIT_TOKEN
Reads environment variables
  • HF_TOKEN_PATH
  • HF_HOME
  • HF_TOKEN
  • HF_HUB_DISABLE_IMPLICIT_TOKEN
Source revision
5f2bc0341354
Licence
MIT
Last activity
26 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

  • Only the main file is read; other files in the folder are not scanned
# 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:

```bash
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.
…