Packages

Machine Learning & Deep Learning Packages

Machine-learning and deep-learning frameworks and model libraries for training, fine-tuning, and serving models (PyTorch, scikit-learn, Transformers).

135 packages

Packages in Machine Learning & Deep Learning

96Health
Library PyPI

PyTorch

A Python-first tensor library with GPU acceleration and a dynamic, define-by-run autograd engine for building and training deep neural networks.

105,221
BSD 3
Used by 40
95Health
Framework PyPI

Transformers

State-of-the-art pretrained models for text, vision, audio, and multimodal inference and training.

168,612
Apache 2.0
Used by 38
95Health
Library PyPI

scikit-learn

Simple and efficient tools for machine learning and data analysis in Python.

68,074
BSD 3
Used by 27
64Health
Library PyPI

tiktoken

OpenAI's fast, Rust-backed BPE tokenizer for counting and encoding text into the exact tokens GPT models see.

19,614
MIT
Used by 26
96Health
SDK PyPI

huggingface_hub

The official Python client and hf CLI for the Hugging Face Hub, for downloading, uploading, and managing models, datasets, and Spaces.

4,034
Apache 2.0
Used by 26
96Health
Library PyPI

Datasets

One-line loading and fast, Arrow-backed processing for thousands of ML datasets

22,118
Apache 2.0
Used by 25
93Health
Library PyPI

sentence-transformers

A Python library for computing state-of-the-art sentence, text, and image embeddings, rerankers, and sparse and multi-vector representations.

19,265
Apache 2.0
Used by 22
95Health
Library PyPI

ONNX Runtime

Cross-platform, high-performance ML inference and training accelerator for ONNX models

22,256
MIT
Used by 16
96Health
Library Cargo

Tokenizers

Fast, production-grade tokenizer implementations for NLP and LLMs, written in Rust

11,225
Apache 2.0
Used by 16
92Health
Library PyPI

accelerate

A thin PyTorch wrapper that runs the same raw training script on CPU, multi-GPU, or TPU with mixed precision, DeepSpeed, and FSDP support.

9,936
Apache 2.0
Used by 15
94Health
Library PyPI

vision

PyTorch's official library for datasets, pretrained models, and image transformations in computer vision.

17,990
BSD 3
Used by 13
86Health
Library PyPI

sentencepiece

A fast, language-independent subword tokenizer and detokenizer trained directly from raw sentences, purpose-built for neural network text generation and LLM pipelines.

12,169
Apache 2.0
Used by 13
91Health
SDK PyPI

qdrant-client

Official Python SDK for the Qdrant vector search engine

1,377
Apache 2.0
Used by 13
67Health
Library PyPI

opencv-python

Pre-built, pip-installable OpenCV bindings that give Python programs full computer vision and image-processing capabilities without compiling from source.

5,445
MIT
Used by 12
80Health
Library Cargo

safetensors

A safe, zero-copy binary format for storing and loading ML tensors without pickle

3,941
Apache 2.0
Used by 12
90Health
Library PyPI

PEFT

Hugging Face's library of state-of-the-art parameter-efficient fine-tuning methods for large models.

21,875
Apache 2.0
Used by 11
81Health
Library PyPI

torchaudio

GPU-accelerated audio processing library built on PyTorch, with differentiable transforms, Kaldi-compatible features, and pretrained speech models.

2,961
Other
Used by 10
90Health
SDK PyPI

pymilvus

The official Python SDK for Milvus, the open-source vector database for embedding-based similarity search.

1,423
Apache 2.0
Used by 9
86Health
Library PyPI

spaCy

Industrial-strength Natural Language Processing library for Python

34,034
MIT
Used by 8
97Health
SDK PyPI

google-cloud-aiplatform

Google's official Python SDK for Vertex AI model training, deployment, and generative AI workflows

911
Apache 2.0
Used by 8
53Health
Library npm

tesseract.js

Pure JavaScript OCR library that recognizes text in over 100 languages, running in the browser or Node.js via WebAssembly.

38,819
Apache 2.0
Used by 7
95Health
Library npm

onnxruntime-node

Microsoft's official Node.js binding for running ONNX model inference in production JavaScript apps

22,256
MIT
Used by 7
83Health
Library npm

Transformers.js

Run Hugging Face Transformers models directly in the browser or Node.js with no server required.

16,404
Apache 2.0
Used by 7
55Health
Library PyPI

einops

A readable, framework-independent notation for tensor rearrangement, reduction, and repetition.

9,630
MIT
Used by 7

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers