惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
Recent Announcements
Recent Announcements
Jina AI
Jina AI
G
Google Developers Blog
腾讯CDC
博客园_首页
博客园 - 【当耐特】

Syntax - Tasty Web Development Treats

Diffs, Trees, and VS Code 2.0 - Syntax #1008 8 Tech Choices to Lock In Before Agentmaxxing - Syntax #1007 Can AI Make Good Design? - Syntax #1006 Programatic and Skill based Video Creation with Remotion - Syntax #1005 TanHacked - Syntax #1004 Skills Skills Skills - Syntax #1003 The Real Pricing of LLMs - Syntax #1002 Managing Deadlines + Stress - Syntax #1001 Syntax Episode 1,000! - Syntax #1000 Writing Maintainable CSS - Syntax #999 How to Fix Vibe Coding - Syntax #998 Rating and Roasting Your Projects - Syntax #997 10 New CSS and HTML APIs - Syntax #996 Next.js Vendor Lock-in No More - Syntax #995 AI Sucks At CSS - Syntax #994 It’s Been A Hell Of Week - Syntax #993 Migrating Legacy Code Just Got Easier - Syntax #992 Vite’s bet on Cloudflare (VOID Framework) - Syntax #991 Vite Is Taking Over (Vite+) - Syntax #990 State of JS 2025 - Syntax #989 Cloudflare’s Next.js Slop Fork - Syntax #988 Remote Coding Agents - Syntax #987 Does Code Quality Matter Anymore? - Syntax #986 Stop putting secrets in .env - Syntax #985 How to Make a DOM Library Render Anything w/ Paolo Ricciuti - Syntax #984 Why I Chose Electron Over Native (And I’d Do It Again) - Syntax #983 Bots Are Ruining the Internet - Syntax #982 Browsers Are Finally Catching Up (Interop 2026) - Syntax #981 AI Coding Explained - Syntax #980 WebMCP: New Standard to Expose Your Apps to AI - Syntax #979
Local AI Models in JavaScript - Machine Learning Deep Div...
2024-03-08 · via Syntax - Tasty Web Development Treats
740

March 8th, 2024 × #ai#javascript#webdev#privacy

Wes, the developer of the Transformers.js library from Hugging Face, discusses running hundreds of AI models locally using JavaScript and WebAssembly, with applications in vision, audio, text and more.

Wes Bos

Wes Bos Host

Scott Tolinski

Scott Tolinski Host

Scott and Wes are joined by special guest Xenova to explore local AI models in JavaScript. From Hugging Face to Transformers.js and practical applications like real-time speech recognition and object detection, this episode dives deep into the world of machine learning.

Show Notes

  • 00:00 Welcome to Syntax!
  • 00:41 Brought to you by Sentry.io
  • 01:05 Who is Xenova?
  • 02:08 What is Hugging Face?
  • 03:29 What is Transformers.js?
  • 06:16 How was the library developed?
  • SponsorBlock
  • 09:04 How is it able to run?
  • 10:09 Do they have to run in Python and how does Onnx work?
  • Onnx.ai
  • Hugging Face Optimum
  • 14:19 What are some things you can do with this tech?
  • 16:15 Vision tools.
  • 17:38 This is actually running locally.
  • 18:35 Doodle Dash
  • 21:09 They currently run on CPU, what is required to make it run on GPU?
  • 24:44 Can you run in JavaScript?
  • 28:32 How it works with image vectors.
  • 34:23 Why would people want to run it in another language?
  • 35:55 Resizing images in the browser instead of on the server.
  • 38:55 Applications distributed on the web vs running locally.
  • 43:54 Electron has Node and Chrome, where would you run Transformers.js?
  • 44:32 The API of Transformers.js
  • 46:30 Object Detection.
  • Semantic Image Search Client
  • Real-Time Object Detection
  • Background Removal Tool
  • 48:33 What is the easiest way to get started?
  • 51:26 Real-time speech recognition on the horizon?
  • 52:08 Will we ever be able to run Stable Diffusion via JavaScript?
  • 56:10 The Web LLM.
  • 57:22 Practical applications for YouTube.
  • 59:39 What we want to build for Syntax.fm.
  • 01:06:43 Mean pooling, why it's necessary.
  • 01:09:30 Stopping YouTube spam comments.
  • 01:10:34 K-Means Clustering.
  • Text Clustering
  • 01:13:49 Quantization.
  • 01:17:35 Sick Picks + Shameless Plugs.

Sick Picks

Shameless Plugs

Syntax: X Instagram Tiktok LinkedIn Threads

Wes: X Instagram Tiktok LinkedIn Threads

Scott:X Instagram Tiktok LinkedIn Threads

Randy: X Instagram YouTube Threads