PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Transformers Python Packages

Python packages with the GitHub topic transformers. Sorted by relevance, with stars and monthly downloads.
huggingface
tokenizers

đź’Ą Fast State-of-the-Art Tokenizers optimized for Research and Production

175.3M 11K 1K
huggingface
peft

🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

11M 21K 2K
ultralytics
ultralytics-thop

Profile PyTorch models for FLOPs and parameters, helping to evaluate computational efficiency and memory usage.

6.3M 140 8
Microsoft
presidio-analyzer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

4.9M 8K 1K
Microsoft
presidio-anonymizer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

3.5M 8K 1K
combust
mleap

MLeap: Deploy ML Pipelines to Production

2.5M 2K 316
huggingface
optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

1.9M 3K 640
lucidrains
x-transformers

A concise but complete full-attention transformer with a set of promising experimental features from various papers

1.5M 6K 507
openvinotoolkit
openvino

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

1.4M 10K 3K
JohnSnowLabs
spark-nlp

State of the Art Natural Language Processing

1.1M 4K 743
deepset-ai
haystack-ai

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

893K 25K 3K
qubvel-org
segmentation-models-pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.

765K 12K 2K
intel-analytics
ipex-llm

Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, DeepSeek, Mixtral, Gemma, Phi, MiniCPM, Qwen-VL, MiniCPM-V, etc.) on Intel XPU (e.g., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, vLLM, DeepSpeed, Axolotl, etc.

740K 9K 1K
amazon-science
chronos-forecasting

Chronos: Pretrained Models for Time Series Forecasting

637K 5K 636
explosion
curated-transformers

🤖 A PyTorch library of curated Transformer models and their composable components

616K 894 35
openvinotoolkit
nncf

Neural Network Compression Framework for enhanced OpenVINO™ inference

482K 1K 294
MaartenGr
bertopic

Leveraging BERT and c-TF-IDF to create easily interpretable topics.

416K 8K 897
protectai
llm-guard

The Security Toolkit for LLM Interactions

285K 3K 391
oeken
needle-python

Needle simplifies building RAG pipelines.

238K 45 2
hiyouga
llamafactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

235K 71K 9K
argosopentech
argostranslate

Open-source offline translation library written in Python

193K 6K 463
SwanHubX
swanlab

⚡️SwanLab - an open-source, modern-design AI training tracking and visualization tool. Supports Cloud / Self-hosted use. Integrated with PyTorch / Transformers / verl / LLaMA Factory / ms-swift / Ultralytics / MMEngine / Keras etc.

190K 4K 206
Blaizzy
mlx-audio

A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework, providing efficient speech analysis on Apple Silicon.

186K 7K 594
NVIDIA
megatron-core

Ongoing research training transformer models at scale

185K 16K 4K
    • Data from PyPI, GitHub, ClickHouse, and BigQuery