Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a hands-on programming tutorial that guides you through the step-by-step implementation of the Bloom Large Language Text Generation Model. Build your own text generation application in Google Colab while learning to troubleshoot common issues such as GPU/CPU device conflicts, attribute errors, and GPU memory exceptions. Follow along as you set up the environment, download the Bloom model, tokenize text, and apply the model to generate results. Gain practical experience with transformers, machine learning, and deep learning concepts while working with cutting-edge natural language processing technology. By the end of this 19-minute video, you'll have created a functional text generation application and learned valuable problem-solving skills for working with large language models.
Syllabus
- Video Starts
- Experimentation Steps
- Bloom @ Hugging Face
- Testing GPT-2
- Testing Neo-GPT-2
- Setting Google Colab
- Downloading Bloom Model
- Setting Text Prompt
- Tokenize Text
- Applying Bloom Model
- GPU/CPU Mixup Error
- Correct Model Error
- GPU Memory Exception
- Encoded Result Output
- Decoding Results
- Result as Text
- Export Notebook to GitHub
Taught by
Prodramp