Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
46.2
TFLOPS
2
2
Shubin wang
shub1
Follow
0 followers
ยท
1 following
Shubin123
AI & ML interests
None yet
Recent Activity
replied
to
Xenova
's
post
1 day ago
Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter text-to-speech model, 100% locally in the browser w/ WASM. Powered by ๐ค Transformers.js. WebGPU support coming soon! ๐ npm i kokoro-js ๐ Try it out yourself: https://huggingface.co/spaces/webml-community/kokoro-web Link to models/samples: https://huggingface.co/onnx-community/Kokoro-82M-ONNX You can get started in just a few lines of code! ```js import { KokoroTTS } from "kokoro-js"; const tts = await KokoroTTS.from_pretrained( "onnx-community/Kokoro-82M-ONNX", { dtype: "q8" }, // fp32, fp16, q8, q4, q4f16 ); const text = "Life is like a box of chocolates. You never know what you're gonna get."; const audio = await tts.generate(text, { voice: "af_sky" }, // See `tts.list_voices()` ); audio.save("audio.wav"); ``` Huge kudos to the Kokoro TTS community, especially taylorchu for the ONNX exports and Hexgrad for the amazing project! None of this would be possible without you all! ๐ค The model is also extremely resilient to quantization. The smallest variant is only 86 MB in size (down from the original 326 MB), with no noticeable difference in audio quality! ๐คฏ
reacted
to
Xenova
's
post
with ๐ค
1 day ago
Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter text-to-speech model, 100% locally in the browser w/ WASM. Powered by ๐ค Transformers.js. WebGPU support coming soon! ๐ npm i kokoro-js ๐ Try it out yourself: https://huggingface.co/spaces/webml-community/kokoro-web Link to models/samples: https://huggingface.co/onnx-community/Kokoro-82M-ONNX You can get started in just a few lines of code! ```js import { KokoroTTS } from "kokoro-js"; const tts = await KokoroTTS.from_pretrained( "onnx-community/Kokoro-82M-ONNX", { dtype: "q8" }, // fp32, fp16, q8, q4, q4f16 ); const text = "Life is like a box of chocolates. You never know what you're gonna get."; const audio = await tts.generate(text, { voice: "af_sky" }, // See `tts.list_voices()` ); audio.save("audio.wav"); ``` Huge kudos to the Kokoro TTS community, especially taylorchu for the ONNX exports and Hexgrad for the amazing project! None of this would be possible without you all! ๐ค The model is also extremely resilient to quantization. The smallest variant is only 86 MB in size (down from the original 326 MB), with no noticeable difference in audio quality! ๐คฏ
reacted
to
Xenova
's
post
with ๐ฅ
1 day ago
Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter text-to-speech model, 100% locally in the browser w/ WASM. Powered by ๐ค Transformers.js. WebGPU support coming soon! ๐ npm i kokoro-js ๐ Try it out yourself: https://huggingface.co/spaces/webml-community/kokoro-web Link to models/samples: https://huggingface.co/onnx-community/Kokoro-82M-ONNX You can get started in just a few lines of code! ```js import { KokoroTTS } from "kokoro-js"; const tts = await KokoroTTS.from_pretrained( "onnx-community/Kokoro-82M-ONNX", { dtype: "q8" }, // fp32, fp16, q8, q4, q4f16 ); const text = "Life is like a box of chocolates. You never know what you're gonna get."; const audio = await tts.generate(text, { voice: "af_sky" }, // See `tts.list_voices()` ); audio.save("audio.wav"); ``` Huge kudos to the Kokoro TTS community, especially taylorchu for the ONNX exports and Hexgrad for the amazing project! None of this would be possible without you all! ๐ค The model is also extremely resilient to quantization. The smallest variant is only 86 MB in size (down from the original 326 MB), with no noticeable difference in audio quality! ๐คฏ
View all activity
Organizations
None yet
shub1
's activity
All
Models
Datasets
Spaces
Papers
Collections
Community
Posts
Upvotes
Likes
liked
a model
9 days ago
hexgrad/Kokoro-82M
Text-to-Speech
โข
Updated
about 4 hours ago
โข
20.6k
โข
1.88k
liked
a Space
5 months ago
Running
on
L4
894
๐ฎ
Stable Fast 3D