diff options
author | TharinduDR <rhtdranasinghe@gmail.com> | 2020-03-31 21:18:47 +0300 |
---|---|---|
committer | TharinduDR <rhtdranasinghe@gmail.com> | 2020-03-31 21:18:47 +0300 |
commit | 31c6ffe7f7fa06ac0275d73af2e51250c788df76 (patch) | |
tree | de38fc89935146b16fd77c8ac6b929548f8a2ae7 /README.md | |
parent | 2d7f36357ead7a45f00f6db218c0feb0a212fd04 (diff) |
004: Adding 2020 examples
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -1,8 +1,8 @@ -## TransQuest : Transformer based Translation Quality Estimation. +# TransQuest : Transformer based Translation Quality Estimation. TransQuest provides state-of-the-art models for Quality Estimation. -### Installation +## Installation you first need to install PyTorch. Please refer to [PyTorch installation page](https://pytorch.org/get-started/locally/#start-locally) regarding the specific install command for your platform. @@ -14,10 +14,10 @@ cd TransQuest pip install -r requirements.txt ``` -### Run the examples +## Run the examples Examples are included in the repository but are not shipped with the library. -#### Romanian - English +### Romanian - English ```bash python -m examples.ro_en.trans_quest ``` @@ -27,7 +27,7 @@ Algo Type | Transformer Type | Transformer Name | Pearson Correlation | TransQuest | XLM | xlm-mlm-enro-1024 | 0.739 | -#### Russian - English +### Russian - English ```bash python -m examples.ru_en.trans_quest ``` @@ -36,8 +36,17 @@ Algo Type | Transformer Type | Transformer Name | Pearson Correlation | ------------| ----------------- |------------------:| -------------------:| TransQuest | XLM-R | xlm-roberta-base | 0.692 | +### English - German +```bash +python -m examples.en_de.trans_quest +``` + +Algo Type | Transformer Type | Transformer Name | Pearson Correlation | +------------| ----------------- |------------------:| -------------------:| +TransQuest | XLM-R | xlm-roberta-base | 0.326 | + -#### Sinhala - English +### Sinhala - English ```bash python -m examples.si_en.trans_quest ``` |