https://github.com/huggingface/transformers.js-examples
A collection of 🤗 Transformers.js demos and example applications
https://github.com/huggingface/transformers.js-examples
transformers transformersjs
Last synced: 2 months ago
JSON representation
A collection of 🤗 Transformers.js demos and example applications
- Host: GitHub
- URL: https://github.com/huggingface/transformers.js-examples
- Owner: huggingface
- License: apache-2.0
- Created: 2024-08-12T10:24:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-08T18:09:54.000Z (about 1 year ago)
- Last Synced: 2024-12-17T22:07:39.291Z (about 1 year ago)
- Topics: transformers, transformersjs
- Language: JavaScript
- Homepage:
- Size: 21.9 MB
- Stars: 563
- Watchers: 10
- Forks: 55
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - huggingface/transformers.js-examples - A collection of 🤗 Transformers.js demos and example applications (JavaScript)
- StarryDivineSky - huggingface/transformers.js-examples - 3.5、Llama-3.2、SmolLM等对话模型,以及图像分割、背景移除等应用,还提供了Node.js、Bun、Deno等环境下的文本嵌入和情感分析示例,同时支持Next.js和SvelteKit框架。 (其他_机器学习与深度学习)
README
# Transformers.js Examples
A collection of [🤗 Transformers.js](https://huggingface.co/docs/transformers.js) demos and example applications.
| Name | Description | Links |
| ------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [Phi-3.5 WebGPU](./phi-3.5-webgpu/) | Conversational large language model | [Demo](https://huggingface.co/spaces/webml-community/phi-3.5-webgpu) |
| [Llama-3.2 WebGPU](./llama-3.2-webgpu/) | Conversational small language model | [Demo](https://huggingface.co/spaces/webml-community/llama-3.2-webgpu) |
| [SmolLM WebGPU](./smollm-webgpu/) | Conversational small language model | [Demo](https://huggingface.co/spaces/webml-community/smollm-webgpu) |
| [Segment Anything WebGPU](./segment-anything-webgpu/) | WebGPU image segmentation | [Demo](https://huggingface.co/spaces/webml-community/segment-anything-webgpu) |
| [Remove Background WebGPU](./remove-background-webgpu/) | WebGPU image background removal | [Demo](https://huggingface.co/spaces/webml-community/remove-background-webgpu) |
| [PGlite Semantic Search](./pglite-semantic-search/) | Semantic search | [Demo](https://huggingface.co/spaces/thorwebdev/pglite-semantic-search) |
| [Sapiens](./sapiens-node/) | Image segmentation, depth, and normal estimation in Node.js | n/a |
| [Bun](./bun/) | Compute text embeddings in [Bun](https://bun.sh/) | n/a |
| [Deno](./deno-embed/) | Compute text embeddings in [Deno](https://deno.com/) | n/a |
| [Node.js (ESM)](./node-esm/) | Sentiment analysis in Node.js w/ ECMAScript modules | n/a |
| [Node.js (CJS)](./node-cjs/) | Sentiment analysis in Node.js w/ CommonJS | n/a |
| [Next.js](./next-server/) | Sentiment analysis in Next.js | [Demo](https://huggingface.co/spaces/webml-community/next-server-template) |
| [SvelteKit](./sveltekit/) | Sentiment analysis in SvelteKit | [Demo](https://huggingface.co/spaces/webml-community/sveltekit-server-template) |
Check out the Transformers.js [template](https://huggingface.co/new-space?template=static-templates%2Ftransformers.js) on Hugging Face to get started in one click!