Machine Learning/LiftWing/API - Wikitech
Jump to content
From Wikitech

Use the Lift Wing API to access Wikimedia machine learning (ML) models. Lift Wing hosts both experimental and production ML models as inference services that you can query for predictions.

API features

The Lift Wing API offers the following key features:

Lift Wing infrastructure, and the models it hosts, replace ORES. To learn more about the differences and how to migrate, see the ORES to Lift Wing migration guide.

Example apps

Microtask generator tool screenshot
Suggested edits and microtasks make it easier and faster to improve Wikipedia. This tool uses multiple ML models to suggest and categorize editing tasks. (See the code)
Article description tool screenshot
Generated article descriptions summarize article topics to help editors write short descriptions. (See the code)

Access policy

You can access Lift Wing model servers through internal or external API endpoints, depending on the model and your access permissions. Use Machine_Learning/LiftWing#Current_Inference_Services to see the list of available models. Models in the "experimental" namespace are only available internally.

  • Internal access is for clients internal to the production WMF network. It is not available to Toolforge nor Cloud VPS machines.
  • External access is available for all clients, including from the public internet, Toolforge, and Cloud VPS.

Rate limits vary for internal and external users; see the links above for details.

Stability policy

See mw:Wikimedia_APIs/Stability_policy for general API infrastructure policy.

Models available through the Lift Wing API have varying levels of stability, depending on whether they are experimental or in production. There is no unified policy for Lift Wing services, because each service's stability and SLOs depend on its intended use case. Consult the model card to understand the model's existing and intended use cases, along with its freshness. Use the API reference to understand the status of specific endpoints.

Report a bug

File a task in Phabricator using the tag Machine-Learning-team. See existing tasks on the team board.

Get help

Contact the WMF ML team in one of the following ways:

Contribute

See Machine_Learning/LiftWing#Contributing_to_the_project.

Changelog

See https://api.wikimedia.org/wiki/Lift_Wing_API#Changelog