402 points · by thunderbong · 4y ago · 123 comments
At the moment the whole core is being rewritten, many new features are coming up. Please do know that the main strength of Leon is about the core and not the skills yet. Once the official release shipped, with the community we will all focus on building new skills by extending from the core and let Leon makes meaningful things. Among the upcoming things, new offline STT/TTS solutions will take place.
It's going to take some time to build a respectable personal assistant that respects our privacy, but we are getting there.
If you have any question or just wanna chat, feel free to join us on Discord.
For this reason (and their failed Kickstarter) I've never really been into Mycroft. After all it's kinda the same as Alexa/Siri just a slightly more trustworthy party when they say they're not using your data.
I'm just not interested in alternatives until they can run fully locally (not necessarily on device, on a local server or docker is fine)
If this Leon does what it says on the tin it might be just the thing for me.
It allows you to use the Google text to speech API for more natural voices, which is a cloud product.
It is a yaml config to use on device tts instead.
Install is flashing an sd card.
I was asking about self hosting on their forum and they were like "just use our hosted service, you can trust us". That's not different enough from Apple/Amazon/Google/Microsoft so I dropped it.
But like I said this was a few years ago. Never looked again since.
People with limited or no use of hands may use voice assistants, as may people with limited or no sight
rhasspy comes to mind, but i believe Mycroft can be self-hosted too.
We'll see if he gets anywhere...
It is self hosted, offline by default, with options to use various ASR and TTS engines, some online, depending on your own privacy, performance or quality choices. It's quite mature and the maintainers are aiming for a 1 0.0 version release. I have been running it as the primary voice interface to my home automation system for years.
As someone else said elsewhere, there are a few assistants around now. Perhaps there is some benefit for sharing of resources too, as all struggle for contributors.
I would also like to use Alexa to control my doors (garage, house, etc.) but making that available to world doesn't sit right with me. But with Leon I don't have to worry about someone hacking my Alexa account, or even sharing my credentials with a 3rd party "skill".
https://news.ycombinator.com/item?id=25718392
Nice to see all the other efforts. There are a decent bunch now. Go, as they say, team :)
I see you mention weather in the README under Services, but it is not listed as a current service module. Is that something you need help with?
https://github.com/iamsrp/dexter/blob/master/service/weather.py
Feel free to hack on it, if you're still game.I never quite got around to doing a weather module but, if you fancy trying to put one together, it should not be too hard by cargo-culting from the other services. If things are confusing then open a problem request and I will look to make them less so.
Seems like everything is being described as that or a "second brain" these days.
Awesome job!
"You are in control of your data. Leon lives on your server"
Speech-to-Text: Google Cloud, IBM Watson, Coqui STT, Alibaba Cloud (coming soon), Microsoft Azure (coming soon)
So the AI assistant lives on my server, but if I want to have good quality speech recognition, everything I say is sent through a US cloud service. The only offline option, Coqui has a 7.5% word error rate [1] on LibriSpeech test clean, which is worse than Mozilla Deepspeech 2 from 2016 [2]. State of the art would be around 1.4% [3], meaning 81% less errors than Coqui.
[1] https://coqui.ai/blog/stt/deepspeech-0-6-speech-to-text-engi... [2] https://paperswithcode.com/paper/deep-speech-2-end-to-end-sp... [3] https://paperswithcode.com/paper/pushing-the-limits-of-semi-...
https://github.com/alphacep/vosk-api
Still, I've found that the Big players have much better recognition models, and the post-processing that I assume they do (grammatical, maybe syntactical inferences that improve the end result) are probably much more powerful too.
https://trello.com/c/lEZG0VYS/259-%E2%9C%A8-100-implement-ne... and https://trello.com/c/nxEstkvo/260-%E2%9C%A8-100-implement-ne...
My napkin calculation is that you need about $100k for each attempt at training a Conformer-Transducer. There's a pre-trained NVIDIA model but it appears to have a bad choice of hyperparameters and performance is much worse than what one would expect based on research literature and I believe you're not allowed to execute it on non-NVIDIA hardware.
A skilled team will maybe need 5-10 attempts for discovering a good set of hyperparameters. So the price to create the AI model will likely be around $1 mio. But if you have such large expenses, you have to plan things as a business venture. And that means an open source release is highly unlikely.
(unless, of course, someone like stability.ai is happy to bankroll 200 A100 GPUs for a few months each per target language. In that case, please contact me)
You can contribute to improving it here, too: https://commonvoice.mozilla.org/en
I'm trying to figure out what they are selling me, or what megacorp they are associated with, but I don't see it yet.
Today, the most interesting part is about his core and the way he can scale up. He is pretty young but can easily scale to have new features (skills). You can find what he is able to do by browsing the packages list.
Sounds good for you? Then let's get started!
The packages list is a dead link.
https://github.com/leon-ai/leon/tree/develop/packagesFrom the blog ...
"As of now, 'module' and 'packages' no longer exist. Instead, they’ve been replaced by 'skills'."
New link is https://github.com/leon-ai/leon/tree/develop/skills
Yes, pretty common in the frontend world.
yeah in frontend projects/dataviz stuff for sure
> $ leon create birth
> At this stage, Leon is born and can already start to run via this command: [...]
It seems like an unnecessary anthropomorphization.
I’m not equipped with the biology to give birth myself, so it was nice to be able to give birth virtually to a son. A son that could talk to me before he could walk. He hasn’t had much luck yet with walking.
I was also discouraged by that remark. But I've never had (or even used) Alexa or Siri or whatever; they're a cool idea, but I'm not prepared to rely on either of those sevice providers. So I'm interested.
"Once the official release shipped, the big focus will be to build many skills along with the community and cover most of the basic cases and beyond of existing closed source assistants"
You can find more here: https://blog.getleon.ai/a-much-better-nlp-and-future-1-0-0-b... and there: https://blog.getleon.ai/a-much-better-nlp-and-future-1-0-0-b...
There are no examples at all.
Can it(he) show me the weather ? Execute a shell script? For example to update a server ? Trigger a webhook ?
A lot of details are lacking.