4 ms·
I had a lot of fun getting GPT-3 to figure out that special commands can be used for actions. I hooked it up to a light switch it could toggle with {light on} o
by bemmu 4y ago
I had a lot of fun getting GPT-3 to figure out that special commands can be used for actions. I hooked it up to a light switch it could toggle with {light on} or {light off}, and controlled it with speech recognition. It worked surprisingly well: https://www.youtube.com/watch?v=YvJUXGqcrzM https://www.youtube.com/watch?v=YvJUXGqcrzM
After adding a delay function it could even do things like blink the lights when requested, and after making the video I added a dimming option it was also able to use.
- aix1 4y ago> I hooked it up to a light switch it could toggle with {light on} or {light off}, and controlled it with speech recognition. This _has_ to be the most complicated way ever invented of blinking an LED. :-) (But, seriously, kudos. Sounds like a fun experiment.)
- justanotheratom 4y agoHow exactly did you do it? Would make a fun read.
- tomp 4y agoclick the link to the video, there's a link to code in GitHub in description
- not_kurt_godel 4y agoFor those who prefer URLs on the Internet over verbal navigation instructions: https://github.com/Bemmu/Light-Switch-AI https://github.com/Bemmu/Light-Switch-AI
- tomp 4y agoThis is beyond amazing! very interesting to see the example prompt you're using, and how GPT-3 is able to utilise the commands!
- jamesgreenleaf 4y ago> Prompt: Write a joke about how many machine learning engineers it takes to turn on a light bulb. > Output: How many machine learning engineers does it take to turn on a light bulb? Just one, but it takes a lot of training data.
- moffkalast 4y ago> Output (65%): Just one, but it takes 4 cents per switch.