Node.js = Machine Learning
summary
Demonstrates that inference can move off servers: a Chrome extension called Lingo Lens runs image captioning end-to-end in the browser using webDNN and WebAssembly/WebGPU, converting Python/TensorFlow or Torch models into a JSON graph, loading weights, and running two-stage image→feature→text models locally. Notes deployment tradeoffs—infrastructure cost (author cites $24 per day GPU instances), latency, browser support and model size limits—and shows the code paths and message passing that make client-side ML actually work.
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:26Deep Learning can make this possible
- 4:16Challenges with server-side ML
- 6:31Let's try out client-side ML Example: Inage Captioning
- 12:02Architecture overview
- 12:33Convert model
- 13:19Load model into browser and run inference
- 15:21Calling the model from a chrome extension
- 17:35Possibilities for client side ML
- 18:45What's best for your needs? server-side vs client-side ML
related talks
31mNode.js <=> Machine Learning
15mThe future of machine learning using JavaScript
39mMachine Learning Magic for Your JavaScript Application
26mMachine Learning and AI for Angular Developers
20mTensorFlow.js Bringing Machine Learning to the Web and Beyond
34mBuilding Machine Learning-powered Applications with JS
31mIntroduction to Machine Learning in Tensorflow.js
32mUsing Machine Learning Models in JavaScript Application
