I wrote a javascript library that lets you run modern transformer neural networks from Hugging Face in the browser. It works on mobile browsers, desktop browsers, pretty much everywhere.<p>This is a little translation web app that is able to go from English to French, German, and Romanian.<p>When you run it the first time, it will take some time to download the neural network. After that, the browser can cache it and subsequent reloads will be faster.<p>It’s hosted on Azure Static Web Apps to demonstrate that no logic is running on the server. The server merely provides the neural network data to be downloaded and run on the browser. Pretty cool, huh?