Generative AI has taken the world by storm, and we’re beginning to see the following wave of widespread adoption of AI with the potential for each buyer expertise and software to be reinvented with generative AI. Generative AI allows you to to create new content material and concepts together with conversations, tales, photos, movies, and music. Generative AI is powered by very giant machine studying fashions which might be pre-trained on huge quantities of knowledge, generally known as basis fashions (FMs).
A subset of FMs known as giant language fashions (LLMs) are educated on trillions of phrases throughout many natural-language duties. These LLMs can perceive, be taught, and generate textual content that’s practically indistinguishable from textual content produced by people. And never solely that, LLMs can even have interaction in interactive conversations, reply questions, summarize dialogs and paperwork, and supply suggestions. They will energy purposes throughout many duties and industries together with inventive writing for advertising and marketing, summarizing paperwork for authorized, market analysis for monetary, simulating scientific trials for healthcare, and code writing for software program growth.
Corporations are transferring quickly to combine generative AI into their services. This will increase the demand for knowledge scientists and engineers who perceive generative AI and the way to apply LLMs to unravel enterprise use circumstances.
For this reason I’m excited to announce that DeepLearning.AI and AWS are collectively launching a brand new hands-on course Generative AI with giant language fashions on Coursera’s training platform that prepares knowledge scientists and engineers to turn out to be specialists in deciding on, coaching, fine-tuning, and deploying LLMs for real-world purposes.
DeepLearning.AI was based in 2017 by machine studying and training pioneer Andrew Ng with the mission to develop and join the worldwide AI neighborhood by delivering world-class AI training.
DeepLearning.AI teamed up with generative AI specialists from AWS together with Chris Fregly, Shelbee Eigenbrode, Mike Chambers, and me to develop and ship this course for knowledge scientists and engineers who wish to learn to construct generative AI purposes with LLMs. We developed the content material for this course beneath the steerage of Andrew Ng and with enter from numerous business specialists and utilized scientists at Amazon, AWS, and Hugging Face.
That is the primary complete Coursera course targeted on LLMs that particulars the standard generative AI undertaking lifecycle, together with scoping the issue, selecting an LLM, adapting the LLM to your area, optimizing the mannequin for deployment, and integrating into enterprise purposes. The course not solely focuses on the sensible features of generative AI but in addition highlights the science behind LLMs and why they’re efficient.
The on-demand course is damaged down into three weeks of content material with roughly 16 hours of movies, quizzes, labs, and additional readings. The hands-on labs hosted by AWS Associate Vocareum allow you to apply the methods instantly in an AWS setting supplied with the course and consists of all assets wanted to work with the LLMs and discover their effectiveness.
In simply three weeks, the course prepares you to make use of generative AI for enterprise and real-world purposes. Let’s have a fast take a look at every week’s content material.
Week 1 – Generative AI use circumstances, undertaking lifecycle, and mannequin pre-training
In week 1, you’ll study the transformer structure that powers many LLMs, see how these fashions are educated, and think about the compute assets required to develop them. Additionally, you will discover the way to information mannequin output at inference time utilizing immediate engineering and by specifying generative configuration settings.
Within the first hands-on lab, you’ll assemble and evaluate totally different prompts for a given generative job. On this case, you’ll summarize conversations between a number of folks. For instance, think about summarizing help conversations between you and your clients. You’ll discover immediate engineering methods, strive totally different generative configuration parameters, and experiment with numerous sampling methods to realize instinct on the way to enhance the generated mannequin responses.
Week 2 – Superb-tuning, parameter-efficient fine-tuning (PEFT), and mannequin analysis
In week 2, you’ll discover choices for adapting pre-trained fashions to particular duties and datasets by a course of known as fine-tuning. A variant of fine-tuning, known as parameter environment friendly fine-tuning (PEFT), allows you to fine-tune very giant fashions utilizing a lot smaller assets—typically a single GPU. Additionally, you will be taught concerning the metrics used to guage and evaluate the efficiency of LLMs.
Within the second lab, you’ll get hands-on with parameter-efficient fine-tuning (PEFT) and evaluate the outcomes to immediate engineering from the primary lab. This side-by-side comparability will assist you achieve instinct into the qualitative and quantitative affect of various methods for adapting an LLM to your area particular datasets and use circumstances.
Week 3 – Superb-tuning with reinforcement studying from human suggestions (RLHF), retrieval-augmented era (RAG), and LangChain
In week 3, you’ll make the LLM responses extra humanlike and align them with human preferences utilizing a method known as reinforcement studying from human suggestions (RLHF). RLHF is essential to enhancing the mannequin’s honesty, harmlessness, and helpfulness. Additionally, you will discover methods akin to retrieval-augmented era (RAG) and libraries akin to LangChain that enable the LLM to combine with customized knowledge sources and APIs to enhance the mannequin’s response additional.
Within the ultimate lab, you’ll get hands-on with RLHF. You’ll fine-tune the LLM utilizing a reward mannequin and a reinforcement-learning algorithm known as proximal coverage optimization (PPO) to extend the harmlessness of your mannequin responses. Lastly, you’ll consider the mannequin’s harmlessness earlier than and after the RLHF course of to realize instinct into the affect of RLHF on aligning an LLM with human values and preferences.
Enroll At the moment
Generative AI with giant language fashions is an on-demand, three-week course for knowledge scientists and engineers who wish to learn to construct generative AI purposes with LLMs.