Testing Llama 3: Did it Pass the Coding and Reasoning Test?
Key Takeaways
The video demonstrates the capabilities of Llama 3, a large language model, by testing its coding, logical reasoning, and game creation abilities using Python and the Hugging Face chat interface. The model is able to pass various coding challenges, including creating functions to return the sum of two numbers, find discounts, and generate identity matrices, but fails at the expert level challenge of generating an ECG sequence. Additionally, the model is able to perform logical reasoning tests, s
Full Transcript
this is amazing now we are going to test llama 3 it is a large language model released by meta I've already covered the basics or the benchmarks in my previous video which I will link that in the description below in this we are going to do coding test logical and reasoning test and finally game creation tests such as creating a snake game that's exactly what we're going to see today let's get [Music] started hi everyone I'm really excited to show you about llama 3 and testing it live we going to use hugging face chat and it contains the Llama 3 70 billion instruct parameter model but before that I regularly create videos in regards to Artificial Intelligence on my YouTube channel so do subscribe and click the Bell icon to stay tuned make sure you click the like button so this video can be helpful for many others like you first we are going to do coding test so it's Python and very easy task so in this we are going to ask the Lun language model to create a function to return the sum of two numbers so I'm going to copy the instruction here and going to ask llama 370b now it is generating the code and here is the response I'm going to copy this and going to test this that is a pass next easy challenge find the discount asking the log language model to create a function to find the discount so copying the instruction and asking the model and now it's generating going to copy this code and going to test it here click check and it's a pause next medium challenge virtual DAC creating a function to convert digital to audio going to copy the instruction and asking the log language model and it's generating the code now and it's more detailed with some examples so I'm going to copy this code going to test it here and it is a pass next hard challenge finding the domain name from the DNS pointer copying the instruction and asking the logge language model now it is generating the response going to copy the code and going to test this and it's the past next going to very hard challenge identity Matrix create a function for generating the identity Matrix copy the instruction and asking the large language model and it's generating the code now going to copy the code and then test it here and it is a pass this is really good next going to the expert level challenge this is really exciting that it could pass all these levels ECG sequence asking the lar language model to create a function to generate ECG sequence copying the instruction and asking the lar language model and it's generating the ECG sequence function I'm going to copy this and going to test it here clicking check that is a fail so going to copy the error code and asking it to fix this error and it's regenerating the code now I'm going to copy the code again that's the fixed code and let's test this final try and it is a fail so this is really a good model it was able to pass up until very hard Challenge and it failed only in the expert level challenge most of the open source model will fail even in very hard challenge but this was able to outperform all those open- Source models that is really good now we are going to perform logical and reasoning test so here's the question Natalia sold Clips to 48 of her friends in April and then she sold half as many Clips in May how many Clips did she Natalia sell together in April and in May going to click enter in April it's 48 and in May it's 24 totally 72 that is correct next W earns $12 an hour for babysitting yesterday she just did 50 minutes of babysitting how much did she earn going to click enter and here is the answer 50 minutes is 5 ID 6 of an hour so she earned $10 that is correct completing a new chat window I'm going to ask those two questions together just trying to understand if the launch language model is able to perform the task parall or in the same request so I'm going to ask the same question Natalia sold Clips to 48 and W earns $12 an hour on the same question again but both together I'm going to click enter so I ask both the questions without any answers provided and it is able to identify the two different problems the first first one is 72 that is correct the second problem that is wrong supposed to be $10 so it was able to perform these questions separately but not together I'm going to ask again but going to add thing step by step and click enter so now it's breaking it down to step by step still the answer is wrong for the first question the answer is correct overall I'm really impressed with this model next the final challenge creating a snake game in Python opening a new chat create a snake game in Python click enter and it's automatically generating the code and the code generation is complete going to copy this code pasted the code in vs code now I'm going to run this pip install P game to install the pame package then python snake game. py and then click enter you can see the game is running the snake is running across the board and you can see I'm just playing now voluntarily I'm going to hit this Lake in the wall and let's see how what happens so as soon as I hit in the wall it resets which means it starts from the beginning and you can also see the score at the top Corner which is really good you can even modify this further but up until now I'm really impressed with this model this is going to be a game changer in the open source large language model world I'm going to create more videos similar to this even fine-tuning this large language model so stay tuned I hope you like this video do like share and subscribe and and thanks for watching
Original Description
Hey everyone, welcome back to another exciting tutorial where we test the powerful Llama 3 AI model live! Today, we’re diving deep into coding tests with Python, tackling logical reasoning questions, and even creating a classic snake game from scratch! 🌟
🔗 Previous Video on Llama 3 Basics: https://www.youtube.com/watch?v=BHFaG4EMdaI
👇 What We Cover in This Video:
In this detailed walkthrough, we use the 70 billion parameter model from Hugging Face to handle various tasks from simple math functions to more complex coding challenges like creating an identity matrix. See how Llama 3 performs in real-time with our coding tests and logical reasoning problems. 🧠💻
Despite facing a tough challenge with the ECG sequence function, Llama 3 impressively passes numerous other difficult tests, showcasing its capabilities beyond many open-source models. 🏆
🎮 Snake Game Creation: We conclude with a fun coding session where we develop a snake game in Python, demonstrating both the potential and limits of AI in game development.
🔗 Resources:
Patreon: https://patreon.com/MervinPraison
Ko-fi: https://ko-fi.com/mervinpraison
Discord: https://discord.gg/nNZu5gGT59
Twitter / X : https://twitter.com/mervinpraison
✅ Subscribe for more AI-related content: Make sure to hit the like button to help more people discover this video. Stay tuned for more tutorials on utilising AI in real-world applications!
Timestamps:
0:00 Introduction
0:05 Overview of Llama 3
0:51 Start of Python Coding Tests
3:20 Logical and Reasoning Tests
4:57 Snake Game Creation in Python
#Llama3 #CodingTest #LogicalReasoning #Test #Llama3Testing #Llama3Test #Llama3 #MetaLlama3Testing #MetaLlama3Test #Llama3Testing #Llama3Test #MetaLlama3Testing #MetaLlama3Test
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Mervin Praison · Mervin Praison · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Build GCP Infra using Pulumi in YAML format
Mervin Praison
How to Convert a Pulumi YAML File to Python Format
Mervin Praison
Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Mervin Praison
Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Mervin Praison
AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
Mervin Praison
ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
Mervin Praison
How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
Mervin Praison
Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Mervin Praison
Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Mervin Praison
Quick & Easy Vicuna Setup on Mac and Linux 💻
Mervin Praison
Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Mervin Praison
Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Mervin Praison
LM Studio: EASIEST way to Run Large Language Models Locally!
Mervin Praison
AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
Mervin Praison
Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Mervin Praison
Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Mervin Praison
How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
Mervin Praison
GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
Mervin Praison
Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Mervin Praison
MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
Mervin Praison
Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Mervin Praison
Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Mervin Praison
Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Mervin Praison
ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
Mervin Praison
Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Mervin Praison
AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
Mervin Praison
AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
Mervin Praison
MemGPT: Amazing! External Context for LLM #ai #llm #memgpt #generativeai #mem #gpt #openai #chatgpt
Mervin Praison
GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
Mervin Praison
VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
Mervin Praison
Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Mervin Praison
Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Mervin Praison
LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
Mervin Praison
ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
Mervin Praison
LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
Mervin Praison
Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Mervin Praison
Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Mervin Praison
LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
Mervin Praison
INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
Mervin Praison
React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
Mervin Praison
MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
Mervin Praison
MemGPT + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
Mervin Praison
AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
Mervin Praison
MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
Mervin Praison
🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
Mervin Praison
AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
Mervin Praison
AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
Mervin Praison
Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Mervin Praison
AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
Mervin Praison
LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
Mervin Praison
Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Mervin Praison
Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Mervin Praison
Promptfoo: How to Test Your LLM ? 🚀 VERY EASY!
Mervin Praison
Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Mervin Praison
Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Mervin Praison
Pydantic: How to use LLM to convert unstructured data to structured data?
Mervin Praison
AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
Mervin Praison
OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
Mervin Praison
GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
Mervin Praison
GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
Mervin Praison
More on: LLM Foundations
View skill →Related Reads
📰
📰
📰
📰
I Taught an AI to Recognize the Shadows of Four-Dimensional Objects
Medium · Data Science
Changes to LLM pricing: Novita, OpenInference and StreamLake
Dev.to AI
ChatGPT in 2026: Why It’s Still the Most Searched AI Tool on Google (And How to Master It)
Medium · ChatGPT
A Tiny LLM Request Recorder I Use to Reproduce Production Failures
Dev.to AI
Chapters (5)
Introduction
0:05
Overview of Llama 3
0:51
Start of Python Coding Tests
3:20
Logical and Reasoning Tests
4:57
Snake Game Creation in Python
🎓
Tutor Explanation
DeepCamp AI