SaaSHub helps you find the best software and product alternatives Learn more →
Top 7 JavaScript Transformer Projects
-
transformers.js
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
-
WebGPT
Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
dalle-playground
A playground to generate images from any text prompt using Stable Diffusion (past: using DALL-E Mini)
-
GPTPortal
A feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, & OpenAI Assistant APIs via a lightweight Node.js web app; supports customizable multimodality for voice, images, & files.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
We have some other WebGPU demos, including:
- WebGPU embedding benchmark: https://huggingface.co/spaces/Xenova/webgpu-embedding-benchm...
- Real-time object detection: https://huggingface.co/spaces/Xenova/webgpu-video-object-det...
- Real-time background removal: https://huggingface.co/spaces/Xenova/webgpu-video-background...
- WebGPU depth estimation: https://huggingface.co/spaces/Xenova/webgpu-depth-anything
- Image background removal: https://huggingface.co/spaces/Xenova/remove-background-webgp...
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 models with decoders... which are not very fast (yet) due to inefficient buffer reuse and many redundant copies between CPU and GPU. We're working closely with the ORT team to fix these issues though!
Built on dalle-playground because it is simple and I like it.
Project mention: Wikipedia search-by-vibes through millions of pages offline | news.ycombinator.com | 2023-09-02https://do-me.github.io/SemanticFinder/
E.g. one idea we had is to save embeddings for a page somewhere (exactly what you did) and load them on page load. Such pre-indexed examples are super fast, see e.g.
https://geo.rocks/semanticfinder/ipcc/
Would love to cooperate on some things and share ideas!
If you’re tech savvy you can clone it from GitHub, instructions are all in the readme; otherwise there are a ton of other interfaces like Poe or freegpt. Link to mine: https://github.com/Zaki-1052/GPTPortal
Project mention: Show HN: GPT-tfjs – GPT model in TensorFlow.js | news.ycombinator.com | 2023-07-28
JavaScript Transformers related posts
-
Transformers.js: Machine Learning for the Web
-
WebGPT: GPT Model on the Browser with WebGPU
-
Deja-Vu your AI✦ Bookmarking Tool
-
Transformers.js releases Zero-shot audio classification support
-
Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks
-
Wikipedia search-by-vibes through millions of pages offline
-
WebGPT: Run GPT model on the browser with WebGPU
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 May 2024
Index
What are some of the best open-source Transformer projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | transformers.js | 7,507 |
2 | WebGPT | 3,509 |
3 | dalle-playground | 2,762 |
4 | transformers-js | 190 |
5 | SemanticFinder | 154 |
6 | GPTPortal | 158 |
7 | gpt-tfjs | 21 |
Sponsored