HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mozilla
DeepSpeech
C++2017–2026
mozilla / DeepSpeech · Archived

DeepSpeech

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.

69Distinct people
79Mentions
0Explicit recommenders
26.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.

GitHub

Where it is used

The last source check was inconclusive. This does not establish whether a product uses it.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 1:03:20 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year79 dated mentions

Observed mentions: 2017-03-11 19:44:59 UTC to 2026-10-02 16:14:38 UTC.

051015202017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 19 mentions; 4 submissions, 15 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 11 mentions; 1 submissions, 10 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 16 mentions; 0 submissions, 16 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 14 mentions; 2 submissions, 12 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC19415
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC11110
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC16016
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC14212
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC808
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC404
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC404
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC110
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

16 sources
It's using letters, not words, so in theory anything that can be spelled in English can be output: https://2r4s9p1yi1fa2jd7j43zph8r-wpengine.netdna-ssl.com/fil... Or, if you prefer the code: https://github.com/mozilla/DeepSpeech/blob/0427c1572ac8f7253... (well, I suppose technically it's in https://github.com/mozilla/DeepSpeech/blob/master/data/alpha... through https://github.com/mozilla/DeepSpeech/blob/master/util/text...., but I mean come on) In practice ... meh. It gets some things predictably wrong. They're readable, just wrong. So the good news is that WER is words it has 100% correct. The remaining errors aren't usually totally unreadable, just irritating, going from "totext" instead of "to text", but of course names go pretty wrong and don't get better. It butchers my name, of course. If you test it yourself, please do realize it r
Read the rest
eally doesn't deal very well with accents.
In DeepSpeech 0.6
There's a basic example here transcribing from an audio file: https://github.com/mozilla/DeepSpeech/tree/v0.6.0/#project-d... There are also examples transcribing from the microphone as I mentioned above: https://github.com/mozilla/DeepSpeech/tree/master/examples/ I also have a small GUI example here [0], click once to start recording, once again to stop and show transcript. It receives the same command line arguments as the ones shown in the README link above (namely --model, --lm and --trie). The README starts with a very basic installation and usage guide, I don't see how that's assuming any expertise. [0] https://github.com/reuben/ds-qttest
In DeepSpeech 0.6
> 1. I want to teach it ten words. How do I do this? I'm assuming you mean "my target vocabulary is only ten words". In that case, you have a couple of options: 1. Just use it as is and see how it does. 2. Create a language model containing just those 10 words so that the engine is constrained to that vocabulary, which should improve accuracy. 3. Train a (smaller) model from scratch, which requires (audio, transcript) pairs. This is basically research work, there's no recipe you can just follow. The advantage is that if you can make it work, it can be a much smaller model than a model trained for general English dictation. > 2. I want to speak into my microphone (available as a Pulseaudio device) and recognise the words and output the words as a text stream on stdout. How do I do this? We have a few examples with microphone input, but th
Read the rest
ey're all based on voice activity detection: https://github.com/mozilla/DeepSpeech/tree/master/examples I should write an example that is just continuous streaming and output without any voice activity detection. I'd be happy to discuss further on Discourse: https://discourse.mozilla.org/c/deep-speech
In DeepSpeech 0.6
In the post I mention a Brazilian company who's using DeepSpeech for vocabulary constrained, medical applications. They've trained their own Brazilian Portuguese models. The English acoustic model that we released does not have a fixed vocabulary. What determines the vocabulary is the language model, which can be created from text. So if you have in-domain text, and would like to try it out, I would say the first step is to create a language model using your text and then experiment with it. We have some documentation on how to create the LM here: https://github.com/mozilla/DeepSpeech/tree/v0.6.0/data/lm It's not super detailed, but I'd be happy to answer questions on our Discourse: https://discourse.mozilla.org/c/deep-speech
In DeepSpeech 0.6
I really appreciated this article as it presents the kinds of challenges that all sorts of people can find them with unexpectedly, and shows how perseverance and the help of technology can be a way round them. More specifically I was interested to see that the version of Dragon for scripting isn't available any longer. However this might be something where Mozilla's recent efforts with speech recognition could help and as a bonus the project is open-source and adaptable. https://github.com/mozilla/DeepSpeech The WER they've achieved is already good for general recognition and through experimenting with narrowed domains / language models it can be made extremely accurate. For anyone interested, there's a walkthrough I did of steps needed to set up a narrow domain LM on their forum below with a video showing it working. I'm guessing that a
Read the rest
programming scenario would be somewhere in between: it would be a fairly defined range of words but that list would be quite a bit broader than the example I show. https://discourse.mozilla.org/t/tune-moziiladeepspeech-to-re...
In What Does a Coder Do If They Can't Type?
I dunno, but here's a way to visual voicemail your own mail (this is how I have been doing it since 2015): 1. sign up with a voip provider that either terminates on your own pbx (e.g. asterisk/freepbx) or provides voicemail with emailed audio files. setup said service with voicemail. 2. setup your favorite container system and let systemd manage the service 3. create a container that watches for new audio voicemails , when it finds a new voicemail push it to your favorite cloud provider (s3, gcp bucket, azure etc) then trigger that providers speech-to-text function on the audio file in the related cloud storage. store the resulting text message and metadata in a db. 4. create another container that simply watches that db for new messages and push out alerts however you see fit. you have many paths here. i went with a web-based ui that p
Read the rest
ulled the data ala google voice. 3 years ago mozilla dropped deepspeech which changed everything - https://github.com/mozilla/DeepSpeech i have since replaced step 3 with my own deepspeech server. none of my data goes to any of the major privacy violators with this setup.
In The Fully Remote Attack Surface of the iPhone
What's your metric? And are these offline assistants smartphone apps? NLP is expensive computing, so it'd make sense for those to do poorly. And this doesn't even have to strictly be offline; You can have your data processed online in a privacy-respecting way, so long as you actually know what's going on under the hood and have control over the data. My shill is MyCroft[0]. They're partnered with Mozilla to develop an open source NLP engine[1], so I have high hopes for it. [0] https://mycroft.ai/ [1] https://github.com/mozilla/DeepSpeech
In Is Anyone Listening to You on Alexa? A Global Team Reviews Audio

Showing the 15 most recent of 16 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.