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,021
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,053
Apache 2.0
Used by 38
95Health
Library PyPI

scikit-learn

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

67,883
BSD 3
Used by 28
65Health
Library PyPI

tiktoken

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

19,513
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,004
Apache 2.0
Used by 26
96Health
Library PyPI

Datasets

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

22,082
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,216
Apache 2.0
Used by 22
95Health
Library PyPI

ONNX Runtime

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

22,153
MIT
Used by 16
96Health
Library Cargo

Tokenizers

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

11,193
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,922
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,969
BSD 3
Used by 13
88Health
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,150
Apache 2.0
Used by 13
92Health
SDK PyPI

qdrant-client

Official Python SDK for the Qdrant vector search engine

1,373
Apache 2.0
Used by 13
71Health
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,431
MIT
Used by 12
73Health
Library Cargo

safetensors

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

3,933
Apache 2.0
Used by 12
91Health
Library PyPI

PEFT

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

21,843
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,959
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,420
Apache 2.0
Used by 9
86Health
Library PyPI

spaCy

Industrial-strength Natural Language Processing library for Python

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

910
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,790
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,153
MIT
Used by 7
82Health
Library npm

Transformers.js

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

16,369
Apache 2.0
Used by 7
56Health
Library PyPI

einops

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

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