Creating a Unimodal Chatbot with Llama 3

Learn how to use Llama 3 to create a text-based chatbot with Gradio.

Large language models come in all shapes and sizes, offering different capabilities and areas of expertise. For our use case, we could use any decent text-based LLM. Notice how we specifically mentioned text-based. Large language models have been improving at an astonishing rate. Some modern LLMs, such as Gemini and GPT-4o, can also process images as input. This is known as multimodality, where the input can have more than one modality, such as text and images.

Let’s try to get our educational chatbot working on text first. Groq offers quite a few models to choose from. At the time of writing this course, Groq offers the following models:

  • Meta Llama 3, Llama 3.1 and Llama 3.2

  • Google Gemma 2

  • OpenAI Whisper v3

  • Mistral Mixtral-8-7b

Get hands-on with 1200+ tech skills courses.