{"id":24015931,"url":"https://github.com/lostbeard/spawndev.blazorjs.transformersjs","last_synced_at":"2026-04-09T08:17:52.174Z","repository":{"id":271033135,"uuid":"912213098","full_name":"LostBeard/SpawnDev.BlazorJS.TransformersJS","owner":"LostBeard","description":"Use Transformers.js from Blazor WebAssembly to run pretrained models with the ONNX Runtime in the browser.","archived":false,"fork":false,"pushed_at":"2025-02-07T17:06:27.000Z","size":48192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T03:33:36.080Z","etag":null,"topics":["blazor","blazor-webassembly","browser","deep-learning","depth-estimation","huggingface","huggingface-transformers","javascript","machine-learning","neural-networks","onnx","pretrained-models","tensorflow","text-to-speech","transformers"],"latest_commit_sha":null,"homepage":"https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LostBeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2025-01-04T23:26:46.000Z","updated_at":"2025-02-07T17:06:30.000Z","dependencies_parsed_at":"2025-01-04T23:45:56.148Z","dependency_job_id":"c47f44de-867e-459f-8e64-4c2017ad592a","html_url":"https://github.com/LostBeard/SpawnDev.BlazorJS.TransformersJS","commit_stats":null,"previous_names":["lostbeard/spawndev.blazorjs.transformersjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostBeard%2FSpawnDev.BlazorJS.TransformersJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostBeard%2FSpawnDev.BlazorJS.TransformersJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostBeard%2FSpawnDev.BlazorJS.TransformersJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostBeard%2FSpawnDev.BlazorJS.TransformersJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LostBeard","download_url":"https://codeload.github.com/LostBeard/SpawnDev.BlazorJS.TransformersJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240729833,"owners_count":19848232,"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":["blazor","blazor-webassembly","browser","deep-learning","depth-estimation","huggingface","huggingface-transformers","javascript","machine-learning","neural-networks","onnx","pretrained-models","tensorflow","text-to-speech","transformers"],"created_at":"2025-01-08T08:23:11.276Z","updated_at":"2026-04-09T08:17:52.169Z","avatar_url":"https://github.com/LostBeard.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# SpawnDev.BlazorJS.TransformersJS\n[![NuGet](https://img.shields.io/nuget/dt/SpawnDev.BlazorJS.TransformersJS.svg?label=SpawnDev.BlazorJS.TransformersJS)](https://www.nuget.org/packages/SpawnDev.BlazorJS.TransformersJS) \n\n## State-of-the-art Machine Learning for the Web in Blazor WebAssembly\n`SpawnDev.BlazorJS.TrasnformersJS` brings the awesome [Transformers.js](https://github.com/huggingface/transformers.js/) library from [Hugging Face]() to Blazor WebAssembly.\n\nTransformers.js is designed to be functionally equivalent to Hugging Face’s transformers python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as:\n\n- 📝 Natural Language Processing: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation.  \n- 🖼️ Computer Vision: image classification, object detection, segmentation, and depth estimation.  \n- 🗣️ Audio: automatic speech recognition, audio classification, and text-to-speech.  \n- 🐙 Multimodal: embeddings, zero-shot audio classification, zero-shot image classification, and zero-shot object detection.  \n\nTransformers.js uses ONNX Runtime to run models in the browser. The best part about it, is that you can easily convert your pretrained PyTorch, TensorFlow, or JAX models to ONNX using 🤗 Optimum.\n\n### Demo\nThe current demo app uses Transformers.js, Blazor, and WebGL.\n\n**NOTE: The models used can be large. A fast connection is recommended.**  \n\n- [Live Demo](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS)  \n- [2D to 2D+Z](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS)  \n- [2D to Anaglyph](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/AnaglyphImageDemo)  \n- [Image Enhancement](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/ImageToImage)\n- [Text To Speech](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/TextToSpeechClient)  \n- [Keypoint Detection](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/KeypointDetectionDemo)  \n- [Realtime 2D to 2DZ](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/RealTime2DZ)  \n- [Webcam 2D to 3D](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/RealTime2Dto3D)  \n- [Video 2D to 3D](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/RealTimeVideo2Dto3D)\n- [Speech Recognition](https://lostbeard.github.io/SpawnDev.BlazorJS.TransformersJS/SpeechRecognition)\n\n#### WIP\nIf you are interested in this project, please start an issue to suggest features or areas of interest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostbeard%2Fspawndev.blazorjs.transformersjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostbeard%2Fspawndev.blazorjs.transformersjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostbeard%2Fspawndev.blazorjs.transformersjs/lists"}