<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Research on jwhogg</title><link>https://jwhogg.github.io/tags/research/</link><description>Recent content in Research on jwhogg</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 18 Jun 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://jwhogg.github.io/tags/research/index.xml" rel="self" type="application/rss+xml"/><item><title>Edge AI: ML inference in the browser</title><link>https://jwhogg.github.io/articles/ml_inference_browser/</link><pubDate>Tue, 18 Jun 2024 00:00:00 +0000</pubDate><guid>https://jwhogg.github.io/articles/ml_inference_browser/</guid><description>&lt;p&gt;Recently, I stumbled across a &lt;a href="https://whisper.ggerganov.com/"&gt;guy who ported&lt;/a&gt; OpenAI&amp;rsquo;s &lt;a href="https://github.com/openai/whisper"&gt;Whisper&lt;/a&gt; model into c++, in various sizes, allowing the model to be run on-device, at impressive speed.&lt;/p&gt;
&lt;!-- &lt;span class="text-gray-500 text-sm"&gt;
 [(source)](https://github.com/ggerganov/whisper.cpp) 
&lt;/span&gt;
 --&gt;
&lt;!-- ![whisper running on iphone](/images/whisper_iphone.gif#smaller) --&gt;
&lt;p&gt;I went down a rabbit-hole, and found a whole family of popular models that had been ported to work on-device, from the browser:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://websd.mlc.ai/#text-to-image-generation-demo"&gt;Stable difusion running in browser&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/jobergum/browser-ml-inference?tab=readme-ov-file"&gt;Text emotion prediction in browser&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/ggerganov/llama.cpp"&gt;Llama c++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webllm.mlc.ai/"&gt;Web LLM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://hyuto.github.io/yolov5-onnxruntime-web/"&gt;YOLO in the browser&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;figure&gt;
 &lt;img
 src="https://jwhogg.github.io/images/yolo_browser.webp#smaller"
 alt="yolo in the browser"
 loading="lazy"
 
 /&gt;
 &lt;figcaption&gt;yolo in the browser&lt;/figcaption&gt;
 &lt;/figure&gt;
&lt;/p&gt;</description></item></channel></rss>