Hello, where can I find a list of all supported languages in revertrisk-language-agnostic model? Example: be-tarask: "not supported lang", be_tarask: "not supported lang", be-x-old: just a timeout (!) error.
Repro:
curl https://api.wikimedia.org/service/lw/inference/v1/models/revertrisk-language-agnostic:predict -X POST -d '{"rev_id": 2409774, "lang": "be-x-old"}' {"httpReason":"upstream request timeout","httpCode":504} curl https://api.wikimedia.org/service/lw/inference/v1/models/revertrisk-language-agnostic:predict -X POST -d '{"rev_id": 2409774, "lang": "be-tarask"}' {"error":"Unsupported lang: be-tarask."}
According to https://en.wikipedia.org/wiki/List_of_Wikipedias#Redirects:
- be-x-old: – redirects to be-tarask
Wikipedia site for be-x-old is https://be-tarask.wikipedia.org, which is the only Wikipedia project whose URL is not an example of https://{lang}.wikipedia.org. This may cause timeouts because LW cannot connect to the correct MediaWiki API.
Also, we should add be-tarask to the list of supported languages in the language-agnostic model.