Page MenuHomePhabricator

Enable Softcatalà models for more language pairs in MinT test instance
Closed, ResolvedPublic

Description

The MinT test instance supports now selecting which model to use when multiple are available (T338608). Enabling more language pairs supported by the Softcatalà models (T284905) will allow communities to compare whether they work better than the current alternatives.

This ticket proposes to enable Softcatalà models for the supported language pairs (as non-default for now):

  1. German (de) ↔ Catalan (ca)
  2. French (fr) ↔ Catalan (ca)
  3. Galician (gl) ↔ Catalan (ca)
  4. Italian (it) ↔ Catalan (ca)
  5. Japanese (ja) ↔ Catalan (ca)
  6. Dutch (nl) ↔ Catalan (ca)
  7. Occitan (oc) ↔ Catalan (ca)
  8. Portuguese (pt) ↔ Catalan (ca)
  9. Spanish (es) ↔ Catalan (ca)
  10. English (en) ↔ Catalan (ca) (already enabled and default)

Event Timeline

Pginer-WMF triaged this task as Medium priority.

Change #1014431 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/services/machinetranslation@master] Enable Softcatalà models for more language pairs

https://gerrit.wikimedia.org/r/1014431

Change #1014431 merged by jenkins-bot:

[mediawiki/services/machinetranslation@master] Enable Softcatalà models for more language pairs

https://gerrit.wikimedia.org/r/1014431

Change #1014729 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update MinT to 2024-03-26-120044-production

https://gerrit.wikimedia.org/r/1014729

Change #1014729 merged by jenkins-bot:

[operations/deployment-charts@master] Update MinT to 2024-03-26-120044-production

https://gerrit.wikimedia.org/r/1014729

Mentioned in SAL (#wikimedia-operations) [2024-03-27T07:11:01Z] <kart_> Updated MinT to 2024-03-26-120044-production (T347930, T355304, T349487)

Pginer-WMF added a subscriber: KartikMistry.

@KartikMistry. I reviewed the enabled pairs, the status are shown in a table below with issues for Italian, Occitan, Spanish and, maybe, Japanese. The test instance went down and I could not complete testing a couple combinations (see the notes, and double check as the other issues are fixed):

Language pairScreenshotStatusNotes
German (de) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (18).png (1,024×768 px, 93 KB)
✅
French (fr) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (10).png (1,024×768 px, 97 KB)
✅
Galician (gl) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (11).png (1,024×768 px, 98 KB)
✅
Italian (it) → Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (13).png (1,024×768 px, 77 KB)
❌Translation attempts result in an error. The model is listed as softcatala-ti-ca, which seems to use ti for the Italian code while the correct code for Italian is it instead. So there may be a typo somewhere. The reverse direction for the language pair (i.e, Catalan (ca) → Italian (it) works as expected.
Japanese (ja) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (12).png (1,024×768 px, 121 KB)
❓The models provides a translation but it often has some issues with markup (notice the "amp;apos;" in the translated content. We may want to check if this is just noise introduced by the model, or due to some processing; and decide whether a different model such as NLLB-200 may be a better default for this pair.
Dutch (nl) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (14).png (1,024×768 px, 109 KB)
✅
Occitan (oc) → Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (15).png (1,024×768 px, 72 KB)
❌Softcatalà model is not available, only NLLB-200 is listed. The reverse direction for the language pair (i.e, Catalan (ca) → Occitan (oc) works as expected.
Portuguese (pt) ↔ Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (16).png (1,024×768 px, 95 KB)
✅
Spanish (es) → Catalan (ca)
translate.wmcloud.org_(Wiki Tablet) (17).png (1,024×768 px, 79 KB)
❌Softcatalà model is not available, only NLLB-200 is listed. The reverse direction for the language pair (i.e, Catalan (ca) → Spanish (es) works as expected.

I made some tests for the es ↔ ca pairs and the quality seems better than NLLB-200. We can consider setting it as the default model for MinT on this language pair.

Change #1056401 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[mediawiki/services/machinetranslation@master] config/Softcatalà: Fix typo ti->it

https://gerrit.wikimedia.org/r/1056401

Change #1056403 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[mediawiki/services/machinetranslation@master] Softcatalà: Add missing config for ca<->es pair

https://gerrit.wikimedia.org/r/1056403

Change #1056401 merged by jenkins-bot:

[mediawiki/services/machinetranslation@master] config/Softcatalà: Fix typo ti->it

https://gerrit.wikimedia.org/r/1056401

Change #1056403 merged by jenkins-bot:

[mediawiki/services/machinetranslation@master] Softcatalà: Add missing config for ca<->es pair

https://gerrit.wikimedia.org/r/1056403

@Pginer-WMF I have updated test instance https://translate.wmcloud.org/ and issues related to Italian (it) → Catalan (ca) and es ↔ ca pairs should be fixed. Let me know.

@Pginer-WMF I have updated test instance https://translate.wmcloud.org/ and issues related to Italian (it) → Catalan (ca) and es ↔ ca pairs should be fixed. Let me know.

Thanks Kartik. This is working now.

Change #1057421 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update MinT to 2024-07-24-145137-production

https://gerrit.wikimedia.org/r/1057421

Change #1057421 merged by jenkins-bot:

[operations/deployment-charts@master] Update MinT to 2024-08-05-062247-production

https://gerrit.wikimedia.org/r/1057421

Mentioned in SAL (#wikimedia-operations) [2024-08-06T07:39:57Z] <kart_> Updated MinT to 2024-08-05-062247-production (T363308, T355304, T368521)