Link: From PyTorch to Browser: Creating a Web-Friendly AI Model I loved this post from Andre about running sentiment analysis in the browser using a model that he'd trained on embeddings generated from a YouTube comments data was great and shows that you don't have to run everything through the full language model and instead can use just the embedding APIs to get a decent result. The client side part of the code can be seen below: