{
 "kind": "tool",
 "slug": "transformers",
 "path": "tools/transformers/",
 "name": "Hugging Face Transformers",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "State-of-the-art NLP and multimodal models for inference and training.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install transformers"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/huggingface/transformers"
  },
  {
   "label": "Website",
   "href": "https://github.com/huggingface/transformers"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache 2.0 License",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/huggingface/transformers"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 21, 2026. ",
   "src": "https://github.com/huggingface/transformers"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "79 projects",
   "status": "info",
   "sub": "#7 of 293 in its category",
   "note": "Dependency in 79 public GitHub projects set up for AI coding agents that we scanned (1.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official agent skills",
   "status": "yes",
   "sub": "1 from the makers",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Hugging Face Transformers does",
   "parts": [
    {
     "t": "prose",
     "text": "State-of-the-art NLP and multimodal models for inference and training."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Hugging Face Transformers popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "87",
       "of": "/ 100",
       "l": "Gid Score, #21 overall"
      },
      {
       "n": "27.8M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "169K",
       "l": "GitHub stars"
      },
      {
       "n": "79",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Hugging Face Transformers is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Hugging Face Transformers is a dependency in 79 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (4.9% of the 1,623 Python ones), #7 of 293 in ml and data science.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 944; those are left out of every share on this page.",
      "Projects that use it most often also use PyTorch (73.4%), NumPy (69.6%), python-dotenv (60.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "41 projects, 1.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "37 projects, 1.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "29 projects, 1.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "13 projects, 3.9%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 73.4% of its projects",
       "v": "PyTorch",
       "path": "tools/torch/"
      },
      {
       "l": "In 69.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 60.8% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 55.7% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 53.2% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 51.9% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 50.6% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 50.6% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Hugging Face Transformers",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        ": Give your agents the power of the Hugging Face ecosystem",
        "transformers: Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "NumPy",
         "path": "tools/numpy/"
        },
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "scikit-learn",
         "path": "tools/scikit-learn/"
        },
        {
         "text": "SciPy",
         "path": "tools/scipy/"
        },
        {
         "text": "PyTorch",
         "path": "tools/torch/"
        },
        {
         "text": "Sentence Transformers",
         "path": "tools/sentence-transformers/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        },
        {
         "text": "NetworkX",
         "path": "tools/networkx/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Hugging Face Transformers",
       "me": true,
       "facts": [
        "Apache 2.0 License",
        "Gid 87",
        "27.8M/wk"
       ]
      }
     ],
     "more": "Compare Hugging Face Transformers with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install transformers"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Hugging Face Transformers yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi transformers"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "Apache 2.0 License"
  ],
  [
   "Gid Score",
   "86.7"
  ],
  [
   "Rank in category",
   "#7 of 293"
  ],
  [
   "GitHub",
   "huggingface/transformers"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/huggingface.png"
}