AI Chatbot on Raspberry Pi | Offline and Real-time, but ...

  Рет қаралды 3,872

Hardware.ai

Hardware.ai

Жыл бұрын

Speech to Text, Language Model and then onto Text to Speech! Run OpenAI Whisper Speech to Text model on Raspberry Pi 4 for transcribing user input, then feed it into a Language model and get the output back.
Github:
Language model - WIP
Fixed whisper.cpp wrapper - github.com/AIWintermuteAI/whi...
TinyStories: How Small Can Language Models Be and Still Speak Coherent English?
arxiv.org/abs/2305.07759
Future of DeepSpeech / STT after recent changes at Mozilla
discourse.mozilla.org/t/futur...
A new frog in (speech tech) town
discourse.mozilla.org/t/a-new...
Media Credits:
Evaluating Language Models
lena-voita.github.io/nlp_cour...

Пікірлер: 11
@alx8439
@alx8439 Жыл бұрын
As a llm you can give it a try with orca mini 3b. They say it runs just fine on a weak hw like rpi 4
@Hardwareai
@Hardwareai Жыл бұрын
I checked orca mini 3b from model card here huggingface.co/TheBloke/orca_mini_3B-GGML it would only run on largest RAM version of Pi and is still much slower www.reddit.com/r/LocalLLaMA/comments/14lo34l/orca_mini_3b_on_a_pi_4_in_real_time/ it says real time, but from the video it hardly is....
@alx8439
@alx8439 Жыл бұрын
@@Hardwareai it's up to you how you code the dialog logic. It could be something like: - {wakeword} ask AI {question} - sure, let me think for a moment ... (after some time) ... - here is what AI replied: {reply}
@alx8439
@alx8439 Жыл бұрын
Btw the biggest issue with the open source voice assistants, as I see it, is that ppl don't give a sht about proper software architecture: - the core should allow multitasking (the music can be played on a background while it will be answering your question AND still listening for a wake word to stop) - using piped processing over batched processing to reduce the delay (this was partially solved in the most recent version of Rhasspy) - extendable architecture which allows ppl to develop their own "skills" without scratching left ear with a right leg
@Hardwareai
@Hardwareai Жыл бұрын
Good points! Although for the first one, I think the main obstacle is that it'd be rather hard to have a good quality speech recognition with music blasting out of the speaker close to the microphone :)
@alx8439
@alx8439 Жыл бұрын
@@Hardwareai this is why most of the commercial hardware voice assistant speakers turn the music volume down, when they hear the wake word.
@dukezacks
@dukezacks 9 ай бұрын
Hello good job, can i ask which language model are you using?
@Hardwareai
@Hardwareai 9 ай бұрын
Hi! Thanks! I was using gpt4all-7B/gpt4all-lora-quantized - but that was a while ago already. It did generate coherent synthetic dataset, but as I recently discovered is utterly unreliable for grading the output of another LLM. I now switched to using text-generation-webui for server/llama.cpp for model loader and llama-2-13b-chat.Q5_K_M.gguf for the model. 7b also worked, but was worse.
@gettinfr0stii823
@gettinfr0stii823 10 күн бұрын
Have you done an updated video using a RPi 5?
@Hardwareai
@Hardwareai 9 күн бұрын
I have not, but if I do Pt3 of the toaster video, I think I'd use one of the extremely small pre-trained LLMs, like Phi or TinyLlama. Training from scratch was fun, but I'd need a bigger GPU budget to make something usable :) We'll see
@gettinfr0stii823
@gettinfr0stii823 9 күн бұрын
@@Hardwareai just wondering, no worries - I'm thinking of using T5-small for mine
No Priors Ep. 39 | With OpenAI Co-Founder & Chief Scientist Ilya Sutskever
41:59
No Priors: AI, Machine Learning, Tech, & Startups
Рет қаралды 203 М.
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 9 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 78 МЛН
Getting Started With Home Assistant In 2024: The Ultimate Guide
21:45
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,3 МЛН
Build your own LLM AI on a Raspberry Pi
51:58
WiseCat
Рет қаралды 2,6 М.
AI Learns Insane Monopoly Strategies
11:30
b2studios
Рет қаралды 10 МЛН
Google TPU & other in-house AI Chips
12:06
High Yield
Рет қаралды 28 М.
AI Pioneer Shows The Power of AI AGENTS - "The Future Is Agentic"
23:47
Raspberry Pi AI: Picroft Voice Assistant
21:34
ExplainingComputers
Рет қаралды 162 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,5 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,4 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 9 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН