[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72820":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":32,"discoverSource":33},72820,"transformers.js-examples","huggingface\u002Ftransformers.js-examples","huggingface","A collection of 🤗 Transformers.js demos and example applications","",null,"JavaScript",2055,243,27,16,0,2,5,18,6,67.46,"Apache License 2.0",false,"main",true,[27,28],"transformers","transformersjs","2026-06-12 04:01:07","# Transformers.js Examples\n\nA collection of [🤗 Transformers.js](https:\u002F\u002Fhuggingface.co\u002Fdocs\u002Ftransformers.js) demos and example applications.\n\n| Name                                                    | Description                                                 | Links                                                                           |\n| ------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------- |\n| [Phi-3.5 WebGPU](.\u002Fphi-3.5-webgpu\u002F)                     | Conversational large language model                         | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fphi-3.5-webgpu)            |\n| [Llama-3.2 WebGPU](.\u002Fllama-3.2-webgpu\u002F)                 | Conversational small language model                         | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fllama-3.2-webgpu)          |\n| [SmolLM WebGPU](.\u002Fsmollm-webgpu\u002F)                       | Conversational small language model                         | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fsmollm-webgpu)             |\n| [Segment Anything WebGPU](.\u002Fsegment-anything-webgpu\u002F)   | WebGPU image segmentation                                   | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fsegment-anything-webgpu)   |\n| [Remove Background WebGPU](.\u002Fremove-background-webgpu\u002F) | WebGPU image background removal                             | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fremove-background-webgpu)  |\n| [PGlite Semantic Search](.\u002Fpglite-semantic-search\u002F)     | Semantic search                                             | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fthorwebdev\u002Fpglite-semantic-search)         |\n| [Sapiens](.\u002Fsapiens-node\u002F)                              | Image segmentation, depth, and normal estimation in Node.js | n\u002Fa                                                                             |\n| [Bun](.\u002Fbun\u002F)                                           | Compute text embeddings in [Bun](https:\u002F\u002Fbun.sh\u002F)           | n\u002Fa                                                                             |\n| [Deno](.\u002Fdeno-embed\u002F)                                   | Compute text embeddings in [Deno](https:\u002F\u002Fdeno.com\u002F)        | n\u002Fa                                                                             |\n| [Node.js (ESM)](.\u002Fnode-esm\u002F)                            | Sentiment analysis in Node.js w\u002F ECMAScript modules         | n\u002Fa                                                                             |\n| [Node.js (CJS)](.\u002Fnode-cjs\u002F)                            | Sentiment analysis in Node.js w\u002F CommonJS                   | n\u002Fa                                                                             |\n| [Next.js](.\u002Fnext-server\u002F)                               | Sentiment analysis in Next.js                               | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fnext-server-template)      |\n| [SvelteKit](.\u002Fsveltekit\u002F)                               | Sentiment analysis in SvelteKit                             | [Demo](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fwebml-community\u002Fsveltekit-server-template) |\n\nCheck out the Transformers.js [template](https:\u002F\u002Fhuggingface.co\u002Fnew-space?template=static-templates%2Ftransformers.js) on Hugging Face to get started in one click!\n","该项目是Hugging Face提供的一个Transformers.js示例集合，旨在展示如何使用这一库在不同场景下构建基于Transformer的模型应用。核心功能包括对话生成、图像分割、背景移除及语义搜索等，并且特别强调了利用WebGPU加速处理能力，以提高模型运行效率。此外，还提供了多种JavaScript环境下的实现案例，如Node.js、Bun和Deno等，便于开发者根据自身需求选择合适的开发平台。这些例子非常适合于需要快速集成自然语言处理或计算机视觉功能的前端项目中使用。","2026-06-11 03:43:44","high_star"]