What is AI?
Introduction to Generative AI and Large Language Models and how they fit into the overarching field of Data Science.
Last updated
Introduction to Generative AI and Large Language Models and how they fit into the overarching field of Data Science.
Last updated
Before diving into the mechanics of Artificial Intelligence, think about what intelligence means. What is the value of intelligence? Is it an end in itself?
In this course, a lot of what you learn about artificial intelligence is how to ask a better question and not stop at just one question. The master and martyr for asking questions to better understand the world and its people is Socrates, who lived in Athens, Greece, 470-399 BC. In modern education, we encourage self-reflection and critical thinking. These are activities that involve asking questions. As you develop your skills at eliciting information from artificial intelligence applications, you honor a long Western tradition known as the Socratic method.
Artificial Intelligence (AI) is created by "reading" massive amounts of content curated from many resources. AI is also trained, using pattern recognition, to parse the language you submit to it and collate a response in natural language. The image below demonstrates how information is turned into knowledge. It requires ingesting many sources, finding what connects them, and then communicating the result.
Artificial intelligence can help you learn and communicate much about subjects you're interested in. However, at this point, AI does not experience the world as we humans do. This lack of physical experience, knowing pain and pleasure, separates it from us. The difference between knowledge and wisdom is the ability to experience the world.
I read the following quote on Instagram from an Irish Rugby Player, Brian O'Driscoll, 2009 about knowledge and wisdom. I thought it was clever. Then, I asked an AI application about the quote. It turns out that the quote originated from a British journalist, Miles Kington, in 2003.
Knowledge is knowing that a tomato is a fruit; wisdom is knowing not to put in into fruit salad.
Whether you agree that tomatoes belong in fruit salads or not, experience is the key to differentiating knowledge from wisdom. AI will not give you the experience, but it will provide the knowledge that may lead you to test the experience. Human wisdom is also not universal, as it relies on individual experience. This is important because, as you will see, AI can be fallible, and the only way to know for yourself is to find a way to test it.
Artificial Intelligence is a term that covers many disciplines. Every form of AI, from self-driving cars to movie recommendations, uses artificial intelligence. In this course, we'll focus on Generative AI. The image below shows the hierarchical relationship between disciplines under data science. Notice that Natural Language Processing is a subset of Generative AI and that Generative AI is a subset of Neural Networks.
The top-to-bottom relationships between Data Science and Generative AI are shown in the chart below.
While we'll be focusing on creating prompts for artificial intelligence that uses Generative AI and Natural Language Processing, it helps to see how these disciplines fit under the broader field of Data Science.
Data science is the umbrella term covering several disciplines, including business intelligence (BI), machine learning (ML), artificial intelligence (AI), predictive statistics, and programming involving large amounts of data.
AI is a broad field covering disciplines that mimic human intelligence.
ML is an AI subset. In ML, machines learn through algorithmic training using data sets targeted to the learning subject. These can be very large data sets targeted at learning vast amounts of information.
DL is a method of enabling computer learning based a multiple levels of data processing. It it based on Neural Networks.
NN is an ML process in AI that teaches computers to process data similarly to how humans process data at a neurological level.
LLMs are programs that enable machines to interpret and manipulate human language. LLMs are the models that allow Generative AI to parse language input and generate text output.
GenAI is a type of AI that can generate content in the form of text, images, code, poetry, music, etc, in response to a prompt describing the content. It uses LLMs to process text input and output.
This course focuses on GenAI and LLMs. We'll use a variety of models created for GenAI. The following section will examine how Neural Networks are used to build GenAI models. Models are computer programs that process data and find patterns. These patterns enable the program to make predictions. GenAI models combined with NLM models provide all of the elements described in the Information vs Knowledge section above: data -> collation and pattern recognition -> communication.