{"id":14384315,"url":"https://github.com/huggingface/transformers.js-examples","last_synced_at":"2025-10-14T15:30:03.396Z","repository":{"id":252816108,"uuid":"841397199","full_name":"huggingface/transformers.js-examples","owner":"huggingface","description":"A collection of 🤗 Transformers.js demos and example applications","archived":false,"fork":false,"pushed_at":"2024-12-08T18:09:54.000Z","size":22975,"stargazers_count":563,"open_issues_count":9,"forks_count":55,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-12-17T22:07:39.291Z","etag":null,"topics":["transformers","transformersjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huggingface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-12T10:24:07.000Z","updated_at":"2024-12-17T17:00:00.000Z","dependencies_parsed_at":"2024-10-23T09:09:23.461Z","dependency_job_id":"bf209cb0-2ac5-4003-b443-e2956ab3b48b","html_url":"https://github.com/huggingface/transformers.js-examples","commit_stats":null,"previous_names":["huggingface/transformers.js-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Ftransformers.js-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Ftransformers.js-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Ftransformers.js-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Ftransformers.js-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huggingface","download_url":"https://codeload.github.com/huggingface/transformers.js-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230716463,"owners_count":18269762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["transformers","transformersjs"],"created_at":"2024-08-28T18:01:18.254Z","updated_at":"2025-10-14T15:29:58.356Z","avatar_url":"https://github.com/huggingface.png","language":"JavaScript","readme":"# Transformers.js Examples\n\nA collection of [🤗 Transformers.js](https://huggingface.co/docs/transformers.js) demos and example applications.\n\n| Name                                                    | Description                                                 | Links                                                                           |\n| ------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------- |\n| [Phi-3.5 WebGPU](./phi-3.5-webgpu/)                     | Conversational large language model                         | [Demo](https://huggingface.co/spaces/webml-community/phi-3.5-webgpu)            |\n| [Llama-3.2 WebGPU](./llama-3.2-webgpu/)                 | Conversational small language model                         | [Demo](https://huggingface.co/spaces/webml-community/llama-3.2-webgpu)          |\n| [SmolLM WebGPU](./smollm-webgpu/)                       | Conversational small language model                         | [Demo](https://huggingface.co/spaces/webml-community/smollm-webgpu)             |\n| [Segment Anything WebGPU](./segment-anything-webgpu/)   | WebGPU image segmentation                                   | [Demo](https://huggingface.co/spaces/webml-community/segment-anything-webgpu)   |\n| [Remove Background WebGPU](./remove-background-webgpu/) | WebGPU image background removal                             | [Demo](https://huggingface.co/spaces/webml-community/remove-background-webgpu)  |\n| [PGlite Semantic Search](./pglite-semantic-search/)     | Semantic search                                             | [Demo](https://huggingface.co/spaces/thorwebdev/pglite-semantic-search)         |\n| [Sapiens](./sapiens-node/)                              | Image segmentation, depth, and normal estimation in Node.js | n/a                                                                             |\n| [Bun](./bun/)                                           | Compute text embeddings in [Bun](https://bun.sh/)           | n/a                                                                             |\n| [Deno](./deno-embed/)                                   | Compute text embeddings in [Deno](https://deno.com/)        | n/a                                                                             |\n| [Node.js (ESM)](./node-esm/)                            | Sentiment analysis in Node.js w/ ECMAScript modules         | n/a                                                                             |\n| [Node.js (CJS)](./node-cjs/)                            | Sentiment analysis in Node.js w/ CommonJS                   | n/a                                                                             |\n| [Next.js](./next-server/)                               | Sentiment analysis in Next.js                               | [Demo](https://huggingface.co/spaces/webml-community/next-server-template)      |\n| [SvelteKit](./sveltekit/)                               | Sentiment analysis in SvelteKit                             | [Demo](https://huggingface.co/spaces/webml-community/sveltekit-server-template) |\n\nCheck out the Transformers.js [template](https://huggingface.co/new-space?template=static-templates%2Ftransformers.js) on Hugging Face to get started in one click!\n","funding_links":[],"categories":["🤖 AI \u0026 Machine Learning","JavaScript","其他_机器学习与深度学习"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuggingface%2Ftransformers.js-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuggingface%2Ftransformers.js-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuggingface%2Ftransformers.js-examples/lists"}