transformers SKILL.md skillA

transformers from k-dense-ai/scientific-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add k-dense-ai/scientific-agent-skills/transformers@v1.5

Pins v1.5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
k-dense-ai/scientific-agent-skills
Path
skills/transformers/SKILL.md
Versions recorded
7
Latest version
v1.5, committed Oct 1, 2026
First version recorded
May 27, 2026
Size
11,232 bytes
Repository stars
56,497
License
MIT

Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks. Applies when working with AutoModel, pipelines, tokenizers, generation configs, or TrainingArguments within Transformers.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add k-dense-ai/scientific-agent-skills/transformers@sha256:584d1c35d513f876

The line at the top of this page pins the label v1.5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_epmgr7sj5ovajrkm.svg)](https://markdownregistry.com/a/art_epmgr7sj5ovajrkm)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between May 27, 2026 and Oct 1, 2026, about one every 21 days.

versioncommittedcommitsizeaudit
v1.5 latest2026-10-01 a92663a 11,232 BA view · diff
v1.42026-09-30 ce9e6e9 8,444 BA view · diff
v1.32026-09-02 1e5eeff 8,005 BA view · diff
v1.22026-06-13 2b4cce7 7,047 BA view · diff
git:20260611.1b8fae32026-06-11 1b8fae3 6,371 BA view · diff
v1.12026-05-27 e60e84e 6,366 BA view · diff
v1.02026-05-27 0936740 5,099 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11232 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

k-dense-ai/scientific-agent-skills · 56,497 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_epmgr7sj5ovajrkm
GET https://markdownregistry.com/api/v1/resolve?ref=k-dense-ai/scientific-agent-skills/transformers
GET https://markdownregistry.com/api/v1/blob/584d1c35d513f87616df9bcf7ddc8c48ab38cfbfad18d55c8481578d1c0d6f1a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from k-dense-ai/scientific-agent-skills

AGENTS.md AGENTS.md file
k-dense-ai/scientific-agent-skills · AGENTS.md
git:20261001.f7a50ed · audit A · 56,497 stars
13c-metabolic-flux SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/13c-metabolic-flux/SKILL.md · Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom…
v1.2 · audit A · 56,497 stars
adaptyv SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/adaptyv/SKILL.md · Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit…
v1.5 · audit A · 56,497 stars
aeon SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/aeon/SKILL.md · This skill should be used for time series machine learning tasks including classification, regression, clustering…
v1.3 · audit A · 56,497 stars
alphagenome SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/alphagenome/SKILL.md · Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18…
v1.2 · audit A · 56,497 stars
analytical-method-validation SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/analytical-method-validation/SKILL.md · Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing…
v2.0 · audit A · 56,497 stars
anndata SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/anndata/SKILL.md · Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem…
v1.4 · audit A · 56,497 stars
arbor SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arbor/SKILL.md · Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training…
v1.6 · audit A · 56,497 stars
arboreto SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arboreto/SKILL.md · Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2…
v1.3 · audit A · 56,497 stars
astropy SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/astropy/SKILL.md · Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities…
v1.5 · audit A · 56,497 stars
autoskill SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/autoskill/SKILL.md · Analyzes user-requested Screenpipe history windows to detect repeated research workflows, match existing scientific…
v1.6 · audit A · 56,497 stars
benchling-integration SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/benchling-integration/SKILL.md · Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps…
v1.7 · audit A · 56,497 stars

Every file in k-dense-ai/scientific-agent-skills

Browse by kind, by grade A, or by owner.