Tutorial #3: Symbolic AI - Symbols, Operations, Expressions, LLM-based functions!

Subscribers:
5,330
Published on ● Video Link: https://www.youtube.com/watch?v=Ch9ygW62A34



Category:
Tutorial
Duration: 20:45
484 views
10


It is my privilege to introduce Marius and Leo, creators of Symbolic AI. I also showcase some of the cool features you can do with Symbolic AI!

Symbolic AI defines everything as a symbol, with some symbols to store information, and some symbols are like expressions used to process the symbols to get information. At its core, symbols are manipulated using Large Language Model-defined operations.

Each symbol is basically stored in text form. There are basic operations already defined that enable you to do translation (translate), classification (choice), compose text (compose), do question answer (query). If you want to customize your own, you can use expressions to do any text-based instruction to the symbol. Furthermore, if you want even more flexibility, you can simply use an LLM-based function, just like in Wolfram-Alpha!

Really cool stuff, next time round we will demonstrate their Chatbot and AutoGPT-like systems using Symbolic AI!

What's more, there are also various other engines (other than OpenAI) you can interface with to process symbols or to generate symbols. For instance, you can use WolframAlpha (mathematics and symbol inference) to process symbols. You can also use Whispr (voice to text), Pinecone (database) and many more to generate symbols!

~~~~~~~~~~~~~~~~

Concept Video: https://www.youtube.com/watch?v=RW_7JdXvbRA
Symbolic AI Github: https://github.com/Xpitfire/symbolicai
Notebook used for demonstration: https://github.com/tanchongmin/SymbolicAITutorial/blob/main/Basics.ipynb

Wolfram Alpha LLM Functions: https://writings.stephenwolfram.com/2023/05/the-new-world-of-llm-functions-integrating-llm-technology-into-the-wolfram-language/

~~~~~~~~~~~~~~~~

0:00 Introduction
0:40 Install Symbolic AI
1:44 Set your OpenAI LLM model
2:32 Symbol: Basic unit of information storage in text
5:10 Expressions: Perform text-based operations on symbols
6:51 Compose and Query functions for processing text
8:32 LLM-based functions!
12:20 Cost of using model (1 cent over the last few operations!)
12:39 Summary
13:16 Leo’s input
13:50 Code Walkthrough (brief)
18:04 Conclusion - Using GPT4 API has better performance!
19:45 Teaser - Advanced features of Symbolic AI - Sequential Processing, Chatbot

~~~~~~~~~~~~~~~~

AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.

Discord: https://discord.gg/bzp87AHJy5
LinkedIn: https://www.linkedin.com/in/chong-min-tan-94652288/
Online AI blog: https://delvingintotech.wordpress.com/
Twitter: https://twitter.com/johntanchongmin
Try out my games here: https://simmer.io/@chongmin




Other Videos By John Tan Chong Min


2023-08-08Large Language Models and Knowledge Graphs: Merging Flexibility and Structure
2023-07-31Tutorial #5: SymbolicAI - Automatic Retrieval Augmented Generation, Multimodal Inputs, User Packages
2023-07-27How Llama 2 works: Ghost Attention, Quality Supervised Fine-tuning, RLHF for Safety and Helpfulness
2023-07-27Llama 2 vs ChatGPT
2023-07-11I-JEPA: Importance of Predicting in Latent Space
2023-07-09Gen AI Study Group Introductory Tutorial - Transformers, ChatGPT, Prompt Engineering, Projects
2023-07-03Tutorial #5: Strict JSON LLM Framework - Get LLM to output JSON exactly the way you want it!
2023-07-01Tutorial #4: SymbolicAI ChatBot In-Depth Demonstration (Tool Use and Iterative Processing)
2023-06-29How do we learn so fast? Towards a biologically plausible model for one-shot learning.
2023-06-20LLMs as a system to solve the Abstraction and Reasoning Corpus (ARC) Challenge!
2023-06-16Tutorial #3: Symbolic AI - Symbols, Operations, Expressions, LLM-based functions!
2023-06-13No more RL needed! LLMs for high-level planning: Voyager + Ghost In the Minecraft
2023-06-06Voyager - An LLM-based curriculum generator, actor and critic, with skill reuse in Minecraft!
2023-06-01Evolution ChatGPT Prompt Game - From Bacteria to.... Jellyfish???
2023-05-30Prompt Engineering and LLMOps: Tips and Tricks
2023-05-25Hierarchy! The future of AI: How it helps representations and why it is important.
2023-05-18Prediction builds representations! Fixed Bias speeds up learning!
2023-05-09Memory: How is it encoded, retrieved and how it can be used for learning systems
2023-05-02I created a Law Court Simulator with GPT4!
2023-05-02I created a Law Court Simulator with ChatGPT!
2023-04-25Creating a ChatGPT Harry Potter Text-based RPG game!