Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild

By Abubakar Abid, Ali Abdalla, Ali Abid, Dawood Khan, Abdulrahman Alfozan, James Y. Zou. 2019

349 citations recorded by the source corpus.

Accessibility is a major challenge of machine learning (ML). Typical ML models are built by specialists and require specialized hardware/software as well as ML experience to validate. This makes it challenging for non-technical collaborators and endpoint users (e.g. physicians) to easily provide feedback on model development and to gain trust in ML. The accessibility challenge also makes collaboration more difficult and limits the ML researcher's exposure to realistic data and scenarios that occur in the wild. To improve accessibility and facilitate collaboration, we developed an open-source Python package, Gradio, which allows researchers to rapidly generate a visual interface for their ML models. Gradio makes accessing any ML model as easy as sharing a URL. Our development of Gradio is informed by interviews with a number of machine learning researchers who participate in interdisciplinary collaborations. Their feedback identified that Gradio should support a variety of interfaces and frameworks, allow for easy sharing of the interface, allow for input manipulation and interactive inference by the domain expert, as well as allow embedding the interface in iPython notebooks. We developed these features and carried out a case study to understand Gradio's usefulness and usability in the setting of a machine learning collaboration between a researcher and a cardiologist.

Subfields: Artificial Intelligence, Information Systems and Management, ML Systems & Hardware, Human-Computer Interaction

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. James Y. Zou
  2. Xinyu Crystina Zhang
  3. Cao Xiao
  4. Kexin Huang
  5. Amirata Ghorbani
  6. Jimeng Sun
  7. Jimmy J. Lin
  8. Abubakar Abid

In Information Systems and Management

  1. Jimmy J. Lin

In ML Systems & Hardware

  1. Aleksandra Piktus
  2. James Y. Zou
  3. Jimmy J. Lin
  4. Cao Xiao
  5. Jimeng Sun
  6. Christopher Akiki
  7. Marinka Zitnik
  8. Xinyu Crystina Zhang

In Human-Computer Interaction

  1. Yacine Jernite

Citations in the corpus