I lead the Gradio team at Hugging Face. Gradio is an open-source Python library for building web apps and demos around machine learning models. I started it during my PhD to make it easy to share machine learning models with people who don’t write code. We turned it into a company, and Hugging Face acquired Gradio at the end of 2021.
I also founded the Fatima Institute for Global AI Research, which grew out of the Fatima Fellowship, a program that pairs computer science students from around the world with researchers to help them prepare for PhD programs.
Research
I did my PhD at Stanford with Professor James Zou. I developed machine learning methods for medicine and biology, such as contrastive PCA, and studied how models fail, from fragile interpretations of neural networks to persistent anti-Muslim bias in large language models. You can find my work on the papers page.
My Story
I was born in 1993 in Karachi, Pakistan, but moved to the United States when I was 1 year old. I lived in the Midwest for several years, then moved to Little Rock, Arkansas, and then to Atlanta, Georgia, where I went to Walton High School. I went to MIT for my undergrad, where I majored in electrical engineering and computer science (6-2, B.S. ’15). During my undergraduate years, I did research with Professor Joel Voldman on neural probes, and with Professors Thomas Heldt and George Verghese, where I developed a new way to assess lung function using capnography. After that, I worked on my master’s degree, with Professor Robert Langer and Dr. Giovanni Traverso to build wireless communication and powering systems for ingestible electronics. After MIT, I moved to Stanford for my PhD, supported by a Paul and Daisy Soros Fellowship.
Contact me
The easiest way to reach me is on X/Twitter. My code is on GitHub.
> "If you see something wrong, fix it with your hands. If you can’t do that, then speak out to correct it. If you can’t do that, then know in your heart that it is wrong – but that is the very minimum of faith." – Muhammad (ﷺ)