# plasticityai/magnitude

A fast, efficient universal vector embedding utility package.

Repository: https://github.com/plasticityai/magnitude
Canonical: https://ross.abutalabs.com/products/magnitude
Language: Python
License: MIT
License Family: permissive
Topics: python, natural-language-processing, nlp, machine-learning, vectors, embeddings, word2vec, fasttext, glove, gensim, fast, memory-efficient, machine-learning-library, word-embeddings
Last push: 2023-08-03T00:59:57+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3112, "days_push": 1127, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1668, forks 122 (observed 2026-08-28T04:05:19.724587+00:00)

## What it is
Magnitude is a Python package and file format for fast, memory-efficient loading and querying of vector embeddings like word2vec, GloVe, and fastText. It serves as a faster, simpler alternative to Gensim and can act as a generic key-vector store, with features like out-of-vocabulary lookups and HTTP streaming of large models.

## Use cases
- load word2vec or GloVe embeddings quickly in Python
- query word vectors with low memory usage
- handle out-of-vocabulary words and misspellings in embeddings
- stream large embedding models over HTTP without downloading
- feed embeddings into Keras or other ML models
- use a fast key-vector store outside of NLP

## When to choose
- you need fast, memory-efficient access to word embeddings in Python
- Gensim is too slow or complex for your embedding lookups
- you need OOV handling or remote streaming of embedding models

## When to avoid
- you need to train new embedding models from scratch
- you need actively maintained software with recent updates
- you need general-purpose vector databases with ANN search at scale

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, machine-learning, serialization, search-engine
- domain: machine-learning, data-science
- platform: python, cross-platform
- tags: word-embeddings, word2vec, glove, fasttext, vector-store, gensim-alternative, memory-efficient, natural-language-processing

## Member repositories
- plasticityai/magnitude (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.724587+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:50.682887+00:00, confidence not recorded.
  - readme: https://github.com/plasticityai/magnitude (fetched 2026-08-28T04:05:19.724587+00:00, sha b0570678d4f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
