├── .env ├── .env.example ├── .gitignore ├── .prettierrc.mjs ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── assets ├── icon.png └── icon128x128.png ├── components.json ├── components ├── AudioRecorder.tsx ├── ChangeModelForm.tsx ├── Chat.tsx ├── ChatCopyButton.tsx ├── ChatDownloadButton.tsx ├── ChatExamples.tsx ├── ChatHeader.tsx ├── ChatMessages.tsx ├── ChatProgress.tsx ├── GenerationConfigForm.tsx ├── ModelRegistryForm.tsx └── ui │ ├── accordion.tsx │ ├── alert.tsx │ ├── badge.tsx │ ├── breadcrumb.tsx │ ├── button.tsx │ ├── card.tsx │ ├── context-menu.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── label.tsx │ ├── radio-group.tsx │ ├── scroll-area.tsx │ ├── separator.tsx │ ├── sheet.tsx │ ├── sidebar.tsx │ ├── skeleton.tsx │ ├── switch.tsx │ ├── table.tsx │ ├── textarea.tsx │ └── tooltip.tsx ├── docs ├── example-image-caption.jpg ├── example-image-generation.jpg ├── example-reasoning.jpg ├── example-speech-to-text.jpg ├── example-summarize.jpg ├── example-write-code.jpg ├── inspect-views.jpg ├── local-storage.jpg └── task-manager.jpg ├── genai ├── default-config.ts ├── model-list.ts ├── model-registry.ts ├── pipeline │ ├── multimodal-llm.ts │ ├── speech-to-text.ts │ ├── text-generation.ts │ └── text-to-speech.ts ├── stopping-criteria.ts └── whisper-text-streamer.ts ├── hooks └── use-mobile.tsx ├── lib ├── AudioUtils.ts ├── BlobFix.ts ├── formatter.ts └── utils.ts ├── output └── chtml │ └── fonts │ └── woff-v2 │ ├── MathJax_Main-Regular.woff │ ├── MathJax_Math-Italic.woff │ └── MathJax_Zero.woff ├── package.json ├── pnpm-lock.yaml ├── postbuild └── sed.js ├── postcss.config.js ├── postinstall └── run.sh ├── src ├── background.ts ├── index.css ├── popup.tsx ├── sidepanel.tsx ├── thirdparty │ └── mathjax │ │ └── 3.2.2 │ │ └── es5 │ │ └── tex-mml-chtml.js └── types.ts ├── static └── ilya_sutskever_sequence_to_sequence_learning_with_neural_networks_at_neurips_2024.mp3 ├── tailwind.config.js └── tsconfig.json /.env: -------------------------------------------------------------------------------- 1 | POST_BUILD_SCRIPT=postbuild/sed.js -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | POST_BUILD_SCRIPT=postbuild/sed.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/.prettierrc.mjs -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/README.md -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/assets/icon.png -------------------------------------------------------------------------------- /assets/icon128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/assets/icon128x128.png -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components.json -------------------------------------------------------------------------------- /components/AudioRecorder.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/AudioRecorder.tsx -------------------------------------------------------------------------------- /components/ChangeModelForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChangeModelForm.tsx -------------------------------------------------------------------------------- /components/Chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/Chat.tsx -------------------------------------------------------------------------------- /components/ChatCopyButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatCopyButton.tsx -------------------------------------------------------------------------------- /components/ChatDownloadButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatDownloadButton.tsx -------------------------------------------------------------------------------- /components/ChatExamples.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatExamples.tsx -------------------------------------------------------------------------------- /components/ChatHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatHeader.tsx -------------------------------------------------------------------------------- /components/ChatMessages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatMessages.tsx -------------------------------------------------------------------------------- /components/ChatProgress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ChatProgress.tsx -------------------------------------------------------------------------------- /components/GenerationConfigForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/GenerationConfigForm.tsx -------------------------------------------------------------------------------- /components/ModelRegistryForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ModelRegistryForm.tsx -------------------------------------------------------------------------------- /components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/accordion.tsx -------------------------------------------------------------------------------- /components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/alert.tsx -------------------------------------------------------------------------------- /components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/badge.tsx -------------------------------------------------------------------------------- /components/ui/breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/breadcrumb.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/context-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/context-menu.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/sheet.tsx -------------------------------------------------------------------------------- /components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/switch.tsx -------------------------------------------------------------------------------- /components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/table.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /docs/example-image-caption.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-image-caption.jpg -------------------------------------------------------------------------------- /docs/example-image-generation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-image-generation.jpg -------------------------------------------------------------------------------- /docs/example-reasoning.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-reasoning.jpg -------------------------------------------------------------------------------- /docs/example-speech-to-text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-speech-to-text.jpg -------------------------------------------------------------------------------- /docs/example-summarize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-summarize.jpg -------------------------------------------------------------------------------- /docs/example-write-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/example-write-code.jpg -------------------------------------------------------------------------------- /docs/inspect-views.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/inspect-views.jpg -------------------------------------------------------------------------------- /docs/local-storage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/local-storage.jpg -------------------------------------------------------------------------------- /docs/task-manager.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/docs/task-manager.jpg -------------------------------------------------------------------------------- /genai/default-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/default-config.ts -------------------------------------------------------------------------------- /genai/model-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/model-list.ts -------------------------------------------------------------------------------- /genai/model-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/model-registry.ts -------------------------------------------------------------------------------- /genai/pipeline/multimodal-llm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/pipeline/multimodal-llm.ts -------------------------------------------------------------------------------- /genai/pipeline/speech-to-text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/pipeline/speech-to-text.ts -------------------------------------------------------------------------------- /genai/pipeline/text-generation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/pipeline/text-generation.ts -------------------------------------------------------------------------------- /genai/pipeline/text-to-speech.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/pipeline/text-to-speech.ts -------------------------------------------------------------------------------- /genai/stopping-criteria.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/stopping-criteria.ts -------------------------------------------------------------------------------- /genai/whisper-text-streamer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/genai/whisper-text-streamer.ts -------------------------------------------------------------------------------- /hooks/use-mobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/hooks/use-mobile.tsx -------------------------------------------------------------------------------- /lib/AudioUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/lib/AudioUtils.ts -------------------------------------------------------------------------------- /lib/BlobFix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/lib/BlobFix.ts -------------------------------------------------------------------------------- /lib/formatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/lib/formatter.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff -------------------------------------------------------------------------------- /output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff -------------------------------------------------------------------------------- /output/chtml/fonts/woff-v2/MathJax_Zero.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/output/chtml/fonts/woff-v2/MathJax_Zero.woff -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postbuild/sed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/postbuild/sed.js -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/postcss.config.js -------------------------------------------------------------------------------- /postinstall/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/postinstall/run.sh -------------------------------------------------------------------------------- /src/background.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/background.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/index.css -------------------------------------------------------------------------------- /src/popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/popup.tsx -------------------------------------------------------------------------------- /src/sidepanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/sidepanel.tsx -------------------------------------------------------------------------------- /src/thirdparty/mathjax/3.2.2/es5/tex-mml-chtml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/thirdparty/mathjax/3.2.2/es5/tex-mml-chtml.js -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/src/types.ts -------------------------------------------------------------------------------- /static/ilya_sutskever_sequence_to_sequence_learning_with_neural_networks_at_neurips_2024.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/static/ilya_sutskever_sequence_to_sequence_learning_with_neural_networks_at_neurips_2024.mp3 -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tantara/transformers.js-chrome/HEAD/tsconfig.json --------------------------------------------------------------------------------