Page MenuHomePhabricator

Add GreynirT2T for Icelandic
Open, MediumPublicFeature

Description

Name: GreynirT2T
Translation Engine: Tensor2Tensor
Languages: English to Icelandic
Repo: github.com/mideind/GreynirT2T
Maintainer: Miðeind ehf. (Icelandic company)
Type: Neural Machine Translation
Licence: MIT (code), CC-BY-4.0 (corpus)
Requirements: ParIce (corpus) - parice.arnastofnun.is
Demo: Velthyding.is

Problem: Current accuracy causes some is.wikipedia editors not to use ContentTranslation.

Benefit: GreynirT2T claims to be more accurate than our current best translator used by WMF, GoogleTranslate. GreynirT2T is correct 66% of the time, while GoogleTranslate is 63% and Apertium is 50%.

Event Timeline

Thanks for bringing this to our attention @Snaevar.
Flores, a new translation system supporting Icelandic, was added to Content Translation. Recently it has been enabled as the default for a month to get further feedback. It would be useful to have a sense on how the quality compares to the previous default (Google) as well as to other options you were sharing, from the perspective of a native speaker. So feel free to share any impressions. Thanks!

@Pginer-WMF Since you pinged me and to answer the question.
The first thing I notice with the difference between Greynir and NLLB-200 is that Greynir does declensions but NLLB-200 seems to put a lot of words into the nominative case.
Icelandic is a declension heavy language, unlike English. Nouns, for example, commonly have around 14 different declensions. I would compare the declension usage with Spanish and Polish rather than English.
As such, the text from NLLB-200 is less complete and almost always needs fixing when it comes to declensions, while Greynir does not have that problem.

To prove that this is not just my viewpoint, there is also this research that scores Greynirs tokenization capabilites at 84. http://linguist.is/wp-content/uploads/2020/06/arnardottir2020neural.pdf

There is also the research on NLLB-200 vs Greynir in Faroese. According to it, Greynir/GPT-4 is better than NLLB-200. Faroese is the closest modern language to Icelandic. Old norse is closer, but it is also an defunct language.

The research said that there are a lot of "Icelandic-isms" in the Faroese results, meaning the icelandic result of the same test would give better numbers. NLLB-200/FLORES scored 9,46% BLEU correct, vs 9,61 with Greynir/GPT-4.
chrF was also measured in the resarch, but it is not suitable as a score, as it is not good with high-morphology languages. Like mentioned previously, Icelandic has a lot of declensions but also does a lot of compound words. To a lesser extent, that applies to Faroese aswell. As a result, I am only mentioning the BLEU scores.
https://skemman.is/bitstream/1946/46019/1/MasterThesis_Annika2023_040124.pdf

I got the explanation on why the sole is.wikipedia user, Akigka supported moving from GoogleTranslate to MinT. We had a discussion on https://is.wikipedia.org/wiki/Wikipedia:Potturinn#Afstaða_til_vélþýðinga where he said that he dislikes Google Translate and just took the first available opportunity to move away from it. They did not know much at all about MinT/Flores/NLLB and proceeded with agreeing to find alternatives to MinT.

I have not seen anyone on is.wikipedia claim that MinT is good, either overall or in comparison with the existing options ContentTranslation has. I have seen several bugs on phabricator where the claim of ContentTranslates staffmembers is that users of Icelandic Wikipedia like MinT, but this is completely false. In fact, if this bug did not exist and Greynir did not exist, I would be considering GoogleTranslate or Apertium in place of MinT. But that reality does not exist, so here we are. After all, it does not make sense that a community would like the second worst option, with the worst option being removing machine translation entirely. After all, NLLB is The worst machine translation engine I have found (see the links in the aforementioned Wikipedia:Potturinn discussion on that). I should also not need four subsequent posts to convince a person on that. So, if a staffmember of ContentTranslate could admit MinT for Icelandic is bad, that would be appreciated.

I, myself, have used ContentTranslate mainly just for it´s feature of using wikidata to translate links and thrown away the translations MinT has offered. I have also used ContentTranslate less than I would, because the translation is just that bad.