/ Модель

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

Параметры
138 млн
Архитектура
t5 · dense
Базовая модель
envit5-base
Библиотека
transformers
Опубликована
14 сен 2026

envit5-base-iwslt2015-en-vi

ПереводТекст → текст

Модель EnViT5-base для перевода английских текстов на вьетнамский, дообученная на корпусе IWSLT2015.

105скачиваний за 30 дней0лайковвеса обновлены21 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

AIOKiet/envit5-base-iwslt2015-en-vi — модель EnViT5-base, дообученная авторами репозитория для перевода с английского на вьетнамский. Это encoder-decoder Transformer на архитектуре T5 с 137,5 млн параметров, созданный с помощью Hugging Face Transformers и обученный на параллельном корпусе IWSLT2015 English–Vietnamese. Модель принимает текст с префиксом en: и генерирует вьетнамский перевод; в выводе может присутствовать префикс vi:. Максимальная длина источника и цели при обучении составляла 128 токенов.

Модель предназначена для экспериментов с англо-вьетнамским машинным переводом и сравнения базовых моделей на IWSLT2015. Карточка приводит промежуточные метрики валидации, но опубликованный чекпойнт является финальным, а не лучшим промежуточным; итоговые тестовые метрики не приведены. Обучение только на TED-подобных данных IWSLT2015 ограничивает подтверждённое качество этим доменом: качество для медицинских, юридических, технических и других текстов не установлено. Не рекомендуется полагаться на модель для критически важных или сертифицированных переводов. Лицензия в предоставленных данных не указана.

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

  • перевод выступлений и лекций с английского на вьетнамский
  • эксперименты с англо-вьетнамским машинным переводом
  • сравнение моделей перевода на наборе IWSLT2015

Ограничения

Модель обучена только на TED-подобных параллельных данных IWSLT2015; качество для других областей не установлено. Опубликован финальный чекпойнт, а не чекпойнт с лучшим результатом на валидации, и итоговые тестовые метрики отсутствуют.

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

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

Открыть на Hugging Face

EnViT5-Base Fine-tuned for English-to-Vietnamese Translation

This model is a fine-tuned version of VietAI/envit5-base for English-to-Vietnamese neural machine translation.

The model was fine-tuned exclusively on the IWSLT2015 English-Vietnamese dataset as part of a controlled comparison with mBART-50 and NLLB-200-Distilled-600M.

Model Details

  • Base model: VietAI/envit5-base
  • Task: English-to-Vietnamese machine translation
  • Architecture: Encoder-decoder Transformer
  • Source language: English
  • Target language: Vietnamese
  • Framework: Hugging Face Transformers
  • Training hardware: 1 × NVIDIA Tesla T4
  • Precision: FP16
  • Training epochs: 2
  • Training steps: 33,330
  • Random seed: 42
  • Training time: approximately 4 hours 32 minutes
  • Checkpoint in this repository: Final checkpoint after 2 epochs

This repository contains the final checkpoint after two training epochs.

It does not contain the intermediate checkpoint with the highest observed validation BLEU because checkpoint saving was disabled during this experimental run.

Training Data

The model was fine-tuned using:

nguyenvuhuy/iwslt2015-en-vi

Dataset splits:

SplitSentence pairs
Train133,317
Validation1,268
Test1,268

No additional parallel corpus, back-translation data, data augmentation, or synthetic data was used for this baseline.

Preprocessing

EnViT5 uses explicit language prefixes.

Source sentences were formatted as:

en: <English sentence>

Target sentences were formatted as:

vi: <Vietnamese sentence>

Maximum sequence lengths:

ParameterValue
Maximum source length128
Maximum target length128

Target padding token IDs were replaced with -100 during training so that padding positions were ignored when computing the loss.

Training Hyperparameters

HyperparameterValue
Batch size8
Gradient accumulation steps1
Effective batch size8
Learning rate5e-5
OptimizerAdamW
Weight decay0.01
Number of epochs2
Learning-rate schedulerLinear
Warmup ratio0.0
Maximum gradient norm1.0
Mixed precisionFP16
Gradient checkpointingEnabled
Random seed42
Data seed42
Evaluation interval5,000 steps
Beam size5
Maximum generation length128

Validation Results

Validation performance observed during training:

StepTraining LossValidation LossBLEU ↑chrF++ ↑TER ↓
5,0001.54811.37240733.819451.684349.6093
10,0001.46261.32022635.543453.269145.5709
15,0001.40201.28376436.425354.086544.7437
20,0001.19571.27715936.634154.339744.5147
25,0001.18581.25928437.245454.832043.8307
30,0001.16931.24668337.126054.928944.0110

The highest observed validation BLEU was 37.2454 at step 25,000.

The lowest observed validation TER was 43.8307 at step 25,000.

The highest observed validation chrF++ was 54.9289 at step 30,000.

Because checkpoint saving was disabled for this run, the model hosted in this repository corresponds to the final checkpoint at step 33,330 rather than the intermediate checkpoint at step 25,000.

Test Results

The final checkpoint is evaluated on the IWSLT2015 test set using the same decoding configuration used for the other baseline models.

Evaluation configuration:

  • Beam size: 5
  • Maximum generation length: 128
  • Test samples: 1,268
  • BLEU implementation: SacreBLEU
  • Additional metrics: chrF++ and TER
  • COMET: Evaluated separately

Final test results will be added after completing the evaluation.

MetricScore
BLEU ↑TBD
chrF++ ↑TBD
TER ↓TBD
COMET ↑TBD

Usage

import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

model_name = "AIOKiet/envit5-base-iwslt2015-en-vi"

tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)

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

model = model.to(device)
model.eval()

text = "en: Artificial intelligence is changing the world."

inputs = tokenizer(
    text,
    return_tensors="pt",
    truncation=True,
    max_length=128
).to(device)

with torch.no_grad():
    outputs = model.generate(
        **inputs,
        num_beams=5,
        max_length=128
    )

translation = tokenizer.decode(
    outputs[0],
    skip_special_tokens=True
)

print(translation)

The generated translation may include the vi: prefix because this prefix is part of the EnViT5 translation format.

For downstream evaluation, the prefix can be removed before computing translation metrics.

Intended Use

This model is intended for:

  • English-to-Vietnamese machine translation experiments
  • Neural machine translation research
  • Controlled baseline comparisons
  • Comparison with multilingual encoder-decoder models
  • Parameter-efficient fine-tuning research
  • English-Vietnamese translation experiments on IWSLT2015

Out-of-Scope Use

This model has not been evaluated for:

  • Medical translation
  • Legal translation
  • Safety-critical translation
  • Professional certified translation
  • High-stakes production deployment

Additional evaluation is required before using the model in such settings.

Limitations

The model was fine-tuned only on the IWSLT2015 English-Vietnamese corpus, which primarily contains TED-talk-style parallel data.

Performance on other domains, including medical, legal, conversational, e-commerce, scientific, and technical text, has not been established.

The current repository contains the final two-epoch checkpoint rather than the best intermediate validation checkpoint.

Translation quality may also vary depending on sentence length, domain, terminology, and linguistic structure.

Evaluation Metrics

The following metrics are used in this experiment:

  • BLEU: Higher is better
  • chrF++: Higher is better
  • TER: Lower is better
  • COMET: Higher is better

BLEU, chrF++, and TER are computed using SacreBLEU.

COMET is evaluated separately for the final baseline comparison.

Experimental Context

This model is one of three controlled English-to-Vietnamese baselines:

ModelRole
mBART-50Multilingual sequence-to-sequence baseline
NLLB-200-Distilled-600MMultilingual machine translation baseline
EnViT5-BaseEnglish-Vietnamese specialized baseline

The experiments use the same IWSLT2015 dataset and a controlled training protocol to support a fair comparison.

The main shared settings include:

  • 2 training epochs
  • Batch size of 8
  • Learning rate of 5e-5
  • AdamW optimizer
  • Weight decay of 0.01
  • Maximum source length of 128
  • Maximum target length of 128
  • FP16 training
  • Beam size of 5
  • Maximum generation length of 128
  • Random seed of 42

Model-specific language handling is preserved according to the requirements of each pretrained architecture.

Reproducibility

Main experimental configuration:

Dataset: nguyenvuhuy/iwslt2015-en-vi

Train samples: 133317
Validation samples: 1268
Test samples: 1268

Epochs: 2
Training steps: 33330

Batch size: 8
Gradient accumulation steps: 1
Effective batch size: 8

Learning rate: 5e-5
Optimizer: AdamW
Weight decay: 0.01
LR scheduler: Linear
Warmup ratio: 0.0
Maximum gradient norm: 1.0

Maximum source length: 128
Maximum target length: 128

FP16: True
Gradient checkpointing: True

Beam size: 5
Maximum generation length: 128

Seed: 42
Data seed: 42

Compute Infrastructure

Hardware

  • GPU: NVIDIA Tesla T4
  • Number of GPUs: 1
  • Training precision: FP16

Training Time

The two-epoch fine-tuning run required approximately:

4 hours 31 minutes 47 seconds

Checkpoint Selection

This experiment used a fixed training budget of two epochs.

Checkpoint saving was disabled during the run. Therefore, the model in this repository represents the final model after 33,330 optimization steps.

The best intermediate validation BLEU was observed at step 25,000, but the corresponding model weights were not retained.

For this baseline experiment, the final checkpoint is used to maintain the same checkpoint-selection protocol across the compared models.

Citation

A citation for the associated study will be added after publication.

When using this model, please also cite the original EnViT5 work and the IWSLT2015 dataset where appropriate.

Model Card Author

This model card documents an EnViT5-Base baseline fine-tuned for controlled English-to-Vietnamese neural machine translation experiments.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей