JavaScript Transformers

Open-source JavaScript projects categorized as Transformers

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!

  • Project mention: Transformers.js: Machine Learning for the Web | news.ycombinator.com | 2024-04-11

    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!

  • WebGPT

    Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.

  • Project mention: WebGPT: GPT Model on the Browser with WebGPU | news.ycombinator.com | 2024-04-01
  • 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.

    SurveyJS logo
  • dalle-playground

    A playground to generate images from any text prompt using Stable Diffusion (past: using DALL-E Mini)

  • Project mention: Discord bot with a locally-hosted SD backend. | /r/StableDiffusion | 2023-05-17

    Built on dalle-playground because it is simple and I like it.

  • transformers-js

    Browser-compatible JS library for running language models

  • SemanticFinder

    SemanticFinder - frontend-only live semantic search with transformers.js

  • Project mention: Wikipedia search-by-vibes through millions of pages offline | news.ycombinator.com | 2023-09-02

    https://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!

  • 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.

  • Project mention: I am so close to cancelling my pro subscription. | /r/ChatGPT | 2023-12-09

    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

  • gpt-tfjs

    GPT in TensorFlow.js

  • Project mention: Show HN: GPT-tfjs – GPT model in TensorFlow.js | news.ycombinator.com | 2023-07-28
  • 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Transformers related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com