vec2text logo

vec2text

vec2text/vec2text

utilities for decoding deep representations back to text

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

36views this month

1.1k stars118 forksLast push Dec 27, 2025 Python Other

Decision brief

vec2text is a Python library for inverting text embeddings back to text sequences, supporting both pre-trained models and custom training.

Good fit when

  • When you need to reconstruct text from embeddings with a high degree of accuracy, as vec2text supports multiple steps and adjustable search space sizes for better results.
  • If you are working with sentence embeddings and require a tool that can handle both pre-trained models and custom training, vec2text provides flexibility with its `load_pretrained_corrector` and `load

Avoid when

  • If you require real-time text reconstruction from embeddings, as vec2text's process, especially with multiple steps and larger search spaces, can be computationally intensive and slow.
  • When you need a tool that supports a wide range of embedding types beyond sentence embeddings, as vec2text is specifically designed for inverting text embeddings and may not perform well with other or

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (264d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No criticals
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install vec2text
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

This library contains code for text embedding inversion, allowing users to reconstruct text sequences from embeddings. It supports training various architectures and running pre-trained models.

Capability facts

Languages
python

Source: github.language · Sep 18, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

```python import nltk
Source link

Tags

README

vec2text <img src="https://github.com/jxmorris12/vec2text gif/blob/master/vec2text v3.gif" width="500" / This library contains code for doing text embedding inversion. We can train various architectures that reconstruct text sequences from embeddings as well as run pre trained mo...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.