/ Модель

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

Контекст
384 токена
Параметры
26,1 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Библиотека
transformers
Опубликована
16 окт 2026

genz-translator-v3

Генерация текстаТекст → текст
581скачиваний за 30 дней0лайковвеса обновлены1 дек 2026

Описание модели

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

Производная модели Sankar-2910/genz-translator-v3. Компактная Llama-модель для перевода английского сленга поколения Z и интернет-сокращений в естественный стандартный английский.

Карточка модели Raven-Lab/genz-translator-v3 на Hugging Face совпадает с карточкой Sankar-2910/genz-translator-v3, поэтому описание составлено по ней.

GenZ Translator v3 — компактная специализированная языковая модель Sankar-2910 для преобразования сленга поколения Z и интернет-сокращений в ясный разговорный английский с сохранением смысла, эмоциональной окраски и контекста. По карточке это дообученная Llama-подобная авторегрессионная модель с 26,1 млн параметров, контекстом 384 токена и файлами в формате Safetensors; она рассчитана на короткие сообщения и локальный запуск через Transformers. Модель подходит для расшифровки распространённых сокращений, объяснения сленговых выражений и переписывания неформальных сообщений или подписей для соцсетей. Для v2 карточка сообщает улучшения на специально составленном тесте, но результаты на отложенном наборе не показывают сопоставимого улучшения точного совпадения, поэтому эти показатели не подтверждают универсальное качество перевода. Модель может терять отрицания, имена и контекст, неверно трактовать неоднозначный, региональный или новый сленг, а также плохо обрабатывать повторяющиеся символы, URL и смешанный язык. Не предназначена для общего диалога, длинного контекста, программирования, математики или поиска знаний. Лицензия — Apache-2.0.

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

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

Ограничения

Модель может терять отрицания, имена и детали контекста, ошибаться на неоднозначном, региональном и новом сленге, URL, повторяющихся символах и смешанном языке. Результаты бенчмарков ограничены специально составленными примерами; для важных переводов следует проверять вывод.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

GenZ Translator.

A compact, 29.65M-parameter language model designed to translate Gen Z slang into clear, natural English.

GenZ-Translator is a lightweight language model built for a focused task: understanding informal internet language and rewriting it in standard conversational English while preserving the original meaning, emotion, attitude, and context.

  • Compact model for local inference
  • Specialized slang and abbreviation translation
  • Custom tokenizer
  • Compatible with the Transformers library
  • Approximately 30 million parameters.

Visual Overview

🎬 Live Demo

See GenZ Translator v2 in action:

A short demonstration of the mobile translation interface having 4gb ram whilst running other apps also in background getting less then 50ms latency, showing how GenZ Translator converts informal Gen Z expressions into clear, natural English while retaining the original context and meaning.

Model Architecture & Specifications

A visual breakdown of the model's architecture, parameter distribution, training configuration, benchmark results, and known limitations.

v1 vs v2 — Benchmark Comparison

The handcrafted benchmark shows an improvement from 80.2% to 92.4% across the scored categories.

Note: These are handcrafted benchmark pass rates, not universal translation accuracy. The held-out dataset results are reported separately below.


What changed in v2???

Version 2.0 introduces a continued fine-tuning stage designed to improve translation quality, especially for common abbreviations and contextual slang.

Improvements observed in the current evaluation include:

  • Better handling of common abbreviations such as WYD, tbh, omw, ty, and np
  • Improved responses to prompts asking what slang expressions mean
  • Better performance on the handcrafted evaluation benchmark
  • Reduced loss on the curated validation examples

The model still has limitations involving unusual spellings, repeated characters, mixed-language text, URLs, and preservation of every detail in the input.

Important: Improvements vary by evaluation set. The current handcrafted benchmark shows a clear gain, but the held-out dataset benchmark does not show a corresponding improvement in exact-match accuracy.


Model overview

PropertyValue
Model nameGenZ Translator
RepositorySankar-2910/genz-translator
ArchitectureLlama-style decoder-only Transformer
Parameters29,653,568
Layers7
Hidden size448
Attention heads7
KV heads7
Intermediate size1,792
Context length384 tokens
Vocabulary8,000
TokenizerCustom Byte-Level BPE
FrameworkPyTorch / Transformers
Weight formatSafetensors
Intended taskSingle-turn slang translation

The architecture uses separate input embeddings and output-head weights (tie_word_embeddings=False).


Intended use

Suitable for

  • Translating common internet abbreviations
  • Rewriting informal messages into standard English
  • Interpreting common Gen Z expressions
  • Processing short social media captions and messages
  • Lightweight experimentation with compact language models

Not designed for

  • General-purpose conversation
  • Coding or mathematical reasoning
  • Knowledge retrieval
  • Long-context conversations
  • Reliable translation of every regional or rapidly evolving slang expression

This model is a specialized translator, not a general-purpose assistant.


Evaluation

Handcrafted benchmark

CategoryExamplesv1 pass ratev2 pass rate
Abbreviations3982%100%
Contextual abbreviations1688%94%
Meaning questions1127%100%
Overflow1100%100%
Paragraphs5100%100%
Passthrough875%75%
Polarity1090%90%
Meaning preservation757%71%
Robustness3786%92%
Slang3491%88%
Overall scored categories—80.2%92.4%

The handcrafted benchmark measures whether outputs satisfy category-specific evaluation rules. Its results should not be interpreted as a universal translation accuracy percentage.

Held-out dataset benchmark

Metricv1this model
Exact match15.2%14.5%
Token F10.7010.699
EOS-terminated outputs100%100%
Slang remaining in output0.0%0.1%
Definition-style outputs0.1%0.0%
Latency, batch size 324.1 ms/prompt4.7 ms/prompt

Exact-match evaluation is strict: a valid translation can be marked incorrect if its wording differs from the reference. Token F1 offers a measure of lexical overlap but does not fully measure semantic correctness.

Validation loss during the v2 fine-tuning run

Validation metricBefore fine-tuningSelected checkpoint
General validation loss0.52680.5241
Curated validation loss1.33340.2168
Combined validation loss0.93010.3704

The combined loss is the arithmetic mean of general and curated validation losses. The curated validation set contained 82 examples, so its result should be interpreted cautiously.

These loss figures come from the current fine-tuning run. They should not be compared directly with validation losses from a different dataset split or evaluation pipeline.

Interpretation

The results suggest that v2 has learned useful mappings for common abbreviations and some meaning-related prompts. However, generalization remains a work in progress.

Known failure cases include:

  • Losing negation or other important details
  • Mistranslating phrase-level expressions such as pull up and stan
  • Rewriting ordinary English that does not need translation
  • Producing poor results on repeated characters and adversarially malformed inputs
  • Mishandling URLs, usernames, and some mixed-language messages

Further evaluation on an independently held-out test set is needed before making stronger claims about general translation quality.


Research Paper

We document the architecture, training methodology, evaluation, and performance analysis of GenZ Translator v2 in our technical research paper.

Read the paper: GenZ Translator: A Compact Transformer for Gen Z Slang Translation

The paper covers:

  • Model architecture and design
  • Dataset preparation and training methodology
  • Version 1 vs Version 2 evaluation
  • Held-out benchmark results
  • Mobile inference and deployment
  • Limitations and future research

Training approach

Original model

The original GenZ Translator was trained from scratch using a custom tokenizer and a specialized Gen Z-to-English dataset.

It did not start from pretrained Meta Llama, Qwen, or Mistral model weights.

Version 2

Version 2 continues from the original Sankar-2910/genz-translator checkpoint rather than starting from random initialization.

The current run used:

SettingValue
Starting checkpointSankar-2910/genz-translator
Training examples after preparation333,993 tokenized examples
General validation examples1,995 tokenized examples
Curated training pairs437 before repetition
Curated validation pairs82
Epochs1
Batch size32
Peak learning rate5 × 10⁻⁵
OptimizerAdamW
Learning-rate scheduleCosine decay with warmup
Gradient clipping1.0
Maximum sequence length384 tokens
HardwareKaggle T4x2 GPU
Checkpoint selectionCombined general and curated validation loss

The dataset pipeline loaded a source dataset of approximately one million rows and filtered it before training. The figures above describe the prepared data for this run, not the full raw dataset.

Training examples included curated examples repeated during training. The held-out curated examples were kept separate from those repeated training examples.

Loss was computed over response tokens rather than prompt tokens.


Tokenizer and prompt format

The model uses a custom tokenizer trained for the original translation task.

Use the prompt structure expected by the model:

<s><|instruction|>Translate the following Gen Z slang sentence into clear, standard English.<|input|>YOUR TEXT<|response|>

The model is optimized for single-turn translation. It is not designed to maintain conversational history.


⚡ Quick start

Install the required packages:

pip install -U transformers torch safetensors

Load with Transformers:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "Sankar-2910/genz-translator"

tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
    repo,
    tie_word_embeddings=False
).eval()

device = "cuda" if torch.cuda.is_available() else "cpu"
model = model.to(device)

def translate(text, max_new_tokens=96):
    prompt = (
        "<s><|instruction|>"
        "Translate the following Gen Z slang sentence into clear, standard English."
        "<|input|>" + text +
        "<|response|>"
    )

    inputs = tokenizer(
        prompt,
        add_special_tokens=False,
        return_tensors="pt"
    ).to(device)

    with torch.inference_mode():
        output = model.generate(
            **inputs,
            max_new_tokens=max_new_tokens,
            do_sample=False,
            eos_token_id=tokenizer.eos_token_id,
            pad_token_id=tokenizer.eos_token_id
        )

    generated = output[0, inputs["input_ids"].shape[1]:]

    return tokenizer.decode(
        generated,
        skip_special_tokens=True
    ).strip()

print(translate("WYD"))
print(translate("tbh, that movie was mid"))
print(translate("omw, traffic is crazy"))

Greedy decoding (do_sample=False) provides repeatable outputs under the same model and inference conditions. It does not guarantee that every output will be accurate.

For longer paragraphs, increase max_new_tokens as needed.


Limitations

GenZ Translator v2 is a compact, specialized model. It can still:

  • Misinterpret ambiguous slang
  • Lose negation, names, or contextual details
  • Over-rewrite already-natural English
  • Produce malformed outputs for adversarial or repetitive inputs
  • Struggle with regional slang, multilingual text, and recent expressions
  • Generate wording different from the reference despite retaining some meaning

Do not assume a translation is correct solely because it is fluent. For important text, verify the output.


Repository files

The Hugging Face repository includes the model configuration, weights, and tokenizer files required for loading the model with Transformers.

The repository is intended to distribute the standard safetensors checkpoint. Quantized or GGUF variants are not included unless published separately.


📖 Citation

If you use this model in research, please cite:

@misc{genztranslator2026,
  title={GenZ Translator},
  author={Sankara Narayanan},
  year={2026},
  note={A 29.65M-parameter decoder-only Transformer for Gen Z slang translation, continued from an earlier custom-trained checkpoint},
  url={https://huggingface.co/Sankar-2910/genz-translator}
}

For the underlying Llama architecture, see:

@article{touvron2023llama,
  title={LLaMA: Open and Efficient Foundation Language Models},
  author={Touvron, Hugo and others},
  journal={arXiv preprint arXiv:2302.13971},
  year={2023}
}

Built by a student

GenZ Translator is an exploration of compact language models, custom tokenization, dataset preparation, and specialized natural-language generation.

Created by Sankara Narayanan.

Project: Sankar-2910/genz-translator

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
a12761d

0 моделей