Rendered with Parsoid


From Wikitech
Latest comment: 5 months ago by Ilias Sarantopoulos in topic Transition to Liftwing
Jump to navigation Jump to search

Transition to Liftwing

This page describes transition to LiftWing from or I'm an experienced ORES user (I own a bot rolling back vandal edits in ruwiki, using ORES scores, since 2017), but I have never used nor I have used standard Wikipedia API for collecting oresscores:

or, now, I use an SQL queries to DB replicas on Toolforge: select rc_title, max(case when oresm_name="damaging" then oresc_probability else 0 end) damaging, max(case when oresm_name="goodfaith" then oresc_probability else 0 end) goodfaith, actor_name, rc_this_oldid, actor_user from recentchanges join ores_classification on oresc_rev=rc_this_oldid join actor on actor_id=rc_actor join ores_model on oresc_model=oresm_id where rc_timestamp>yyyyMMddHHmmss and rc_type=0 group by rc_this_oldid having max(case when oresm_name="damaging" then oresc_probability else 0 end)>=lowlimit order by rc_this_oldid desc;

Will this methods work with LiftWing? Will LiftWing scores appear in list=recentchanges API query in Wikipedia? Will LiftWing DB tables be available on Toolforge DB replicas, will it be possible to join that tables with recentchanges table to get LiftWing scores of recent edits? Ping User:Elukey, User:Ilias Sarantopoulos, User:Klausman. Maxbiohazard (talk) 15:44, 23 August 2023 (UTC)Reply[reply]

Nothing will change regarding the recent changes queries and requests. The deprecation of ORES just means that the same models will be used to fetch the scores for each edit but in the background the ORES Mediawiki extension will be making requests to Lift Wing instead of
The ORES extension is responsible for populating the ores_classification table, which will continue to function.
So, your use case will not be affected at all! Ilias Sarantopoulos (talk) 16:01, 23 August 2023 (UTC)Reply[reply]
But LiftWing has its own models (agnostic, multilang....), how LiftWing models output will be converted into ORES "damaging/goodfaith" output? Can I use new LiftWing models from rc-ch API and DB replicas? Ping @Ilias Sarantopoulos Maxbiohazard (talk) 17:06, 23 August 2023 (UTC)Reply[reply]
All ORES models have been migrated to Lift Wing -> Machine Learning/LiftWing/Inference Services
This means that exactly the same models with the same output are used.
Lift Wing has additional models which cannot be used by rc-ch API at the moment and can only be accessed through the API gateway Ilias Sarantopoulos (talk) 17:44, 23 August 2023 (UTC)Reply[reply]