Implementing Natural Language Cognitive Architecture with GPT-3 and the "nexus" concept
Key Takeaways
The video demonstrates implementing natural language cognitive architecture with GPT-3 and the nexus concept, showcasing a shared file system for memory and various services for audio and video processing.
Full Transcript
hey everyone david shapiro here uh i just have a really quick update i wanted to share an insight that i had about how to implement raven or natural language cognitive architecture um basically what i what i realized was um because raven's gonna run as an instance probably in a container i can actually use a shared file system for a lot of the memory and so what i mean by that is well let me just show you so i unfortunately i can't have the services running because i'm using the audio services of my computer but basically what what it does is the microphone will capture a sequence of audio files which can then be used for inferencing things like speaker recognition um speech to text that sort of thing and it'll be cached here and then used uh and then it'll be cleaned up so it'll just be a buffer and then it'll be translated into normal text here so you see um whoops there it is so you see uh it's speech-to-text uh and that's that's that's basically kind of the gist of it there's still a lot of services set up uh here's me drinking a beer so this is basically what raven sees and that will be translated into text via inference image based inference and so that's what i'm working on now is setting up these services then there's another thing so that's the audio cache and the video cache so that's basically the sensory buffer for an agi next is the heartbeat so you know how you can be aware of your own body it's called proprioception this is basically raven's proprioception the every service that runs is going to create a heartbeat file here and every every time every time that one of those files cycles it will update the the time stamp so this way raven will be aware of the services that are running there's a whole bunch of other services that i need to work on i don't want to spoil anything but they're coming so microphone and camera that's the time stamp that they were running last here's the services you can see it's uh what just 64 lines of python some of it is comments so these are these are very small services they just use file they use files to share and then what i'm going to set up next is the is the speech to text service and then a video inference or image object detection inference the advantage of having it set up this way let me go back to the file folder sorry the advantage to having it set up this way is that any number an arbitrary number of audio processing services can use these files so let's say in the long run i'm going to have music recognition ambient sound recognition emotional tone recognition there's going to be all kinds of services using these audio files to generate inferences and you see the fact that every audio file has a time stamp attached to it that means that raven will know exactly when he heard what so that's pretty cool and same with the video again there's me drinking a beer as i'm getting set up so right now the uh the frame rate for this is one frame per second or actually it's every two seconds um that's because it's expensive to run this stuff um and it would be excessive to run it at any higher rate in the future raven will be updating the vision at you know like one frame per second two frames per second ten frames per second and eventually you know as the technology gets cheaper and faster raven will see as fast as you or i do that might be five or ten years down the road and then the memories so everything that enters raven's consciousness the agis consciousness will end up as a log file here eventually i'm going to transfer this into a private encrypted blockchain because they're they're chronologically sequential everything that raven thinks sees hears says everything is going to end up here in the memories directory and then it's going to be encrypted and put in a blockchain for privacy's sake but for now i'm just using log files i'm thinking about using something like syslog there's a there's a technology called the elk stack which is elasticsearch log stash and kibana which is a tool for capturing and visualizing logs because that's essentially what the content of raven's consciousness is is a series of log files it's that simple and i know all of this looks really simple it's not complete yet so keep that in mind and it is you might think of it as elegantly simple but i also think of it as deceptively simple because just because something is complex or next generation right that doesn't mean that it's that it's uh that it has to be complex or or over the top right simple solutions are are often the best solutions so anyways that's it i just wanted to post a quick update about this thanks for watching bye
Original Description
The Kickstarter for my Post-Labor Economics book is live! https://www.kickstarter.com/projects/daveshap/labor-zero
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from David Shapiro · David Shapiro · 8 of 60
1
2
3
4
5
6
7
▶
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Raven MVP Demo 2021-04-02
David Shapiro
Get Started with Raven AGI
David Shapiro
Coding Raven's Encyclopedia Service (v.1)
David Shapiro
Prototype AGI demo - Natural Language Cognitive Architecture "NLCA" running on GPT-3
David Shapiro
Raven Release 1 Deep Dive
David Shapiro
Fine-tuning GPT-3 to generate questions about anything
David Shapiro
Fine-tuning GPT-3 for benevolent and trustworthy AGI
David Shapiro
Implementing Natural Language Cognitive Architecture with GPT-3 and the "nexus" concept
David Shapiro
5 Tips and Misconceptions about Finetuning GPT-3
David Shapiro
How to create synthetic datasets with GPT-3
David Shapiro
What is a heuristic imperative? What imperatives should we give AGI?
David Shapiro
Talking Philosophy with GPT-3
David Shapiro
Talking Boundaries and Consent with GPT-3
David Shapiro
Convergence and acceleration towards AGI (or Artificial Cognitive Entities)
David Shapiro
GPT-3 for Writing Dialog
David Shapiro
Co-writing flash fiction with GPT-3
David Shapiro
From zero to finetuned model in 1 hour with GPT-3. Generate a movie script from any premise!
David Shapiro
GPT-3 Working Session: Finetune an information companion chatbot in 30 minutes (RESEARCH ONLY)
David Shapiro
What is "toxic stoicism"? Talking philosophy with GPT-3
David Shapiro
Billion-dollar GPT-3 startup! Fix education with an expert tutor chatbot!
David Shapiro
Finetune GPT-3 to write an entire coherent novel (part 1)
David Shapiro
Concepts in Neuroscience and Cognition - Deficits of GPT-3 and the path to AGI and ACE
David Shapiro
Finetuning GPT-3 to be a master tutor that can handle any topic and hostile students
David Shapiro
Testing "Theory of Mind" in GPT-3 - making fully aligned ACOG (Artificial Cognitive Entities)
David Shapiro
Finetune GPT-3 to write an entire coherent novel (part 2)
David Shapiro
Finetune multiple cognitive tasks with GPT-3 on medical texts (and reduce hallucination)
David Shapiro
Finetune GPT-3 to write a novel - Part 3 (IT WORKS!!!) ...at least a little bit
David Shapiro
How will we know when we've invented AGI? How will we know it is complete?
David Shapiro
Finetuning a Creative Writing Coach in GPT-3 - Part 1
David Shapiro
Finetune GPT-3 to write a coherent novel - Part 4 (success! with minor bugs...)
David Shapiro
Recursively summarize text of any length with GPT-3
David Shapiro
Finetuning a Creative Writing Coach in GPT-3 - Part 2
David Shapiro
Increasingly Verbose Bot with GPT-3 - Expand any word or phrase into a whole paragraph
David Shapiro
Metaprompting with GPT-3 to dynamically generate arguments
David Shapiro
I'm taking a short break from research and YouTube
David Shapiro
Are LaMDA or GPT-3 sentient? No, but...
David Shapiro
Can GPT-3 generate training data? Short answer? Yes! Here's why that's a legit methodology...
David Shapiro
DALLE2 Style Tags Tutorial - "Elven archer in a sunny forest" with different tags
David Shapiro
Many of you have asked for it: Join my new research Discord! Link in description
David Shapiro
Answer complex questions from an arbitrarily large set of documents with vector search and GPT-3
David Shapiro
Fixing "goldfish memory" with GPT-3 and external sources of information in a chatbot - part 1
David Shapiro
Fixing "goldfish memory" with GPT-3 and external sources of information in a chatbot - part 2
David Shapiro
Python & GPT-3 for Absolute Beginners #1 - Setting up your environment
David Shapiro
Python & GPT-3 for Absolute Beginners #2 - Your first chatbot
David Shapiro
Python & GPT-3 for Absolute Beginners #3 - What the heck are embeddings?
David Shapiro
Introducing the RAVEN MVP - a general purpose AI companion (with a live DEMO)
David Shapiro
I needed SQLITE but for vectors so I wrote it myself. Now it's on PyPI - introducing VDBLITE
David Shapiro
Prompt Engineering 101: Autocomplete, Zero-shot, One-shot, and Few-shot prompting
David Shapiro
Prompt Engineering 101: Introduction to CODEX
David Shapiro
Prompt Engineering 101: Summarizing, Extraction, and Rewriting
David Shapiro
Summarize product reviews with GPT-3 fast and easy, get product insights and improvements fast!
David Shapiro
Finetuning GPT-3 101: Synthesizing Training Data
David Shapiro
Finetuning GPT-3 101: Augmenting Training Data
David Shapiro
Finetuning GPT-3 101: Using Your Finetuned Model
David Shapiro
Modeling different viewpoints with GPT-3 for automatic debates
David Shapiro
Finetune a perfect email generator in GPT-3 - take any input and generate a great email
David Shapiro
Research Update: Nexus microservice for Artificial Cognition + microservices architecture (MARAGI)
David Shapiro
Research Update: Microservices! Text-based simulation, Embeddings, and Nexus
David Shapiro
It's alive! The first 3 microservices are up and running!
David Shapiro
What is a Microservice? What does it have to do with AGI?
David Shapiro
More on: LLM Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Embeddings Simplified
Medium · RAG
I built a tool that cuts Claude/ChatGPT token usage by 97% — here's how it works
Dev.to · Rohith Matam
Building LSTMs with PyTorch and Lightning AI Part 7: Resuming Training with Checkpoints
Dev.to · Rijul Rajesh
How AI Learns with Less Labeled Data
Medium · AI
🎓
Tutor Explanation
DeepCamp AI