Project Alice – an open source virtual assistant that can run offline
github.com
github.com
[1] https://www.timeshighereducation.com/opinion/2048-informatio...
If reality is any indication, then if it's copyrightable it won't be sitting on your table top:
* Set of important facts about the world: not copyrightable. Yet so freely accessible I don't even bother to copy Wikipedia to my table top.
* Set of important modern books: copyrightable and mostly still under copyright. Also, probably digitized by Google. Not available for table top copying.
* Set of important music scores: copyrightable, but most are by dead composers, and most are out of copyright. Hooray! Except the IMLSP had to go offline for almost a year, seek legal help and create a staff-review process for uploads to make absolutely sure no publishers could sue him out of existence.
* That full video of Will Forte playing white supremacist "Hamilton Whiteman" at Seth Meyer's actual rehearsal dinner: copyrightable. I actually watched the whole thing at one point, but it apparently got a copyright claim so I can't share it with anyone. I just added this one on the off chance someone on here has a copy and feels daring, because dammit, it was funny, and I want to watch it again.
I feel like the tech world needs a decent political mover-and-shaker who could make a Glengarry Glen Ross style speech at this point: something about how with the tools you got available he could go out and make legal table top human knowledge boxes a reality tonight...
[1] https://en.wikipedia.org/wiki/Cyc
It deduces relations from set of facts in it's database.
If you have human knowledge from wikipedia on your desktop, you can deduce your own facts using Cyc's engine or something else.
It will be fun to tinker with. You can even start your own conspiracy theory, because you can.
Absolutely spot on. Indeed, the story was an oblique advocacy for SciHub and an argument as to how the digital entertainment industry and publishers may eventually be the greatest obstacle to human progress.
Was the thing you're looking for longer than 2 minutes, because the DDG results page is filled with those 2 minute videos, including the top result is one thrown to by Seth himself: https://duckduckgo.com/?q=will%20forte%20Hamilton%20seth
Try "how do you make an entire digital camera starting with enough of the right kinds of sand?". Some of this is a trade secret, some of it is in other languages, some of it can't be explained by any person in the production process because you can't describe things you only know through muscle memory.
Consider the ordering of:
Signals (semantic/non-entropy (changes that have meaning))
Data (interpretable signals)
Information (data that informs)
Useful Information
Knowledge (justifiable, true and useful information in context)
Wisdom (knowledge applicable to human survival and evolution)
Then, given Sturgeons Law that 99% of everything is rubbish at each level then "knowledge" is not growing as fast as you might think (and much human knowledge is lost at a terrible rate). Humans presently generate about 2-5 Exabytes of raw data per year. Only a small fraction of that is information, considerably less is useful information, and some fraction of that - in the form of good quality books, journals, papers etc, encoded without redundancy, is probably in the order of 100s of gigabytes per year. For over 70 years a shelf of encyclopedias was considered approximate summary of essential knowledge. It's not implausible that storage growth could overtake knowledge production at some point in the not to distance future.
Sturgeon's law was 90%, also that's a mighty big given to entrust to a snarky Science Fiction writer's quip explaining why so much Science Fiction in his time sucked.
Might be more now but storage has likely outpaced it in growth.
I'd argue that storage is already dense and cheap enough to "turn the tide back toward local computing."
The reasons why the cloud (more precisely: someone else's servers) and all manner of non-local computing and storage became so entrenched was (at least in the US) that ISPs mostly offered (and still do) asymmetric internet links for "consumer" plans, refuse to provide static IP addressess (IPv4 and IPv6) and actively discourage (via port blocking/throttling) running servers on such links.
And when download/upload bandwidth ratios (for my links they're 20 and 17) are so skewed towards downloads, hosting content becomes less viable.
Add poorly managed physical plant and resistance to spending money on upgrades, and you have unreliable links with inadequate bandwidth.
After decades of this, is it any wonder that centralized storage/compute/streaming services found a ready niche, and have exploited the anti-consumer/anti-competitive actions and policies of the big ISPs to the point that many folks don't realize it could be any other way.
Want to move back toward local computing? Make decently fast, symmetric internet links the norm. Getting that done (at least in the US) will be a tall order.
And even if/when we get there, such a shift won't happen all at once, especially since centralized services will fight tooth and nail to keep their customers (for paid services) and product (for "free" services) at our expense.
However, once decently fast symmetric bandwidth is the norm for "consumer" internet links, decentralization will follow.
It would likely take a while, especially since many (most?) of the developers of decentralized solutions (I'm looking at you, diaspora, mastodon and matrix, among others) make self-hosting their software inaccessible to non-technical folks[0].
There are many great reasons to move away from centralized compute/storage/streaming services, but there are significant barriers to doing so, at multiple levels of the network infrastructure. And more's the pity.
I'm not sure about corporate ownership status here, but it would appear that someone's idea of movie merchandise was to sell firearms by registering a company called "Umbrella Corporation Weapons Research Group" in the real world. I could find several "licensed" arms in online stores. Possibly they're doing that to protect their IP, not out of any profit motive.
The name of the project won't be a problem, but you might want to steer clear of that particular logo. Entertainment companies can be very touchy about their IP and are known to be litigious.
[1] https://trademarks.justia.com/owners/umbrella-corporation-we...
[2] https://trademarks.justia.com/owners/umbrella-corp-4226588/
[3] Possibly more, but there's thousands of logos labeled "Umbrella" and I don't want to spend all day looking.
I came to the conclusion, there are so many car stickers/unlicensed merch or even companies with a similar logo, there shouldn't be an issue for a small open source project. Maybe a dangerous conclusion, that should be revised when Alice grows :)
you’re like actively looking for trouble lol
Someone probably just scrolled through available icons and ended up picking that one.
Edit https://www.blizzard.com/fr-fr/legal/8bcb0794-6641-4ce3-a573...
https://i.imgur.com/aPMBndB.png
CC0 and all that of course.
I put it up for discussion. We don't want to cling to our current design, but we aren't sure yet about a good way to approach a redesigns. Needs a bit time to decide what aspects of Alice in total should be redesigned
edit: Nope Vosk is doing much better than I expected. Thanks a lot for the recommendation!
Another option, if you are a bit more open with "sharing" data and you don't want to miss out the best TTS, is enabling google or azure cloud services - with the big difference, Alice will only send the sound right after detecting your hotword (only while flashing her LED and asking you "yes?" before the recording starts). Nothing else would be shared.
That's the main gripe I had with Mycroft, as there was no going around this:
"Hey Mycroft."
long pause
"What's gonna be the weather at 11 tomorrow?"
even longer pause
<answer>
Which is frankly so unnatural and just too annoying to be practical. And it feels like something that should be very straightforward to implement in terms of logic.
Another thing to keep in mind is, we use intermediate results for the ASR. Means already while you are speaking, the input is parsed. Only a few ms after you go silent, the parsing is finalized and NLU/TTS will start right away.
Of course with a bit bias, I'd say it is more like: "Hey Alice" "Yes?.." "What's gonna be the weather at 11 tomorrow?" short pause (.2 seconds?) <answer>
I mean, would it really consume that much extra power to just have a second sink that's just a N-second circular buffer, so you got the samples after the wakeword ready for speech recognition when the wakeword is detected?
I think the ballpark figures for the Pi 4 are 0.5 A when doing nothing, 1A when doing something intensive a single core and 1.2A when at full multicore load.
Extrapolating on the expected hardware, it's likely going to be either inaccurate, have very high latency, or both.
Even Mycroft which open sourced everything else still runs the voice recognition part in the cloud because it's not possible to host it locally without rather beefy hardware that the average user won't have around (and even that has high latency). I did try some offline speech to text alternatives for it but they all more or less sucked to be frank.
Any relation between this Alice project and an earlier Alice AI project, alicebot:
https://en.wikipedia.org/wiki/Artificial_Linguistic_Internet...
Maybe some passdown influence from Star Trek's ship computer, which had a female voice?
Alice is the name of the main character. The supercomputer/AI was called Red Queen.
Though it gets a bit muddled, not least because the Red Queen was created using the template of one Alicia Marcus, of whom Alice herself is a clone.
Ah yes. If ever I want an AI assistant to inform me of my imminent death, I want it to be using that voice.
"Hey Alice, call an ambulance."
"You are going to die."
"Thanks Alice."
Currently you got the following choice: Pico, Mycroft, Google Standard/Wavenet, Amazon, IBM Watson
And while using one of the cloud variants might cause security concerns, keep in mind, they will only know what to speak, not why (e.g. what your input/request was)
Regarding "just to pay some celebrity".. well, that is currently way out of our budget, as everything offered so far is 100% free and there are no plans to change that :)
That's super cool! It's probably all the same across the stations, yeah, although it still is quite fun to hear the songs he picks and why. One of the things he would always do was have a pair of songs that shared some theme that he would share afterwards, and it was fun to try to guess. The only two I remember offhand were some song called "Jack the Ripper" and then "Midnight Rambler" by the Rolling Stones with the theme "about serial killers", and then "God Gave Rock and Roll To You" by Argent along with "Since You Been Gone" by Rainbow, which were apparently written by the same guitarist.
> Regarding "just to pay some celebrity".. well, that is currently way out of our budget, as everything offered so far is 100% free and there are no plans to change that :)
Oh, definitely, I wasn't offering this as a completely serious suggestion so much as something that I could totally see one of the major tech companies doing to try to separate themself from the pack
Except if it’s a name with existing genres variation (like Mario/Maria or Jean/Jeanne) I feel it’s a lost proposition to put too much imaginary in a given name.
I believe the military did some research on this.
To be fair: Project Alice is older than yandex Alice and there is nothing but the name connecting these two assistants!
I didn't even know it is possible, but now I feel kind of obligated to put those $30 I would pay otherwise towards this project instead
It's about the experience and ease of use. Sure I can set timers on my phone all day long or lookup conversions but the experience sucks compared to a voice interface. Open solutions like Alice, Mycroft, and Ada all kinda suck unless you leverage the same online services powering Google, Siri, and Alexa.
We have Amazon Echos and these are some of the situations where a voice assistant just works better than anything else:
- You're standing at the kitchen counter multiplying a recipe. It is easier and faster to say "Alexa, how many tablespoons is 9 teaspoons?" than almost anything else.
- You're making Thanksgiving dinner. "Alexa, set a mashed potato timer for 20 minutes. How much time is left on the Turkey Basting Timer?"
- The dentist recommends brushing your teeth for 2 minutes, I setup a routine so when my kiddo is brushing their teeth they can say "Alexa, I'm brushing my teeth." And Alexa will say "Starting the tooth timer" then make a silly noise every 30 seconds to indicate they need to switch brushing top inside to top outside to bottom inside to bottom outside.
- I'm wood working in the garage and need to multiply a dimension. You can't beat screaming "Alexa, what's 24 times 9/16ths?" and getting your answer without having to lookup from what you're doing, find your phone, or do the math in your head.
- You're putting the kiddo to bed and got home late from practice. So you both decide to let them sleep in a little. It's easier to say "Alexa, cancel the 6:30 alarm and set an alarm for 7 am." and Alexa might ask "Do you want to cancel all alarms or just tomorrow's" and you say "Just tomorrow's". No fiddling with the Alarm clock or remembering to adjust it the next evening.
That being said, from watching demos of alternative voice assistants on Youtube and going down the rabbit hole of actually setting up Mycroft, Ada, and Project Alice; yes the experience is better with Alexa, Siri, and Google Assistant hands down. The setup experience is light years ahead of these projects and the performance/latency is also significantly faster.
That doesn't mean I don't fully support what you're doing. I'm just looking at the current state objectively.