Hacker GitHub

← All repos

huggingface/transformers.js

View on GitHub ↗ ★ 16,397 JavaScript

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

25 mentions on Hacker News by 17 people: 9 stories, 16 comments · first 2023-03-17 · latest 2026-10-26

Mentions per year 25 mentions · busiest year 2023 (10)
20082026
  1. …land transformers last month for in browser structured output as well, also used for tool calling. https://github.com/huggingface/transformers.js/blob/main/pac...
    comment by sroussey · 2026-10-26 · in Fixing Tool-Call Accuracy in vLLM
  2. …awesome examples of running different types of models in webgpu check out the examples folder here. https://github.com/huggingface/transformers.js
  3. …the background inside a Chrome extension before notify me of anything economically significant. [0] https://github.com/huggingface/transformers.js/tree/main/exa... [1] https://github.com/adam-s/doomberg-terminal
  4. …that you can perform them client side. ONNX models can be loaded and executed with transformer.js https://github.com/huggingface/transformers.js/ You can even build and statically host indices like hnsw for embeddings. I put together a…
    comment by jasonjmcghee · 2025-05-12 · in Embeddings are underrated (2024)
  5. …): Postgres wire protocol for the server-side. MIT * transformers.js ( https://github.com/xenova/transformers.js ): Run Transformers directly in your browser
  6. …user mode: https://www.postgresql.org/docs/current/app-postgres.html#AP... [4] transformers.js: https://github.com/xenova/transformers.js [5] pg-gateway: https://github.com/supabase-community/pg-gateway
    comment by kiwicopple · 2024-08-12 · in Postgres.new
  7. …https://github.com/Anush008/fastembed-js Looks like transformers.js supports embeddings in-browser: https://github.com/xenova/transformers.js/releases/tag/2.1.0 https://github.com/pinecone-io/semantic-search-example/blob/... Also it…
  8. …You can follow the progress for full WebGPU support in the v3 development branch ( https://github.com/xenova/transformers.js/pull/545 ). To answer your question, while there are certain ops missing, the main limitation at the moment is for…
  9. …releases adds binary embedding quantization support which I'm really looking forward to trying out: https://github.com/xenova/transformers.js/releases/tag/2.17....
  10. BTW: you might want to add support for typed arrays. See: https://github.com/xenova/transformers.js/blob/8804c36591d11... This is really old, but added as part of the shape of the vector as well: https://github.com/nicolaspanel/numjs/blob/m…
    comment by sroussey · 2024-03-29 · in Deep Learning in JavaScript
  11. …seems to contain only boilerplate and no real support for Mistral models or their weights. [1]: https://github.com/xenova/transformers.js/pull/379 [2]: https://github.com/xenova/transformers.js/releases/tag/2.8.0
  12. Original project: https://github.com/xenova/transformers.js
  13. …Whisper to the web ( https://github.com/xenova/whisper-web ) based on the Transformers.js library ( https://github.com/xenova/transformers.js ). That uses ONNX, and the standard conversion is via Hugging Face Optimum (…
  14. …(which stems from a bug in onnxruntime-web), and we were able to get it working in these cases: 1. https://github.com/xenova/transformers.js/issues/4 2. https://github.com/xenova/transformers.js/issues/19
    comment by xenova · 2023-03-17 · in Transformers.js
  15. …these inaccuracies also occur in the PyTorch models, and so, it's not the library's fault :') [1] https://github.com/xenova/transformers.js [2] https://twitter.com/xenovacom/status/1628895478749315073
    comment by xenova · 2023-03-17 · in Transformers.js
  16. Indeed, I see WebGL commented out here: https://github.com/xenova/transformers.js/blob/main/src/mode... .
    comment by sanxiyn · 2023-03-17 · in Transformers.js