The new service will work as currently when no revision_id is passed. If revision_id is passed, we predict based on the state of the page linked to the specific revision.
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T392833 Q1 FY2025-26 Goal: Make article topic data available at scale and within SLOs for Year in Review | |||
| Resolved | BWojtowicz-WMF | T414573 Extend Article Topics model to support `revision_id` parameter. |
Event Timeline
Change #1226839 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[machinelearning/liftwing/inference-services@main] article-topics: Add support for revision_id parameter.
Change #1226839 merged by jenkins-bot:
[machinelearning/liftwing/inference-services@main] article-topics: Add support for revision_id parameter.
Change #1229491 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[operations/deployment-charts@master] ml-services: Update image for Article Topic model.
Change #1229491 merged by jenkins-bot:
[operations/deployment-charts@master] ml-services: Update image for Article Topic model.
Change #1229560 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[operations/deployment-charts@master] ml-services: Add replicas for article topic model.
Change #1229560 merged by jenkins-bot:
[operations/deployment-charts@master] ml-services: Add replicas for article topic model.
Change #1229571 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[machinelearning/liftwing/inference-services@main] article-topic: Use smaller batches when requesting QIDs.
Change #1229571 merged by jenkins-bot:
[machinelearning/liftwing/inference-services@main] article-topic: Use smaller batches when requesting QIDs.
Change #1230260 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[operations/deployment-charts@master] ml-services: Update outlink article topic model image.
Change #1230260 merged by jenkins-bot:
[operations/deployment-charts@master] ml-services: Update outlink article topic model image.
Change #1233106 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[machinelearning/liftwing/inference-services@main] article-topic: Optimize query batching.
Change #1233106 merged by jenkins-bot:
[machinelearning/liftwing/inference-services@main] article-topic: Optimize query batching.
Change #1233125 had a related patch set uploaded (by Bartosz Wójtowicz; author: Bartosz Wójtowicz):
[operations/deployment-charts@master] ml-services: Update image for Article Topic model.
Change #1233125 merged by jenkins-bot:
[operations/deployment-charts@master] ml-services: Update image for Article Topic model.
The new service supporting revision_id as an optional input parameter is live.
As expected, the queries using the revision_id parameter are ~4x slower due to the separate queries we need to make to catch QIDs linked to a specific revision of the page.
The API documentation is also updated now: https://api.wikimedia.org/wiki/Lift_Wing_API/Reference/Get_articletopic_outlink_prediction.