Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/vec2textИИ, агенты и 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 установки+3 за 7 дней39 Звездысинхронизировано 10 часов назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

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

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
hHa85Embtg…kqJxOIAQ==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакет6ce47e2e…412ca165
6ce47e2ec25d…01e0412ca1651 файл · ⁦1.1 KB⁩
ПроверкаСредний1 замечание
  • Лицензия не найдена
Вся проверка
Источникgithub.com/AeonDave/malskill/tree/main/ai/vec2text@21cd568

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: 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.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellНетНет
Ходит в сетьНетНет
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

  1. СредняяЛицензия · Лицензия не найдена

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.11.13-21cd56813 нояб. 2026 г.21cd5686ce47e2eПодписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login