Gradio:在野外轻松共享和测试ML模型
Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild
摘要:
可访问性是机器学习(ML)的一个主要挑战。典型的ML模型由专家构建,需要专门的硬件/软件以及ML经验来验证。这使得非技术合作者和终端用户(例如医生)很难轻松地提供模型开发的反馈并获得对ML的信任。可访问性挑战也使协作变得更加困难,并限制了ML研究人员接触真实数据和野外场景。为了提高可访问性并促进协作,我们开发了一个开源Python包Gradio,它允许研究人员快速为其ML模型生成可视化界面。Gradio使访问任何ML模型像共享URL一样简单。我们对Gradio的开发是通过采访一些参与跨学科合作的机器学习研究人员来了解的。他们的反馈表明,Gradio应该支持各种接口和框架,允许轻松共享接口,允许领域专家进行输入操作和交互式推理,并允许将接口嵌入iPython笔记本中。我们开发了这些功能,并进行了案例研究,以了解Gradio在研究人员和心脏病专家之间的机器学习合作环境中的有用性和可用性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。