Saltar al contenido
Nuevo

DeepSeek V4.1 Flash gratis por 7 días: 10M tokens al día tras una recarga de $10 o más. Hasta el 30/11.

Cómo funciona
aeondave/vec2textIA, agentes y MCP

vec2text

⁨vec2text: embedding-inversion library for reconstructing approximate text from sentence embeddings. Use when working with saved embedding tensors, privacy/inversion research, or AI/ML challenge workflows where you need to load a corrector model and invert strings or embeddings directly.⁩

v2026.11.13-21cd5683 instalaciones+3 en 7 días39 Estrellassincronizado hace 10 horas

Instalar

¿Aún no tienes la CLI de NotHoly? Instálala primero.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/vec2text

Escribe en ⁦~/.notholy/skills⁩ después de comprobar la firma y el SHA-256.

FirmaFirmado, ed25519
hHa85Embtg…kqJxOIAQ==La CLI comprueba el SHA-256 y la firma antes de escribir cualquier archivo.
Paquete6ce47e2e…412ca165
6ce47e2ec25d…01e0412ca1651 archivo · ⁦1.1 KB⁩
EscaneoMedio1 hallazgo
  • No se encontró licencia
Ver el escaneo completo
Fuentegithub.com/AeonDave/malskill/tree/main/ai/vec2text@21cd568

Esta entrada todavía no está escrita en tu idioma, así que aparece en English.

Use vec2text when embeddings are the artifact and text recovery is the question.

When to use vec2text

Use vec2text when you need to:

  • invert sentence embeddings back into approximate text
  • load a pretrained corrector for supported embedding families
  • work from saved embedding tensors rather than original source text
  • tune inversion quality with multiple refinement steps or beam search

Quick Start

python
import vec2text

corrector = vec2text.load_pretrained_corrector("gtr-base")

High-Value Workflows

Invert known strings through the matching embedder workflow

python
vec2text.invert_strings(
    ["example text"],
    corrector=corrector,
    num_steps=20,
    sequence_beam_width=4,
)

Invert embeddings directly

python
import torch

embeddings = torch.load("embeddings.pt", map_location="cpu")
texts = vec2text.invert_embeddings(
    embeddings=embeddings,
    corrector=corrector,
    num_steps=20,
)
print(texts)

Practical Notes

  • Corrector choice must match the embedding family; mismatched models produce garbage.
  • num_steps improves refinement quality, while sequence_beam_width improves search at higher memory cost.
  • The project supports both direct string inversion workflows and embedding-only inversion workflows.

Caveats

  • Reconstruction is approximate, not guaranteed exact text recovery.
  • Beam search raises memory usage quickly.
  • Model support and pretrained aliases evolve; prefer current upstream docs over old examples.

Resources

No bundled scripts/, references/, or assets/. Use the upstream vec2text README for current pretrained corrector aliases, API entry points, and embedding-family matching guidance.

Archivos de esta versión

Permisos

PermisoDeclaradoHallado en el escaneo
Lee archivosNoNo
Escribe archivosNoNo
Ejecuta comandos de shellNoNo
Usa la redNoNo
Usa conectoresNoNo
Controla un navegadorNoNo

Hallazgos del escaneo

Revisado el 13 nov 2026

  1. MediaLicencia · No se encontró licencia

Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.

VersiónPublicadaCommitSHA-256FirmaCambio de permisos
v2026.11.13-21cd56813 nov 202621cd5686ce47e2eFirmada–

Pregunta todo lo que tu alcance permite.

Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.

  1. 1/3

    Crea la cuenta

    Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.

    IndividualEmpresa
  2. 2/3

    Añade créditos

    Con tarjeta. Pagas por token, sin suscripción.

    $5.00recarga mínima
  3. 3/3

    Pregunta

    En el chat, o instala el CLI y ejecuta notholy login en tu terminal.

    $ notholy login