Re:A Raspberry Pi 5 is better than two Pi 4S
by fanf2 on Sunday October 08, 2023 @11:52AM
(#37811568)
The Raspberry Pi 4 and 5 have USB OTG through their USB-C ports.
Re:A Raspberry Pi 5 is better than two Pi 4S
by giantrobot on Sunday October 08, 2023 @01:32PM
(#37812567)
Those require a bit more power than a Pi Zero though. That's not necessarily a blocker but if the system OP is talking about only has USB2 ports a Pi 4/5 wouldn't be suitable.
Re:A Raspberry Pi 5 is better than two Pi 4S
by jonincanada on Sunday October 08, 2023 @11:21PM
(#37816597)
Sounds like some learnings around the lora gpt fine tuning that could be applied to the similar whisper transformer architeture /
What I've been trying to do is get it to chew through whisper.cpp at anything like a reasonable rate. It can so nearly do it with the right sized model, the latency isn't good enough yet, but the reason I'm doing this on a pi zero 2 is because of the USB-OTG port. I can take the whisper.cpp output, and have the pi pretend to be a USB keyboard, typing what it hears into a second machine over USB. This gives you dictation capabilities in environments where upgrading the PC it's plugged into isn't an option.
Like I say, it's not quite there yet in terms of usability, but it's close enough that I think the problem is just a matter of software (and arguably model) optimisation.