Transformer based translation quality estimation
Project description
TransQuest : Transformer based Translation Quality Estimation.
TransQuest provides state-of-the-art models for Quality Estimation.
Installation
you first need to install PyTorch. Please refer to PyTorch installation page regarding the specific install command for your platform.
When PyTorch has been installed, you can install from source by cloning the repository and running:
git clone https://github.com/TharinduDR/TransQuest.git
cd TransQuest
pip install -r requirements.txt
Run the examples
Examples are included in the repository but are not shipped with the library.
Romanian - English
python -m examples.ro_en.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM | xlm-mlm-enro-1024 | 0.739 |
| TransQuest | XLM-R | xlm-roberta-large | 0.894 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.829 |
| TransQuest | DistilBERT | distilbert-base-multilingual-cased | 0.778 |
Russian - English
python -m examples.ru_en.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM-R | xlm-roberta-base | 0.692 |
| TransQuest | XLM-R | xlm-roberta-large | 0.715 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.642 |
| TransQuest | DistilBERT | distilbert-base-multilingual-cased | 0.644 |
Estonian - English
python -m examples.et_en.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM-R | xlm-roberta-base | 0.672 |
| TransQuest | XLM-R | xlm-roberta-large | 0.741 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.664 |
English - Chinese
python -m examples.en_zh.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM-R | xlm-roberta-base | 0.493 |
| TransQuest | XLM-R | xlm-roberta-large | 0.501 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.518 |
Nepalese - English
python -m examples.si_en.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM-R | xlm-roberta-base | 0.699 |
| TransQuest | XLM-R | xlm-roberta-large | 0.761 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.684 |
English - German
python -m examples.en_de.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM | xlm-mlm-ende-1024 | 0.326 |
| TransQuest | BERT | bert-base-multilingual-cased | 0.449 |
Sinhala - English
python -m examples.si_en.trans_quest
| Algo Type | Transformer Type | Transformer Name | Pearson Correlation |
|---|---|---|---|
| TransQuest | XLM-R | xlm-roberta-base | 0.380 |
| TransQuest | XLM-R | xlm-roberta-large | 0.589 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
transquest-0.1.0.tar.gz
(28.2 kB
view details)
File details
Details for the file transquest-0.1.0.tar.gz.
File metadata
- Download URL: transquest-0.1.0.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
271ba9ea8e361ca2be369261b35cdcdbd2ed5422fa46053708b829177e4f2c8a
|
|
| MD5 |
e65f4c3555d81de20d89fe2e0fa67777
|
|
| BLAKE2b-256 |
f72b7be853f98473c93f92a47191649100bbc7b2460bbac06eed8aaea90a3d2d
|