Llava 34B Released! Exceeding Gemini Pro in Performance Benchmarks?

Mervin Praison · Beginner ·🧠 Large Language Models ·2y ago

Key Takeaways

Introduces Llava 34B, a large multimodal model that surpasses Gemini Pro in performance benchmarks, with improved reasoning, OCR, and world knowledge

Full Transcript

this is amazing now we have lava 34 billion parameter model this version exceeds Gemini Pro on several benchmarks it has improved reasoning OCR and World Knowledge increasing the input image resolution to four times more pixels than before better visual reasoning and OCR capability better visual conversation for more scenarios efficient deployment and inference that is lava 1.6 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 lava 34 billion parameter model it is a multimodal model where we are able to enter a text and also an image and ask questions based on that I'm going to take you through step by step on how to set this lava interface on your local computer but before that I regularly create videos in regards to Artificial Intelligence on my 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 here's the table for our comparison you can see gerini pro version here and lava 34 billion parameter here you can clearly see this is 47.9 this is 51.1 this is 45.2 46.5 73.6 and 79.3 so in most of the cases this is better performance than Gemini pro multimodal model the main highlights are lava 1.6 achieves the best performance compared to open source llms such as these it has zero short Chinese capability and low training cost it costs 100 to thousand times smaller than others we can see the comparison here compared to the previous model 7 billion parameter and 13 billion parameter now we're going to see how we can set up this interface locally on your computer step by step for this purpose we are going to follow this repo I will put all the commands in the description below and also you can find that in this git repo you can find the spec required to run this model in the documentation page this is the configuration I'm using so the first step is get clone and then lava and then click enter next navigate to the folder now Conta create hyphen in lava python equal 3.11 and then click enter once that is done type cond activate lava to activate the virtual enrollments now pip install hyphen iPhone upgrade to upgrade the PIP package next pip install hyphen e and then click dot to install all the required packages once that is installed we need to set these three components first we are going to set up controller then we are going to set up the worker and finally we are going to set up the gradio interface to set up the controller python henm lava serve controller and it's going to run in port number 10,000 and then click enter keep this terminal running now we're going to to open a new terminal in the terminal navigate to the lava folder and cond activate lava to activate the lava the second step is to run the worker so we're going to type python hym lava. serve. model worker and this is going to run in port number 40,000 and we are connecting this worker to the controller by calling the controller command and the control is running in port number 10,000 here we're going to mention the lava 34 billion parameter model and we are going to load the 4bit quanti version to make this demo quicker next click enter this will automatically download the 34 billion parameter model and it might take some time because it's a large file you can see now it's loading the checkpoints now worker is ready now we have created the controller and the worker and finally we are going to start the gradio user interface so now open a completely new terminal keep the both other terminal running same like before navigate to the lava folder and then activate the virtual environment in the terminal python hym lava serve gradia web server we are providing the controller URL model list mode is reload and at the end we are providing the share so that we get the URL now we have the UI running so I'm going to open this URL the user interface is loading and we can see 34 billion parameter model in the models drop down list I'm going to select that choose example image and going to off ask what is unusual about this image about this image and then click sent the image depicts a man ironing a shirt while standing on a street which is unusual so that is correct next going to show this image and then going to ask what are the things I should be cautious about when I visit here and then click enter when visiting a location like one shown in the image which appears to be a lake with docks surrounded by mountains and Forest there are several things to be cautious about water safety weather condition Wildlife terrain personal safety leave no Tres equipment regulations altitude sickness emergency preparedness that is very detailed now I'm going to upload this image and try to ask if it can read the text in this image what is in this image the image shows a framed cardboard with the phrase I see a light in the darkness and that is correct next going to upload this image a bit more harder what is in this image the image shows a piece of graphity with the phrase take it easy written in a stylized handwritten font that is correct next going to upload this image what is in this image and then click enter the image shows a page from a planner or journal with a motivational quote written on it the quote reads every day is a fresh start that is amazing finally I'm going to test if it's a multilingual o C I'm going to upload this handwritten Tamil language text and check if it can identify this what is in this image enter the image shows a piece of paper with handwritten text in Tamil script the text appears to be a poem or piece of literature there are decorative elements such as flowers and a border around the text the writing done in blue ink and the paper has lined background I'm going to ask again what is written in this image I can see that it was not able to read Tamil language but that's fine it at least found out this is a Tamil script and for most of the images we saw in-depth in its details I'm really excited about this you can also run this lava using ol Lama run lava we can see the various versions here I hope the 34 billion parameter will be available soon here as well I'm going to create more videos similar to this so stay tuned I hope you like this video do like share and subscribe and thanks for watching

Original Description

🚀 Welcome to a groundbreaking episode where we unveil the incredible Llava 34 Billion Parameter Model! This version surpasses the renowned Gemini Pro in numerous benchmarks, showcasing improved reasoning, OCR, and enhanced world knowledge. 🌍 Llava LMM Large MultiModal Model 👁️‍🗨️ Dive deep as we explore Llava's ability to process images with 4x more pixels, elevating visual reasoning and OCR capabilities. We'll demonstrate its efficiency in various scenarios, offering a unique blend of technology and practicality. 🖥️ In today's tutorial, I'll guide you step-by-step on setting up the Llava interface on your local computer. Whether you're a beginner or an AI enthusiast, this guide is tailored for you! 🔍 Watch as we compare Llava and Gemini Pro, highlighting Llava's superior performance in specific benchmarks. We'll also discuss its low training costs and zero-shot Chinese capability. 🔧 Follow along as we navigate through the setup process, from cloning the repository to running the model on your machine. I'll provide all necessary commands and documentation for a seamless experience. 📊 Experience firsthand how Llava's 34 billion parameter model effortlessly interprets and analyzes images, offering detailed insights and accurate OCR results. 👉 Don’t forget to subscribe and click the bell icon for more AI-related content. Like and share this video to help others discover the power of Llava! Timestamps: 0:00 - Introduction to Llava 34 Billion 0:06 - Llava vs Gemini Pro: Benchmark Comparisons 0:36 - Setting Up Llava Interface: Tutorial Start 1:04 - Subscribe and Like Reminder 1:09 - Detailed Performance Analysis 1:55 - Step-by-Step Setup Guide 2:44 - Controller and Worker Setup 3:51 - Starting Gradio User Interface 4:17 - UI Demonstration and Image Analysis 6:00 - Multilingual OCR Test with Tamil Script 6:43 - Final Thoughts and Future Content Code: https://mer.vin/2024/01/llava-model-ui-setup/ Repo: https://github.com/haotian-liu/LLaVA #llava34b #beats
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 Build GCP Infra using Pulumi in YAML format
Build GCP Infra using Pulumi in YAML format
Mervin Praison
2 How to Convert a Pulumi YAML File to Python Format
How to Convert a Pulumi YAML File to Python Format
Mervin Praison
3 Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Mervin Praison
4 Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Mervin Praison
5 AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
Mervin Praison
6 ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
Mervin Praison
7 How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
Mervin Praison
8 Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Mervin Praison
9 Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Mervin Praison
10 Quick & Easy Vicuna Setup on Mac and Linux 💻
Quick & Easy Vicuna Setup on Mac and Linux 💻
Mervin Praison
11 Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Mervin Praison
12 Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Mervin Praison
13 LM Studio: EASIEST way to Run Large Language Models Locally!
LM Studio: EASIEST way to Run Large Language Models Locally!
Mervin Praison
14 AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
Mervin Praison
15 Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Mervin Praison
16 Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Mervin Praison
17 How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
Mervin Praison
18 GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
Mervin Praison
19 Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Mervin Praison
20 MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
Mervin Praison
21 Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Mervin Praison
22 Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Mervin Praison
23 Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Mervin Praison
24 ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
Mervin Praison
25 Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Mervin Praison
26 AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
Mervin Praison
27 AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
Mervin Praison
28 MemGPT: Amazing! External Context for LLM #ai #llm #memgpt  #generativeai #mem #gpt #openai #chatgpt
MemGPT: Amazing! External Context for LLM #ai #llm #memgpt #generativeai #mem #gpt #openai #chatgpt
Mervin Praison
29 GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
Mervin Praison
30 VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
Mervin Praison
31 Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Mervin Praison
32 Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Mervin Praison
33 LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
Mervin Praison
34 ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
Mervin Praison
35 LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
Mervin Praison
36 Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Mervin Praison
37 Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Mervin Praison
38 LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
Mervin Praison
39 INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
Mervin Praison
40 React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
Mervin Praison
41 MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
Mervin Praison
42 MemGPT  + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
MemGPT + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
Mervin Praison
43 AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
Mervin Praison
44 MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
Mervin Praison
45 🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
Mervin Praison
46 AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
Mervin Praison
47 AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
Mervin Praison
48 Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Mervin Praison
49 AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
Mervin Praison
50 LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
Mervin Praison
51 Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Mervin Praison
52 Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Mervin Praison
53 Promptfoo: How to Test Your LLM ? 🚀  VERY EASY!
Promptfoo: How to Test Your LLM ? 🚀 VERY EASY!
Mervin Praison
54 Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Mervin Praison
55 Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Mervin Praison
56 Pydantic: How to use LLM to convert unstructured data to structured data?
Pydantic: How to use LLM to convert unstructured data to structured data?
Mervin Praison
57 AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
Mervin Praison
58 OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
Mervin Praison
59 GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
Mervin Praison
60 GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
Mervin Praison

Related Reads

📰
I compared the real cost of running LLMs on AWS - here's when each option makes sense
Learn when to use each AWS option for running LLMs in production and understand their cost implications
Dev.to · Jerzy Kopaczewski
📰
Building a Character-Level Bigram Language Model from Scratch with PyTorch
Learn to build a basic character-level bigram language model from scratch using PyTorch, understanding the fundamentals of neural language modeling
Dev.to · Mohamed Heni
📰
Running NVIDIA Nemotron 3.5 ASR Locally with parakeet.cpp (and how it beat Whisper on my laptop)
Run NVIDIA Nemotron 3.5 ASR locally for offline speech-to-text capabilities without relying on cloud services or incurring API bills
Medium · LLM
📰
When Does a Prompt Become an Undocumented Program?
Learn to identify when a prompt becomes an undocumented program and why it matters for effective AI integration in analyst work
Dev.to · Yura Solovey

Chapters (11)

Introduction to Llava 34 Billion
0:06 Llava vs Gemini Pro: Benchmark Comparisons
0:36 Setting Up Llava Interface: Tutorial Start
1:04 Subscribe and Like Reminder
1:09 Detailed Performance Analysis
1:55 Step-by-Step Setup Guide
2:44 Controller and Worker Setup
3:51 Starting Gradio User Interface
4:17 UI Demonstration and Image Analysis
6:00 Multilingual OCR Test with Tamil Script
6:43 Final Thoughts and Future Content
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →