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.

103,425
BSD 3
Used by 40
95Health
Framework PyPI

Transformers

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

166,736
Apache 2.0
Used by 38
94Health
Library PyPI

scikit-learn

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

67,403
BSD 3
Used by 28
67Health
Library PyPI

tiktoken

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

19,336
MIT
Used by 26
95Health
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.

3,939
Apache 2.0
Used by 26
95Health
Library PyPI

Datasets

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

22,013
Apache 2.0
Used by 25
92Health
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,130
Apache 2.0
Used by 22
95Health
Library PyPI

ONNX Runtime

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

21,936
MIT
Used by 16
96Health
Library Cargo

Tokenizers

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

11,129
Apache 2.0
Used by 16
93Health
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,885
Apache 2.0
Used by 15
95Health
Library PyPI

vision

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

17,928
BSD 3
Used by 13
89Health
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,103
Apache 2.0
Used by 13
91Health
SDK PyPI

qdrant-client

Official Python SDK for the Qdrant vector search engine

1,364
Apache 2.0
Used by 13
80Health
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,412
MIT
Used by 12
71Health
Library Cargo

safetensors

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

3,901
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,730
Apache 2.0
Used by 11
76Health
Library PyPI

torchaudio

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

2,948
Other
Used by 10
93Health
SDK PyPI

pymilvus

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

1,411
Apache 2.0
Used by 9
80Health
Library PyPI

spaCy

Industrial-strength Natural Language Processing library for Python

33,925
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

908
Apache 2.0
Used by 8
54Health
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,740
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

21,936
MIT
Used by 7
79Health
Library npm

Transformers.js

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

16,329
Apache 2.0
Used by 7
61Health
Library PyPI

einops

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

9,605
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