Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
Evgeny Pavlov 6d33a2784c
Add enru base (#169)
* Add enru base

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-10-16 11:47:12 -05:00
Erik Nordin ae00dc0603
Release models 2024-10-01 (#164)
* Release encs (1.0a3 => 1.0)

* Release enid (1.0a1 => 1.0)

* Release enro (1.0a1 => 1.0)

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update evaluation results [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
Co-authored-by: evgeny pavlov <epavlov@mozilla.com>
2024-10-11 16:37:17 -07:00
Evgeny Pavlov d97d4ce5ff
Add Chinese to English (#166)
* Add Chinese to English

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update readme

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Clarify Chinese type

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-10-07 14:07:26 -07:00
Evgeny Pavlov 376fea3a1d
Add English to Greek (#167)
* Add English to Greek

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Move English to Greek to prod

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-10-07 12:26:50 -07:00
Erik Nordin 4aa963c5e2
Add new enru model (1.0a2) (#165)
* Add new enru models (1.0a2)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Remove preexisting en-ru evaluations

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-10-01 18:43:38 -07:00
Erik Nordin 488590ed2f
New models 2024-09-27 (#163)
* Add new encs models (1.0a3)

* Remove preexisting encs evaluations

* Add new enid models (1.0a1)

* Add new enro models (1.0a1)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-10-01 11:43:21 -05:00
Erik Nordin c8f3e6af57
Release Swedish 1.0 Models (#162)
* Release sv-en (1.0a1 => 1.0)

* Release en-sv (1.0a1 => 1.0)

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-09-12 14:24:21 -05:00
Erik Nordin 1994317d62
Add New Language Models 2024-09 (#161)
* Move el-en models from dev to prod (1.1a1 => 1.1)

* Add new ensv models (1.0a1)

* Add new sven models (1.0a1)

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-09-12 12:46:21 -05:00
Erik Nordin 8166bbba19
Release models 2024-08-23 (#160)
* Release enfi models (1.0a1 => 1.0)

* Release entr models (1.0a1 => 1.0)

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-23 13:05:14 -07:00
Erik Nordin 55266f3d34
Add Bosnian to README.md [skip ci] (#159) 2024-08-23 13:53:33 -05:00
Erik Nordin d35d039471
New models 2024-08-22 (#158)
* Add new enfi models (1.0a1)

* Add new ensk models (1.0a1)

* Add new entr models (1.0a1)

* Add new enuk models (1.0a2)

* Remove preexisting enuk evaluations

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-23 12:40:41 -05:00
Evgeny Pavlov a71f3ad831
Update README.md (#157) 2024-08-22 15:09:29 -05:00
Erik Nordin 6e4d17e6fb
Move Catalan to prod (#156)
* Move caen from dev to prod

* Move enca from dev to prod

* Update README.md

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-21 14:46:18 -05:00
Erik Nordin 54f32a60bc
Release models 2024-08-07 (#155)
* Release csen models (1.0a2 => 1.0)

* Release enda models (1.0a1 => 1.0)

* Release enhr models (1.0a1 => 1.0)

* Release ensl models (1.0a1 => 1.0)

* Release iden models (1.0a1 => 1.0)

* Release roen models (1.0a1 => 1.0)

* Update README.md languages

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-07 18:05:27 -05:00
Erik Nordin 9512500949
New csen model 2024-08-07 (#154)
* Add new csen models (1.0a2)

* Remove preexisting csen evaluations

* Update README.md langauges

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-07 15:03:22 -05:00
Erik Nordin 702ce7e236
New models 2024-08-07 (#153)
* Add new elen models (1.1a1)

* Delete preexisting elen evaluations

* Add new enda models (1.0a1)

* Add new enhr models (1.0a1)

* Add new enhu models (1.0a2)

* Remove preexisting enhu evaluations

* Add new enlv models (1.0a1)

* Add new ensl models (1.0a1)

* Add new iden models (1.0a1)

* Add new roen models (1.0a1)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-08-07 13:04:27 -05:00
Erik Nordin 92813c6b85
Release languages 2024-07-22 (#152)
* Release daen 1.0a1 as 1.0

* Release hren 1.0a1 as 1.0

* Release lten 1.0a3 as 1.0

* Release lven 1.0a1 as 1.0

* Release ruen 1.1a1 as 1.1

* Delete preexisting ruen evaluations

* Release sken 1.0a1 as 1.0

* Release slen 1.1a1 as 1.1

* Delete preexisting slen evaluations

* Release sren 1.0a1 as 1.0

* Release uken 1.1a1 as 1.1

* Delete preexisting uken evaluations

* Release vien 1.0a1 as 1.0

* Update README language list

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-07-24 12:04:10 -05:00
Erik Nordin e190f8e909
New models 2024-07-22 (#151)
* Add new bsen models (1.0a1)

* Add new ruen models (1.1a1)

* Delete preexisting ruen evaluations

* Add new sken models (1.0a1)

* Add new sren models (1.0a1)

* Add new uken models (1.1a1)

* Delete preexisting uken evaluations

* Add new vien models (1.0a1)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-07-22 17:59:30 -05:00
Erik Nordin 5a2e6bc62f
Add new daen models (1.0a1) (#150)
* Add new daen models (1.0a1)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-07-16 12:05:04 -07:00
Erik Nordin bcf55865e7
New models 2024-07-11 (#149)
* Add new enlt models (1.0a1)

* Add new hren models (1.0a1)

* Add new lten models (1.0a3)

* Delete preexisting lten evaluations

* Add new lven models (1.0a1)

* Add new slen models (1.1a1)

* Delete preexisting slen evaluations

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-07-12 09:17:22 -07:00
Greg Tatum 3c2b505697
Add JSON evaluation (#147) 2024-06-27 13:37:51 -05:00
Marco Castelluccio e5080bca00
Add more languages to the comparison (#146)
* Add Afrikaans

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Amharic

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Arabic

* Add NLLB lang code mapping for Arabic

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Bengali

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Welsh

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Armenian

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Igbo

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Myanmar (Burmese)

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-05-14 21:12:46 +02:00
Greg Tatum c923ed0bc0
Add English to Czech (#145)
* Remove old bergamot files

* Remove old evaluations as well

* Add the models

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-04-04 11:08:49 +02:00
Evgeny Pavlov 1a85206014
Update Lithuanian to English with a more robust model (#144)
* Update the model downloading script to use Taskcluster

* Update Lithuanian to English with a more robust model

* Fix output directory

* Remove Bergamot evals for lt-en

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update docs [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-04-03 10:25:17 -07:00
Greg Tatum 6030a8c6a8
Clarify the docs for uploading using remote settings (#143) 2024-03-11 14:26:44 -05:00
Greg Tatum 0066bb7c38
Clarify the docs for contributing models (#142) 2024-03-11 12:54:28 -05:00
Greg Tatum c822f9d3ef
Add enca model (from origin) (#141)
* Add enca model

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-03-08 16:14:19 -06:00
Erik Nordin 038e583e77
Language Release Group 2024-03 (#138)
* Move modes from dev to prod for release

* el-en
* et-en & en-et
* fi-en
* hu-en
* ru-en
* sl-en
* tr-en
* uk-en

* Update README.md for new prod languages
2024-03-08 11:41:36 -06:00
Erik Nordin 906725123a
Fix remote_settings_script staging server URL (#139) 2024-03-06 14:02:16 -06:00
Erik Nordin e03ba4ea06
Support --lang-pair in remote_settings script (#134)
* Represent new records internally as a list

* Add --lang-pair flag

* Write test for --lang-pair

* Add README.md to remote_settings

* Add help message for no files found

* Add top-level example to README

* Add test for empty directory given language pair
2024-02-02 11:31:36 -06:00
Marco Castelluccio c8c896d640
Add some languages we are planning to support to the comparison (#130)
* Support evaluating languages that do not yet have a Bergamot model available

Fixes #106

* Move cached results to top level evaluation directory

* Add Indonesian

* Find right NLLB lang code dynamically

Fixes #103

* Decrease partition size for Google translate

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Bosnian

* Add Danish

* Add Swedish

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Galician

* Add Hindi

* Add Croatian

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Japanese

* Install dependencies required for Japanese tokenization in sacrebleu

* Install dependencies required for Korean tokenization in sacrebleu

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Romanian

* Retry up to 7 times when Google translate's service is unavailable

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Build a single report with all models and results

* Add Slovak

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Vietnamese

* Update evaluation results [skip ci]

* Add Latvian

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Serbian

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Thai

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Korean

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add Chinese

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Move logic to fill Bergamot supported languages in a separate function
2024-01-30 21:39:07 +01:00
Evgeny Pavlov 7aadb7b7e5
Add new statmt models (#131)
* Add new models from statmt

* Disable comet

* Remove Albanian

* Update readme

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Enable comet

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Add new models from statmt

* Disable comet

* Remove Albanian

* Update readme

* Enable comet

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update evaluation results [skip ci]

* Update model registry [skip ci]

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-01-26 09:52:31 +01:00
Erik Nordin ebcb4414ad
Update the Remote Settings PROD server URL (#127) 2024-01-09 14:46:19 -06:00
Evgeny Pavlov b16359f7a4
Add Lithuanian to English (#126)
* Add Lithuanian to English

* Pin dependencies and upgrade comet

* Relock dependencies under docker

* Use latest comet

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2024-01-05 17:10:52 -08:00
Erik Nordin 783e3c7db7
Add pytest-clarity for better error messages (#123) 2023-12-08 11:49:13 -06:00
Erik Nordin ac1e51248d
Reorganize remote_settings directory structure (#120)
* Fix python scripts to act as a package, with relative imports

* Use absolute paths instead of relative paths in remote_settings

* Add pytest to the poetry lock file

* Reorganize remote_settings tests directory

* Rewrite remote_settings tests using pytest

* Update CI to run python pytest as a module

* Update README to describe the current state of model deployment

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: Eemeli Aro <eemeli@gmail.com>
Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-20 19:16:25 -06:00
Erik Nordin 733418a872
Move dev/prod models to match what is released in Firefox (#118)
* Move models from dev/prod to match Firefox Remote Settings

* Alphabetize README languages
2023-11-18 12:19:46 -06:00
dependabot[bot] 9a0199fdd7
Bump requests from 2.26.0 to 2.31.0 in /evals (#87)
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.26.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 15:33:59 -06:00
Erik Nordin 94564e27de
Remote Settings Script, Initial Entrypoint and Create Subcommand (#113)
* Add Poetry to project

Reworks the project to utilize Poetry. 
This is modeled after the same Poetry setup that exists
in the firefox-translations-training repository.

* Run Black on all Python scripts

Runs the Black formatter on all existing Python code.

* Run black in CI

Runs the black formatter in CI to ensure there are no code format changes.

* Update Poetry dependencies for RemoteSettings script

Updates the Poetry toml and lock files to include all
of the current dependencies for the Remote Settings
script.

* Add main script entry point

Adds the main script entry point using argparse

* Add Error/Help print support

Adds a module to help with printing formatted
error and help messages.

* Add RemoteSettingsClient class implementation

Adds a class implementation for a RemoteSettingsClient
which is currently capable of connecting to the server
and uploading new records with attachments, but is designed
in a way that it will be able to be extended by future subcommands
that will support more CRUD operations.

* Add `create` subcommand

Adds the `create` subcommand to the main CLI interface.
The `create` subcommand is responsible fore creating a new
record with a file attachment on a Remote Settings server.

* Add mocked client and testing

Adds a way to mock the connection to the server for testing.
Adds test cases for error values and happy paths in the `create` command.

* Run remote-settings tests in CI

Runs the tests for the remote-settings.py create command in CI.
2023-11-17 14:34:43 -06:00
Marco Castelluccio 95a97a19ca
Add opus-mt models to the comparison (#105)
* Add opus-mt models to the comparison

Part of mozilla/firefox-translations-training#179

* Update evaluation results

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-13 23:14:24 +01:00
Marco Castelluccio 1f6fe5f168
Recalculate outdated Comet scores (#110)
* Cache Microsoft translations

* Cache Google translations

* Recalculate Comet scores for Microsoft

* Update Microsoft evaluation results

* Recalculate Comet scores for Google

* Update Google evaluation results

* Recalculate Comet scores for Bergamot

* Update Bergamot evaluation results

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-13 22:17:13 +01:00
Marco Castelluccio ad5766d39f
Cache translations (#109)
* Cache translations

Fixes #91

* Use cached translations

* Test removing some results for Bergamot

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-13 21:39:29 +01:00
Marco Castelluccio 7bda4005db
Add nllb translator to the comparison (#100)
* Add nllb translator to the comparison

Part of mozilla/firefox-translations-training#179

* Update evaluation results [skip ci]

* Add documentation about Argos and NLLB

Fixes #102

* Update evaluation results [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-07 18:22:15 +01:00
Marco Castelluccio afa30318b7 Add more supported languages for Argos and sort them alphabetically [skip ci] 2023-11-05 23:18:40 +01:00
Marco Castelluccio 73b9057ca4
Add more supported languages for Argos (#99)
* Add more supported languages for Argos

They are supported, even if they are not listed in argos' readme.

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-05 17:23:38 +01:00
Marco Castelluccio 186bffffc8
Add argos translator to the comparison (#96)
* Add argos translator to the comparison

Part of https://github.com/mozilla/firefox-translations-training/issues/179

* Skip 'is' for argos

* Use GPU for argos translations

* List supported languages rather than unsupported languages

* Update evaluation results [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-11-05 12:07:16 +01:00
Marco Castelluccio 979aeba075 Update evaluation results [skip ci] 2023-11-05 02:38:30 +01:00
Marco Castelluccio 4bd0f98db6 Update evaluation results [skip ci] 2023-11-04 01:11:20 +01:00
Evgeny Pavlov 619b644811
Add English to Hungarian (#90)
* Add English to Hungarian

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-10-24 11:30:59 -07:00
Evgeny Pavlov 4bfeca6ce0
Enable comet (#84)
* Enable comet

* Update CI image

* Run lfs pull for models

* Move code from the evals repo

* Add data folder

* Update evaluation results [skip ci]

* Update model registry [skip ci]

---------

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
2023-10-23 14:07:43 -07:00