/ Модель

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

Контекст
514 токенов
Параметры
659 млн
Лицензия
Apache 2.0
Архитектура
xlm-roberta · dense

monotransquest-da-multilingual

Классификация текстаТекст → label3 профессии

Модель TransQuest на основе XLM-RoBERTa оценивает качество машинного перевода без эталонного перевода для отбора и проверки переводов.

71скачиваний за 30 дней1лайквеса обновлены3 июн 2021

Бенчмарки

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

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

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

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

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

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

TransQuest/monotransquest-da-multilingual — модель оценки качества машинного перевода без эталонного перевода, основанная на XLM-RoBERTa и классификаторе последовательностей. Разработчики TransQuest создали её для sentence-level direct assessment: модель получает исходный текст и его перевод и оценивает качество перевода. В карточке указаны 658,7 млн параметров, контекст до 514 токенов и лицензия Apache-2.0.

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

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

  • оценка качества перевода предложения без эталонного перевода
  • сравнение вариантов машинного перевода
  • отбор перевода для публикации
  • выявление переводов, требующих постредактирования

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

TransQuest: Translation Quality Estimation with Cross-lingual Transformers

The goal of quality estimation (QE) is to evaluate the quality of a translation without having access to a reference translation. High-accuracy QE that can be easily deployed for a number of language pairs is the missing piece in many commercial translation workflows as they have numerous potential uses. They can be employed to select the best translation when several translation engines are available or can inform the end user about the reliability of automatically translated content. In addition, QE systems can be used to decide whether a translation can be published as it is in a given context, or whether it requires human post-editing before publishing or translation from scratch by a human. The quality estimation can be done at different levels: document level, sentence level and word level.

With TransQuest, we have opensourced our research in translation quality estimation which also won the sentence-level direct assessment quality estimation shared task in WMT 2020. TransQuest outperforms current open-source quality estimation frameworks such as OpenKiwi and DeepQuest.

Features

  • Sentence-level translation quality estimation on both aspects: predicting post editing efforts and direct assessment.
  • Word-level translation quality estimation capable of predicting quality of source words, target words and target gaps.
  • Outperform current state-of-the-art quality estimation methods like DeepQuest and OpenKiwi in all the languages experimented.
  • Pre-trained quality estimation models for fifteen language pairs are available in HuggingFace.

Installation

From pip

pip install transquest

From Source

git clone https://github.com/TharinduDR/TransQuest.git
cd TransQuest
pip install -r requirements.txt

Using Pre-trained Models

import torch
from transquest.algo.sentence_level.monotransquest.run_model import MonoTransQuestModel


model = MonoTransQuestModel("xlmroberta", "TransQuest/monotransquest-da-multilingual", num_labels=1, use_cuda=torch.cuda.is_available())
predictions, raw_outputs = model.predict([["Reducerea acestor conflicte este importantă pentru conservare.", "Reducing these conflicts is not important for preservation."]])
print(predictions)

Documentation

For more details follow the documentation.

  1. Installation - Install TransQuest locally using pip.
  2. Architectures - Checkout the architectures implemented in TransQuest
    1. Sentence-level Architectures - We have released two architectures; MonoTransQuest and SiameseTransQuest to perform sentence level quality estimation.
    2. Word-level Architecture - We have released MicroTransQuest to perform word level quality estimation.
  3. Examples - We have provided several examples on how to use TransQuest in recent WMT quality estimation shared tasks.
    1. Sentence-level Examples
    2. Word-level Examples
  4. Pre-trained Models - We have provided pretrained quality estimation models for fifteen language pairs covering both sentence-level and word-level
    1. Sentence-level Models
    2. Word-level Models
  5. Contact - Contact us for any issues with TransQuest

Citations

If you are using the word-level architecture, please consider citing this paper which is accepted to ACL 2021.

@InProceedings{ranasinghe2021,
author = {Ranasinghe, Tharindu and Orasan, Constantin and Mitkov, Ruslan},
title = {An Exploratory Analysis of Multilingual Word Level Quality Estimation with Cross-Lingual Transformers},
booktitle = {Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics},
year = {2021}
}

If you are using the sentence-level architectures, please consider citing these papers which were presented in COLING 2020 and in WMT 2020 at EMNLP 2020.

@InProceedings{transquest:2020a,
author = {Ranasinghe, Tharindu and Orasan, Constantin and Mitkov, Ruslan},
title = {TransQuest: Translation Quality Estimation with Cross-lingual Transformers},
booktitle = {Proceedings of the 28th International Conference on Computational Linguistics},
year = {2020}
}
@InProceedings{transquest:2020b,
author = {Ranasinghe, Tharindu and Orasan, Constantin and Mitkov, Ruslan},
title = {TransQuest at WMT2020: Sentence-Level Direct Assessment},
booktitle = {Proceedings of the Fifth Conference on Machine Translation},
year = {2020}
}

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

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

GPU в ailist

Универсальный рантайм · text-classification

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

Подбираем GPU…

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

0 моделей