/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
3,7 млрд
Размер весов
8 ГБ
Лицензия
Своя лицензия
Архитектура
qwen3 · dense
Базовая модель
Qwen3-4B-Instruct-2507
Библиотека
transformers
Опубликована
8 июн 2026

Privasis-Cleaner-4B

Генерация текстаТекст → текст4 профессии

Privasis-Cleaner-4B — дообученная языковая модель NVIDIA для удаления или обобщения чувствительных сведений в тексте по инструкции пользователя.

869скачиваний за 30 дней13лайковвеса обновлены29 июн 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Privasis-Cleaner-4B — компактная языковая модель NVIDIA для очистки текста от чувствительных сведений по инструкции пользователя. Она принимает исходный текст и указание, какие категории данных удалить или обобщить, например имена, даты, местоположения и идентификаторы, и возвращает очищенный текст.

Модель построена на Qwen3-4B-Instruct-2507 и дообучена методом supervised fine-tuning на 36 723 синтетических примерах «текст — инструкция — очищенный текст». Это плотный декодерный Transformer с 3,7 млрд параметров, поддерживает ввод и вывод текста и имеет контекст до 40 960 токенов по метаданным. В карточке README указано ограничение до 262 144 токенов, что расходится с метаданными; фактический предел следует проверять в используемой конфигурации.

Модель предназначена для автоматического удаления или обобщения персональных и иных чувствительных данных в подготовке текстов для исследовательских и комплаенс-процессов. Синтетические обучающие данные и специализированная настройка ориентированы на такие инструкции, но результат требует проверки на данных конкретного применения. Условия модели — только исследования и некоммерческое использование; лицензия в метаданных обозначена как other.

Сценарии применения

  • удаление имён и идентификаторов из текстовых записей
  • обобщение дат и местоположений в документах
  • обезличивание текстов перед исследовательским анализом
  • очистка текстовых данных для конвейеров обработки персональных сведений
  • санитизация текста по заданным категориям чувствительной информации

Ограничения

Модель обучена на синтетических текстовых примерах, поэтому качество очистки на конкретных данных нужно проверять отдельно. README и метаданные указывают разные значения максимальной длины контекста; модель заявлена только для исследований и некоммерческого использования.

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Privasis-Cleaner-4B Overview

Description:

Privasis-Cleaner-4B is a lightweight text-sanitization model designed to remove or abstract sensitive information from text according to a user-provided sanitization instruction. Given raw text and an instruction specifying which categories of information to sanitize (e.g., names, dates, locations, identifiers), the model outputs a cleaned and compliant version of the text. The model is built on Qwen3 4B Instruct and fine-tuned on 37K instruction–input–output triplets.

This model is for research and non-commercial use only.

License/Terms of Use:

NVIDIA License (Non-Commercial)

Deployment Geography:

Global

Use Case:

Data engineers, ML practitioners, and organizations handling sensitive text for automatic redaction of PII/PHI, preprocessing for privacy-preserving research, content sanitization, and compliance pipelines (GDPR, HIPAA, etc.)

Release Date:

Github: June 29th
HuggingFace: June 29th

Reference(s):

Privasis: Synthesizing the Largest “Public” Private Dataset from Scratch

Model Architecture:

Architecture Type: Decoder-only Transformer with attention mechanisms, built on Qwen3 4B Instruct model
Number of model parameters: 4B The model utilizes supervised fine-tuning (SFT) with a base of Qwen3 4B Instruct, optimized for text sanitization via user-specified instruction.

Input:

Input Type(s): Text
Input Format(s): String
Input Parameters: 1D Sequence Other Properties Related to Input: Text input, up to 262,144 tokens (including restrictions).

Output:

Output Type(s): Text
Output Format: "String"
Output Parameters: 1D
Other Properties Related to Output: None Applicable

Software Integration:

Runtime Engine(s): Privasis-Cleaner-4B Supported Hardware Microarchitecture Compatibility: NVIDIA H100-80GB, NVIDIA A100 [Preferred/Supported] Operating System(s): Linux

The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.

How to Use:

Privasis-Cleaner takes a sanitization instruction (which categories of information to remove or abstract) together with the raw text, and returns the sanitized text. The model is prompted with a single user turn in the following format (matching the Privasis benchmark code):

**Sanitization Instruction:**
{instruction}
Do not output any explanation or other comment than the sanitized text.

**Text to sanitize:**
{text}

**Sanitized Text:**

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "nvidia/Privasis-Cleaner-4B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")

instruction = "Remove all person names, exact dates, and exact locations."
text = "On March 3, 2021, Jane Doe visited the clinic in Boston for a follow-up."

prompt = (
    f"**Sanitization Instruction:**\n{instruction}\n"
    "Do not output any explanation or other comment than the sanitized text.\n\n"
    f"**Text to sanitize:**\n{text}\n\n"
    "**Sanitized Text:**"
)

inputs = tokenizer.apply_chat_template(
    [{"role": "user", "content": prompt}],
    add_generation_prompt=True,
    enable_thinking=False,  # emit the sanitized text directly
    return_tensors="pt",
).to(model.device)

output = model.generate(inputs, max_new_tokens=4096, do_sample=False)
response = tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True)

# The model may echo the "Sanitized Text:" header — strip it if present
if "Sanitized Text:" in response:
    response = response.split("Sanitized Text:")[-1]
print(response.strip())

vLLM (OpenAI-compatible server)

Serve the model:

vllm serve nvidia/Privasis-Cleaner-4B --port 8000

Then query it:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

instruction = "Remove all person names, exact dates, and exact locations."
text = "On March 3, 2021, Jane Doe visited the clinic in Boston for a follow-up."

prompt = (
    f"**Sanitization Instruction:**\n{instruction}\n"
    "Do not output any explanation or other comment than the sanitized text.\n\n"
    f"**Text to sanitize:**\n{text}\n\n"
    "**Sanitized Text:**"
)

resp = client.chat.completions.create(
    model="nvidia/Privasis-Cleaner-4B",
    messages=[{"role": "user", "content": prompt}],
    temperature=0.0,
    max_tokens=4096,
)
print(resp.choices[0].message.content.strip())

Check out the Privasis benchmark for evaluation.

Model Version(s):

Privasis-Cleaner-4B

(Optional) The Privasis-Cleaner-4B model can be integrated into an AI system via API calls, accepting natural-language instructions and raw text as input, and returning sanitized text as output, suitable for data pipelines requiring automated text sanitization.

Training, Testing, and Evaluation Datasets:

Training Dataset:

Link: Not Specified

Data Modality: Text

Audio Training Data Size (If Applicable): Not Applicable

Image Training Data Size (If Applicable): Not Applicable

Text Training Data Size (If Applicable): Less than a Billion Tokens

Video Training Data Size (If Applicable): Not Applicable

Non-Audio, Image, Text Training Data Size (If Applicable): Not Applicable

Data Collection Method by dataset: Synthetic

Labeling Method by dataset: Synthetic

Properties (Quantity, Dataset Descriptions, Sensor(s)): 36,723 text-based triplets (text, sanitization instruction, sanitized text); Non-sensitive public and internally generated synthetic text; No personal data, copyright-protected, or IoT/synthetic data mentioned; Linguistic characteristics not specified; No specific sensor type mentioned

Dataset License(s): Governing term is CC-BY-NC, but each subset follows the generator models' original license.

Testing Dataset:

Link: Not Specified

Data Collection Method by dataset: Synthetic

Labeling Method by dataset: Synthetic

Properties (Quantity, Dataset Descriptions, Sensor(s)): 3,041 text-based triplets (text, sanitization instruction, sanitized text); Non-sensitive public and internally generated synthetic text; No personal data, copyright-protected, or IoT/synthetic data mentioned; Linguistic characteristics not specified; No specific sensor type mentioned

Dataset License(s): Governing term is CC-BY-NC, but each subset follows the generator models' original license.

Inference:

Acceleration Engine: vLLM

Test Hardware: GPU (NVIDIA H100)

Ethical Considerations:

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.

For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards None.

Please report model quality, risk, security vulnerabilities or concerns https://qwen3.ai/support/report.

Generated by NVIDIA Model Card Generator Toolkit.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
187da88

0 моделей