Why wait for KOSMOS-1? Code a VISION - LLM w/ ViT, Flan-T5 LLM and BLIP-2: Multimodal LLMs (MLLM)

Discover AI · Advanced ·🧠 Large Language Models ·3y ago

Key Takeaways

Introduces a new combination of VISION transformers and Flan-T5 LLMs

Full Transcript

hello Community Microsoft released a new product Cosmos one so let's have a look at this from March 1st 2023 here a beautiful publication from Microsoft about multimodal large language models and they call their system Cosmos one and if you read the paper you think hey there are some nice ideas inside but then you read Microsoft says it plans to make Cosmos one available to the developers and current GitHub page has no cosmos-specific code available and then I remember that I asked you about a week ago if you were interested that we code together some visual language system and I said hey I'm going with a vision Transformer the latest Transformer technology and now not from Microsoft the Bing chat but a flying T5 model from Google so you voted 62 words 2 3 said about yeah show us the code let's code together and one third also said hey yeah we would like to understand a complete Theory how to do this and how we can pre-train or fine-tune those monster systems like Vision Transformer or flying T5 systems and so I started to code and the videos already now so this is the cover of my first video I combined here Vision Transformers with a flying T5 system and the missing part to combine those system is blip2 so beautiful and the second video that's already uploaded to Google not released yet is here a complete code example I code here division Transformer the flying T5 llm and I have here complete code example where we build an app and I'll show you how it works now if you combine this functionality with the result that Microsoft showed here and its Cosmos one paper it is almost identical now if you look at the solution here you see that we use three Transformer we have here a vision Transformer we have here an llm and I use here Transformer architecture and in the middle here the combining element the Q format is also a Transformer so we have apple apple and apple and this is the easy thing because we're gonna freeze now division Transformer and the language Transformer and we have the ability to fine tune each element individually and maybe we do not even need a Microsoft supercomputer Center who does everything for everybody in one step on a supercomputer and I remember when I was looking for a technical solution this was a research paper number 17 and you're not going to believe it it's from Salesforce research and they described blip of course it is from end of January so it's more than one month ago in research this is a year but a very nice idea never thought I would have any Salesforce paper so have a look at this now this here is my YouTube Studio my timeline you see those last two videos are released today for me is March 2nd and you see those videos are already uploaded but they are triggered with a timer and you see that these two videos that I talked to you about let's have a little bit close up you you they would start they would be released on March 8th and March 10. and now reading that Microsoft is not providing the code of Cosmos and not open source decoder anything at all I thought hey maybe you would be interested that I release my two open source video with the code that you can go and you can build it this weekend of course there's another Beauty this system here has a vision Transformer as an individual part that you can go and fine-tune the vision Transformer let's say you are interested on a specific app and this app is only about I don't know military helicopter military weapon system and you have I don't know 1000 pictures of military helicopters and you have about I don't know thousand books about the content of military helicopter so you can train a vision Transformer individually then you go and you train or fine tune your plan T5 architecture and then just combine it with blip 2. so you have the advantage of going step by step we have a modular approach and we do not need this Microsoft Azure super computing we have the ability to fine-tune each system according to your needs of course what comes out is not like a Microsoft everything for everybody this is a highly specialized app that I'm gonna build here with you and it will only know then about military helicopter but for this you have a visual Q and A ability that is second to none so of course T5 and flan T5 there were a lot of questions for my viewers the difference and I have here six videos how to fine tune T5 and flan T5 system so they will start to be released March 16 March 18 March 20 March 24. the first three is about fine tuning P5 and flying T5 llms I show you here the complete code and give you a tutorial in pi torch on a free Call of notebook and then I have a little bit more professional code if you want I show you how you can use this with hugging face accelerate on a multi-gpu or multi-tpu environment and then I have a video where I show you exactly if you're interested in the cost how much does it cost just to fine-tune F9 T5 model with either we go with the three billion parameter the 11 billion parameter model I show you what it costs you so this is my future timeline for the next two three weeks I want to release those videos that you know what is coming up but I just wanted to tell you you know you don't have to wait for Microsoft Cosmos 1 and then everything is only on a Microsoft supercomputer no there are alternatives Technologies available today you can find them you can combine them you can code them you can make them open source available I share my code whatever I learned with you have a look code will be ready when the videos are released will be in a jupyter notebook and you can go and if you're interested if you want in the community tab you can vote now for an early release of my original llam videos so you can build your own Cosmos one in open source this weekend you do not have to wait for some proprietary non-open source application that Microsoft might release to some Developers I hope you enjoyed it and I see you in my next video

Original Description

Proprietary MS KOSMOS-1? Forget it! Vote for an early release of two new videos about a new combination of VISION transformers and Flan-T5 LLMs based on a transformer architecture: VISION - LLM systems (or Multi-modal Large Language Models) short: MLLM. New multimodal Large Language Models combine the transformer architecture of vision and language with an intermittent transformer (a QFormer). Great arxiv pre-print by Salesforce research on BLIP-2 (all rights /credits with them /authors). https://arxiv.org/abs/2301.12597 An alternative w/ ViT and Flan-T5 LLMs (plus interlink BLIP-2) to the proprietary Microsoft KOSMOS-1. Bonus: ViT, Flan-T5 and BLIP-2 are individually to fine-tune. And we will fine-tune the hell out of them for a particular task! And you can fine-tune for additional task later on. Vote for early release in the community tab. #ai #naturallanguageprocessing #vision #finetuning #nlproc #generativeai
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Discover AI · Discover AI · 49 of 60

1 Step Into the Unknown (by YouChat) - May 2023 be your best year yet
Step Into the Unknown (by YouChat) - May 2023 be your best year yet
Discover AI
2 Wishing you all an amazing 2023 filled with Love, Laughter, and Happiness!
Wishing you all an amazing 2023 filled with Love, Laughter, and Happiness!
Discover AI
3 Create a Smarter Future!
Create a Smarter Future!
Discover AI
4 The Art of Text to Vector Transformation: A Comprehensive Look at AI and NLP Transformers
The Art of Text to Vector Transformation: A Comprehensive Look at AI and NLP Transformers
Discover AI
5 Feature Vectors: The Key to Unlocking the Power of BERT and SBERT Transformer Models
Feature Vectors: The Key to Unlocking the Power of BERT and SBERT Transformer Models
Discover AI
6 Domain-Specific AI Models: How to Create Customized BERT and SBERT Models for Your Business
Domain-Specific AI Models: How to Create Customized BERT and SBERT Models for Your Business
Discover AI
7 Achieve Unimaginable Levels of Domain Knowledge through SBERT Extreme in 3D   (SBERT 48)
Achieve Unimaginable Levels of Domain Knowledge through SBERT Extreme in 3D (SBERT 48)
Discover AI
8 Unlocking Scientific Domain Knowledge w/ BPE Tokenizer: An Amazing Journey!  (SBERT 49)
Unlocking Scientific Domain Knowledge w/ BPE Tokenizer: An Amazing Journey! (SBERT 49)
Discover AI
9 SBERT Extreme 3D: Train a BERT Tokenizer  on your (scientific) Domain Knowledge  (SBERT 50)
SBERT Extreme 3D: Train a BERT Tokenizer on your (scientific) Domain Knowledge (SBERT 50)
Discover AI
10 Discover Vision Transformer (ViT) Tech in 2023
Discover Vision Transformer (ViT) Tech in 2023
Discover AI
11 Pre-Train BERT from scratch: Solution for Company Domain Knowledge Data | PyTorch (SBERT 51)
Pre-Train BERT from scratch: Solution for Company Domain Knowledge Data | PyTorch (SBERT 51)
Discover AI
12 Flan-T5-XL model on a free COLAB | A free LLM - that explains itself w/ reasoning /write essay | AI
Flan-T5-XL model on a free COLAB | A free LLM - that explains itself w/ reasoning /write essay | AI
Discover AI
13 BERT and GPT in Language Models like ChatGPT or BLOOM |  EASY Tutorial on Large Language Models LLM
BERT and GPT in Language Models like ChatGPT or BLOOM | EASY Tutorial on Large Language Models LLM
Discover AI
14 Free Alternative to ChatGPT: Flan-T5-XL GUI (open-source)  #shorts
Free Alternative to ChatGPT: Flan-T5-XL GUI (open-source) #shorts
Discover AI
15 From T5 to T5X: A Game-Changing Evolution with JAX & FLAX
From T5 to T5X: A Game-Changing Evolution with JAX & FLAX
Discover AI
16 How to start with ChatGPT?  | Short Introduction to OpenAI API #shorts
How to start with ChatGPT? | Short Introduction to OpenAI API #shorts
Discover AI
17 The Future of Conversational AI? Google's PaLM w/ RLHF  | LLM ChatGPT Competitor
The Future of Conversational AI? Google's PaLM w/ RLHF | LLM ChatGPT Competitor
Discover AI
18 Microsoft and ChatGPU
Microsoft and ChatGPU
Discover AI
19 From Zero to FLAN-T5 XL Model GUI with Gradio: A Step-by-Step Guide on Free COLAB Notebook PyTorch
From Zero to FLAN-T5 XL Model GUI with Gradio: A Step-by-Step Guide on Free COLAB Notebook PyTorch
Discover AI
20 Google's 2nd Answer to "BING ChatGPT":  Sparrow | after BARD w/ LaMDA | 2nd Gen Conversational AI
Google's 2nd Answer to "BING ChatGPT": Sparrow | after BARD w/ LaMDA | 2nd Gen Conversational AI
Discover AI
21 TF2: Pre-Train BERT from scratch (a Transformer), fine-tune & run inference on text | KERAS NLP
TF2: Pre-Train BERT from scratch (a Transformer), fine-tune & run inference on text | KERAS NLP
Discover AI
22 3D Visualization for BERT: How to Pre-Train with a New Layer & Fine-Tune with Downstream Task Layer
3D Visualization for BERT: How to Pre-Train with a New Layer & Fine-Tune with Downstream Task Layer
Discover AI
23 FLAN-T5-XXL on NVIDIA A100 GPU w/ HF Inference Endpoints, let's explore 11b models!
FLAN-T5-XXL on NVIDIA A100 GPU w/ HF Inference Endpoints, let's explore 11b models!
Discover AI
24 ChatGPT - Can it Lie to you?
ChatGPT - Can it Lie to you?
Discover AI
25 ChatGPT Alternative: Perplexity by Perplexity.AI
ChatGPT Alternative: Perplexity by Perplexity.AI
Discover AI
26 2023 KerasNLP Tutorial: Explore Latest KERAS Toolbox & NLP Processing Library for BERT - TF2
2023 KerasNLP Tutorial: Explore Latest KERAS Toolbox & NLP Processing Library for BERT - TF2
Discover AI
27 Self-aware AI: You.com/chat vs Perplexity.ai | Live Demo, LLMs show Future of ChatGPT w/ BING
Self-aware AI: You.com/chat vs Perplexity.ai | Live Demo, LLMs show Future of ChatGPT w/ BING
Discover AI
28 BLOOM 176B Inference on AWS  | Bigger than GPT-3 for more Power!
BLOOM 176B Inference on AWS | Bigger than GPT-3 for more Power!
Discover AI
29 Fine-tune ChatGPT? Buy Embeddings /OpenAI? What are Embeddings?  My own ChatGPT? | Visual Q+A
Fine-tune ChatGPT? Buy Embeddings /OpenAI? What are Embeddings? My own ChatGPT? | Visual Q+A
Discover AI
30 Unleashing the Power of BLOOM 176B with AWS ml.p4de.24xlarge, DJL & DeepSpeed: The Ultimate Boost!
Unleashing the Power of BLOOM 176B with AWS ml.p4de.24xlarge, DJL & DeepSpeed: The Ultimate Boost!
Discover AI
31 After ChatGPT: NEW BioGPT by Microsoft | Do YOU trust Microsoft for your Medication?
After ChatGPT: NEW BioGPT by Microsoft | Do YOU trust Microsoft for your Medication?
Discover AI
32 Improve ChatGPT: Modular, Adaptive, Smart LLM | Inside ChatGPT
Improve ChatGPT: Modular, Adaptive, Smart LLM | Inside ChatGPT
Discover AI
33 Fine-tune ChatGPT w/  in-context learning ICL - Chain of Thought, AMA, reasoning & acting: ReAct
Fine-tune ChatGPT w/ in-context learning ICL - Chain of Thought, AMA, reasoning & acting: ReAct
Discover AI
34 The Intersection of Copyright Law and Human Faces: Exploring Virtual K-Pop with MAVE
The Intersection of Copyright Law and Human Faces: Exploring Virtual K-Pop with MAVE
Discover AI
35 New TECH: Vision Transformer 2023 on Image Classification | AI
New TECH: Vision Transformer 2023 on Image Classification | AI
Discover AI
36 PyTorch code Vision Transformer: Apply ViT models pre-trained and fine-tuned  | AI  Tech
PyTorch code Vision Transformer: Apply ViT models pre-trained and fine-tuned | AI Tech
Discover AI
37 New BING ChatGPT: Unlock the Power of Emotions in your Search Engine!
New BING ChatGPT: Unlock the Power of Emotions in your Search Engine!
Discover AI
38 New BING ChatGPT loses its mind
New BING ChatGPT loses its mind
Discover AI
39 Self-Attention Heads of last Layer of Vision Transformer (ViT) visualized (pre-trained with DINO)
Self-Attention Heads of last Layer of Vision Transformer (ViT) visualized (pre-trained with DINO)
Discover AI
40 Visualizing the Self-Attention Head of the Last Layer in DINO ViT: A Unique Perspective on Vision AI
Visualizing the Self-Attention Head of the Last Layer in DINO ViT: A Unique Perspective on Vision AI
Discover AI
41 Microsoft strongly restricts access to ChatGPT on new BING - WHY?
Microsoft strongly restricts access to ChatGPT on new BING - WHY?
Discover AI
42 PyTorch ViT: The Ultimate Guide to Fine-Tuning for Object Identification (COLAB)
PyTorch ViT: The Ultimate Guide to Fine-Tuning for Object Identification (COLAB)
Discover AI
43 New BING Chat AGGRESSIVE
New BING Chat AGGRESSIVE
Discover AI
44 Panoptic Image Segmentation: Mask2Former explained | Identify all objects!
Panoptic Image Segmentation: Mask2Former explained | Identify all objects!
Discover AI
45 Code Panoptic Image Segmentation w/ Vision Transformer & Mask2Former - A PyTorch tutorial
Code Panoptic Image Segmentation w/ Vision Transformer & Mask2Former - A PyTorch tutorial
Discover AI
46 Dream Job Alert: AI Prompt Engineer - $335K  |  AI Prompt Design: A Crash Course
Dream Job Alert: AI Prompt Engineer - $335K | AI Prompt Design: A Crash Course
Discover AI
47 Streamlining Similar Image Detection with ViT in PyTorch: A Step-by-Step Guide
Streamlining Similar Image Detection with ViT in PyTorch: A Step-by-Step Guide
Discover AI
48 Microsoft's CEO in Trouble   #shorts
Microsoft's CEO in Trouble #shorts
Discover AI
Why wait for KOSMOS-1? Code a VISION - LLM w/ ViT, Flan-T5 LLM and BLIP-2: Multimodal LLMs (MLLM)
Why wait for KOSMOS-1? Code a VISION - LLM w/ ViT, Flan-T5 LLM and BLIP-2: Multimodal LLMs (MLLM)
Discover AI
50 OpenAI's ChatGPT can NOW summarize external Sources on the Internet?
OpenAI's ChatGPT can NOW summarize external Sources on the Internet?
Discover AI
51 ChatGPT polarizes
ChatGPT polarizes
Discover AI
52 Hospital /Clinic AI Decision Models: Performance of 12 AI LLM Systems (incl $$) Radiology, Biomed
Hospital /Clinic AI Decision Models: Performance of 12 AI LLM Systems (incl $$) Radiology, Biomed
Discover AI
53 ChatGPT Prompt Engineering w/ in-context learning (ICL)  - 7 Examples | Tutorial
ChatGPT Prompt Engineering w/ in-context learning (ICL) - 7 Examples | Tutorial
Discover AI
54 Chat with your Image!  BLIP-2 connects Q-Former w/ VISION-LANGUAGE models (ViT & T5 LLM)
Chat with your Image! BLIP-2 connects Q-Former w/ VISION-LANGUAGE models (ViT & T5 LLM)
Discover AI
55 ChatGPT:  Multidimensional Prompts
ChatGPT: Multidimensional Prompts
Discover AI
56 ChatGPT:  In-context Retrieval-Augmented Learning (IC-RALM) | In-context Learning (ICL) Examples
ChatGPT: In-context Retrieval-Augmented Learning (IC-RALM) | In-context Learning (ICL) Examples
Discover AI
57 Code your BLIP-2 APP: VISION Transformer (ViT) + Chat LLM (Flan-T5) = MLLM
Code your BLIP-2 APP: VISION Transformer (ViT) + Chat LLM (Flan-T5) = MLLM
Discover AI
58 Buy Microsoft "Azure OpenAI Service" or buy from OpenAI its API for ChatGPT access & tuning?
Buy Microsoft "Azure OpenAI Service" or buy from OpenAI its API for ChatGPT access & tuning?
Discover AI
59 Pretraining vs Fine-tuning vs In-context Learning of LLM (GPT-x) EXPLAINED | Ultimate Guide ($)
Pretraining vs Fine-tuning vs In-context Learning of LLM (GPT-x) EXPLAINED | Ultimate Guide ($)
Discover AI
60 Reversible Transformer: ReFORMER for GPU Memory Optimization! Reversible Residual Layers?
Reversible Transformer: ReFORMER for GPU Memory Optimization! Reversible Residual Layers?
Discover AI

Related Reads

📰
FutureX · Physical AI Daily — Issue 61 (07/18)
Learn about the latest developments in physical AI, including embodied intelligence, humanoid robots, and robotaxi fleets, and how they are being integrated into the physical world
Dev.to AI
📰
Moving Beyond the Prompt
Learn to move beyond basic prompts in LLMs by utilizing context, embeddings, and semantic search to improve model performance and efficiency
Medium · LLM
📰
Moonshot’s Kimi K3 sends AI and semiconductor stocks into a tailspin Moonshot’s Kimi K3 sends AI and semiconductor stocks into a tailspin. China's largest open-weight AI model revives DeepSeek-era fears about the economics of US infrastructure spending.
Moonshot's Kimi K3 AI model sparks concerns about US infrastructure spending and sends AI and semiconductor stocks downward, reviving DeepSeek-era fears.
Reddit r/artificial
📰
Bölüm 1: Veri Hasadı ve Yeni Arayüz Olarak İnsan Bedeni
Explore how AI models' data hunger transforms the human body into a biological hardware and the implications of synthetic data on physical reality
Medium · AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →