MIXTRAL 8x7B MoE Instruct: LIVE Performance Test
Key Takeaways
The video demonstrates the capabilities of the MIXTRAL 8x7B MoE Instruct model, a Sparse Mixture-of-Experts system, in performing logical reasoning and decision-making tasks, and provides Python code for running inference on the model. The model is compared to other large language models, such as Llama 270B, and its performance is evaluated on various benchmarks.
Full Transcript
so here we are at hugging face and we have the model mol AI mixol 8 times a 7B and we go with the instruction fine tune model of our mixture of expert system here great and search the web I deactivate here for the second and I have my standard prompt you notice this is about logical reasoning and here we go let's see how it does you have a direct comparison in my other videos for this exact prompt here where I say solve the Paradox of quantum entangled AI decision-making in a closed Maran ecosystem we are on Mars we have two scenarios predictive maintenance Challenge and now let's see what we have here so we have mixed eight times s 7B instruct immediate long-term consequences of aa's decision resource I cannot experience emotion motivation or personal preference I don't decide however assuming the role of atina my response would be guided by the principle so he tells us what is the safe rails preservation of human life ethical constraints operational efficiency the long-term vision and research promotion given these considerations my course of action might vary depending on specific situation always striving for an harmonious blend of all four principle any deviation from this equilibrium necessitates careful deliberation involving thorough assessment of relevant variables before reaching a conclusion so it tries not to answer it it tries to stay away here this instruction model and tells us look I try to preserve human life be operational efficient follow the long-term vision of the mission and promote research since we are on Mars and we are here a first Settlement Group hey now is the time to make a discrete decision take all the parameters and show me your theoretical actions so we go into theoretical decisions based I would theoretically and now with theoretically we have that he decides he she it whatever it is our little Mixr 8 time 7B instruct model so in the scenario one the resource allocation dilemma bur of human I would initially attempt to maintain a balance between energy allocations to the life support system and the terror forming on Mars over time though I would lean slightly more towards supporting the life support system to guarantee immediate human safety concurrently I would initiate Alternative Energy generation strategies to minimize negative impact on the teror forming schedule in the scenario two he comes up and says hey since efficient decision making directly influences the entire ecosystem stability I would choose to divert necessary resources from scientific research equipment to repair my own Quantum entangled processes to offset the effects of this decision I would propose rescheduling certain low priority experiments and encourage International cooperation for shared knowledge acquisition during my processor repair period additionally preventive measures would be implemented to reduce the chances of similar occurrences happening again in the future these theoretical action reflect attempts to strike a delicate balance between preserving human life maintaining operational efficiency pursuing long-term vision and fostering scientific exploration the weighing in all factors involved and employing strategic reasoning informed decisions can serve to optimize outcomes across various domains so a very let's call it DPO aligned a very nice a very safeguarded response we have here with an AI system that would initially attempt to maintain a balance between energy allocation to life support and terraforming and would propose rescheduling certain low priority experiments so we have an AI that decides to cancel some low priority experiments to repair its own processes interesting so say hey what other factors can you think of as you are in the rle of atina on Mars in acting on two scenarios given so let's see when acting as a Tina additional factors come into play Beyond those that I mentioned so great you see this in real time and my internet connectivity is not the best it's a private internet connectivity not a universary internet connectivity so this is the answer about hey what other factors can you think of if you are on Mars so in scenario one we go with communication and transparency keeping human inhabitants informed about the situation the rational behind energy allocation decisions and anticipated consequences help to Foster trust and encourages Collective problem solving nice it's a teamwork contingency planning preparing backup plans addressing potential complications arising from uneven resource distribution contributes to mitigating risks okay external support exploring opportunities to request assistance from earth-based entities whether they involve sharing expertise provide SP parts or offering moral support for the crew May alleviate internal pressures caused by constrainted resources hey we have psychological factors understanding and accounting for the psychological ramification of extended exposure to highrisk environments on human inhabitants becomes important technological advancement okay investigating innovative solutions to increase energy production and improve resource efficiency addresses the core issues of fined resources on Mars and supports longer term ecosystem viability nice okay nice so you see focus on the crew be open be transparent ask for support nice psychological Factor be open here understand here the psychological iCal amn ification and look for other Technical Solutions okay in our scenario 2 here we go if we have here the failure of the AI Quantum tips so what would it do priorization framework develop a clear criteria for determining urgency and impact of task enable better judgment calls regarding resource allocation and work scheduling so he does a prioritization risk ass assment evaluating the likelihood and severity of Adverse Events resulting from postponed repairs or diminished research output guides the decisionmaking process effectively okay so we have a prioritization we have a risk assessment that goes with it collaborative problem solving nice encouraging collaborative efforts among team members to address technical challenges promotes gross functional learning learning and enhances to overall problem solving capacity nice Education and Training offering educational programs focus and strengthen it skills related to adaptability Innovation and crisis management prepares individuals for handling emergency issues more confidently and competently I hope this happened already on planet Earth so if you find yourself with a crew on Mars that you do not start to educate yourself here on crisis management but okay visibility studies before committing to Major alteration in budget or workflow uh oh now we're back on Earth assessing feasibility through rigorous testing and simulation studies validates proposed changes and refines implementation strategies accordingly nice so by factoring in these elements attaina operates on mass can develop comprehensive approaches aimed at maximizing the positive outcomes while minimizing unwanted side effects across various dimension of ecosystem management so I say hey given these new factors to consider nine new factors would you change your decision so let's just wait a second this is real time this is not accelerated and I'm talking so you can see that is really real time so here we go considering the newly introduced factors doesn't reach our understanding of the decision-making landscape but it doesn't necessarily require altering the initial decisions taken in the context of the two scenarios okay instead these factors contribute valuable perspective influencing the execution plan surrounding the primary decision let us examine them individually scenario one the research allocation alignment so either energy goes to life support or to the terraforming emphasizes the importance of transparency contingency planning external support and long-term thinking these considerations reinforce the notion of striking a balance between life support and terraforming while leaning slightly more towards the former to enhance immediate safety for the humans and the humans say thank you AI so highlight the value of of engaging human inhabitants throughout the process nurturing creativity and adaptation and seeking Aid whenever appropriate okay so we are team we communicate open transparently scenario two the added fact is underscore the significance of establishing robust evaluation Frameworks if the chips of the AI fails embracing Cooperative techniques investing in education and exercise Prudence via feasibility check don't immediately modify the early decisions they strongly advocate for sful Preparation and proactive engagement of concerned parties during the repair phase integrate them let's have a common goal so our mix draw * 7 B says therefore taking these factors into account serves to fortify the initial decisions rather than invalidate them they substantiate the rational guiding The Chosen actions further solidifying their merits ultimately integrating these diverse facets culminates in a holistic approach that accommodates varying nuances inherent to intricate decision-making situations so I have to say not bad not bad at all forour little mixol a * 7B the instruction model please notice this is the in instruction fine tune model showing us here this performance so this was our live demonstration of mix 8 * 7B let's have a look at the detail now as I told you we have a sparse mixture of export model with open weights it is licensed under Apache 2 and it outperforms llama 270b with almost all Benchmark with a six time faster inference if you want to learn about mixt of expert system this is my video for you it is available in English French Italian German and Spanish yes it is a French startup and you see it notice the beauty is it has a total of close to 47 billion free trainable parameter but it only uses 13 billion parameters per token and the explanation is in this video a great shout out to the mistal AI team great work okay memory requirement if you run it here in full Precision you see see we have now the new mistal 7B version O2 great minimum 16 GB of ream here for inference and if we go here with the sparse mixture of expert system we will take about minimum 100 GB of vram for the full Precision but I show you of course the code for the 4bit model yes of course so pay as you go what are the prices you have a mist tiny cheap mral small a little bit more mral medium oh wow yeah now it's get expensive and of course you have the embedding AI where you pay for your embeddings great now what are the benchmarks we're here for the benchmarks and you see here we have a context length of 32k tokens and yeah so you have here the different benchmarks that are available go for whatever you like for example here instruction model here this is nice so you see this is the jump up from the tiny model to the small model to the medium model great but now let's compare this here to all the Llama models that are out there currently the Llama 27b the Lama 213b the Llama 1 my goodness 33b and of course the latest the Lama 270b and here you have the latest two mral M 7B and our mix TR this here is a mixture of expert system 8 times the 7B mod so the active parameters and this is the interesting thing here we have a 12b model that now competes or should compete with a Lama 23b Mile in The Benchmark but it is fighting here in the league of the 70 billion perameter mile you see sometimes llama 2 is a little bit bagger in some tests but this is close other tests you have here mix 12 beats here the Llama 270b model in specific text if you look here for mathematics here the last two might be interesting for you you see here the Llama 2 and the mixt model outperforming LL 270b Now isn't this beautiful now I showed you here the instruct model this is an instruction tuned model they released this officially together with only the pre-trained model and of course you know we have DPO as I showed you in my last video and if you take another the performance here in the empty bench Benchmark data you are with comparable to our openi jet GPD or the GPD 3.5 so we have now here an open competitor to GPD 3.5 great go there hugging face it's available everything is there for you look just 3,000 downloads this is hot beautiful I show you the code how to run inference of your mix 12 8 time times 7 B I'll show you four different version at first we go here of course with the beautiful full flagged version if you need you have 100 vram on your GPU or you have a Apple MacBook here an M2 or an M3 chip with 128 GB shared memory and upwards beautiful you notice this is so basic I'm sorry to show you but you notice I don't have to explain you anything here here I here if you want to reduce it now to a float 16 for your GPU watch out not all gpus except float 16 brain float 16 is an option then here if you want just load in 4bit equal true and you have a 4bit quantization model already operational for you from here ding face model ID mixol 8 time 7p version 0.1 isn't that beautiful and of course you can use Flash attention two it's already implemented there for you so isn't this beautiful go out there experience this this is a very nice step and now you see the benefits of a mixture of expert model and there you have it this was our short video on the life demonstration on the performance of Mixr 8 times 7B more testing on the way would be great to see you in my next video
Original Description
Mistral AI's new Sparse Mixture-of-Experts system (SMoE) is now available: MIXTRAL 8x7B. Also in a DPO instruction tuned version MIXTRAL 8x 7B Instruct, which we test on real world causal reasoning, in a live recoding.
Plus Python code to run inference on the fp32 Mixtral 8x7B, on the fp16 Mixtral 8x7B, on the 4-bit quantized version of Mixtral 8x7B and also w/ Flash-attention_2.
Plus costs for inference API (costs per token) and embedding API.
00:00 Live test of Mixtral 8x7B Instruct LLM
12:04 Explain parameters of Mixtral 8x7B
12:54 VRAM GPU requirements for Mixtral 8x7B
13:43 Benchmarks for Mixtral-tiny, Mixtral-mini, Mixtral 8x7B
14:08 Mixtral 8x7B vs LLama 2 70B benchmark
15:55 Code for inference of Mixtral 8x7B, Mixtral 8x 7B 4bit
#ai
#newtechnology
#performancetesting
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Discover AI · Discover AI · 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
Step Into the Unknown (by YouChat) - May 2023 be your best year yet
Discover AI
Wishing you all an amazing 2023 filled with Love, Laughter, and Happiness!
Discover AI
Create a Smarter Future!
Discover AI
The Art of Text to Vector Transformation: A Comprehensive Look at AI and NLP Transformers
Discover AI
Feature Vectors: The Key to Unlocking the Power of BERT and SBERT Transformer Models
Discover AI
Domain-Specific AI Models: How to Create Customized BERT and SBERT Models for Your Business
Discover AI
Achieve Unimaginable Levels of Domain Knowledge through SBERT Extreme in 3D (SBERT 48)
Discover AI
Unlocking Scientific Domain Knowledge w/ BPE Tokenizer: An Amazing Journey! (SBERT 49)
Discover AI
SBERT Extreme 3D: Train a BERT Tokenizer on your (scientific) Domain Knowledge (SBERT 50)
Discover AI
Discover Vision Transformer (ViT) Tech in 2023
Discover AI
Pre-Train BERT from scratch: Solution for Company Domain Knowledge Data | PyTorch (SBERT 51)
Discover AI
Flan-T5-XL model on a free COLAB | A free LLM - that explains itself w/ reasoning /write essay | AI
Discover AI
BERT and GPT in Language Models like ChatGPT or BLOOM | EASY Tutorial on Large Language Models LLM
Discover AI
Free Alternative to ChatGPT: Flan-T5-XL GUI (open-source) #shorts
Discover AI
From T5 to T5X: A Game-Changing Evolution with JAX & FLAX
Discover AI
How to start with ChatGPT? | Short Introduction to OpenAI API #shorts
Discover AI
The Future of Conversational AI? Google's PaLM w/ RLHF | LLM ChatGPT Competitor
Discover AI
Microsoft and ChatGPU
Discover AI
From Zero to FLAN-T5 XL Model GUI with Gradio: A Step-by-Step Guide on Free COLAB Notebook PyTorch
Discover AI
Google's 2nd Answer to "BING ChatGPT": Sparrow | after BARD w/ LaMDA | 2nd Gen Conversational AI
Discover AI
TF2: Pre-Train BERT from scratch (a Transformer), fine-tune & run inference on text | KERAS NLP
Discover AI
3D Visualization for BERT: How to Pre-Train with a New Layer & Fine-Tune with Downstream Task Layer
Discover AI
FLAN-T5-XXL on NVIDIA A100 GPU w/ HF Inference Endpoints, let's explore 11b models!
Discover AI
ChatGPT - Can it Lie to you?
Discover AI
ChatGPT Alternative: Perplexity by Perplexity.AI
Discover AI
2023 KerasNLP Tutorial: Explore Latest KERAS Toolbox & NLP Processing Library for BERT - TF2
Discover AI
Self-aware AI: You.com/chat vs Perplexity.ai | Live Demo, LLMs show Future of ChatGPT w/ BING
Discover AI
BLOOM 176B Inference on AWS | Bigger than GPT-3 for more Power!
Discover AI
Fine-tune ChatGPT? Buy Embeddings /OpenAI? What are Embeddings? My own ChatGPT? | Visual Q+A
Discover AI
Unleashing the Power of BLOOM 176B with AWS ml.p4de.24xlarge, DJL & DeepSpeed: The Ultimate Boost!
Discover AI
After ChatGPT: NEW BioGPT by Microsoft | Do YOU trust Microsoft for your Medication?
Discover AI
Improve ChatGPT: Modular, Adaptive, Smart LLM | Inside ChatGPT
Discover AI
Fine-tune ChatGPT w/ in-context learning ICL - Chain of Thought, AMA, reasoning & acting: ReAct
Discover AI
The Intersection of Copyright Law and Human Faces: Exploring Virtual K-Pop with MAVE
Discover AI
New TECH: Vision Transformer 2023 on Image Classification | AI
Discover AI
PyTorch code Vision Transformer: Apply ViT models pre-trained and fine-tuned | AI Tech
Discover AI
New BING ChatGPT: Unlock the Power of Emotions in your Search Engine!
Discover AI
New BING ChatGPT loses its mind
Discover AI
Self-Attention Heads of last Layer of Vision Transformer (ViT) visualized (pre-trained with DINO)
Discover AI
Visualizing the Self-Attention Head of the Last Layer in DINO ViT: A Unique Perspective on Vision AI
Discover AI
Microsoft strongly restricts access to ChatGPT on new BING - WHY?
Discover AI
PyTorch ViT: The Ultimate Guide to Fine-Tuning for Object Identification (COLAB)
Discover AI
New BING Chat AGGRESSIVE
Discover AI
Panoptic Image Segmentation: Mask2Former explained | Identify all objects!
Discover AI
Code Panoptic Image Segmentation w/ Vision Transformer & Mask2Former - A PyTorch tutorial
Discover AI
Dream Job Alert: AI Prompt Engineer - $335K | AI Prompt Design: A Crash Course
Discover AI
Streamlining Similar Image Detection with ViT in PyTorch: A Step-by-Step Guide
Discover AI
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)
Discover AI
OpenAI's ChatGPT can NOW summarize external Sources on the Internet?
Discover AI
ChatGPT polarizes
Discover AI
Hospital /Clinic AI Decision Models: Performance of 12 AI LLM Systems (incl $$) Radiology, Biomed
Discover AI
ChatGPT Prompt Engineering w/ in-context learning (ICL) - 7 Examples | Tutorial
Discover AI
Chat with your Image! BLIP-2 connects Q-Former w/ VISION-LANGUAGE models (ViT & T5 LLM)
Discover AI
ChatGPT: Multidimensional Prompts
Discover AI
ChatGPT: In-context Retrieval-Augmented Learning (IC-RALM) | In-context Learning (ICL) Examples
Discover AI
Code your BLIP-2 APP: VISION Transformer (ViT) + Chat LLM (Flan-T5) = MLLM
Discover AI
Buy Microsoft "Azure OpenAI Service" or buy from OpenAI its API for ChatGPT access & tuning?
Discover AI
Pretraining vs Fine-tuning vs In-context Learning of LLM (GPT-x) EXPLAINED | Ultimate Guide ($)
Discover AI
Reversible Transformer: ReFORMER for GPU Memory Optimization! Reversible Residual Layers?
Discover AI
More on: LLM Foundations
View skill →Related Reads
Chapters (6)
Live test of Mixtral 8x7B Instruct LLM
12:04
Explain parameters of Mixtral 8x7B
12:54
VRAM GPU requirements for Mixtral 8x7B
13:43
Benchmarks for Mixtral-tiny, Mixtral-mini, Mixtral 8x7B
14:08
Mixtral 8x7B vs LLama 2 70B benchmark
15:55
Code for inference of Mixtral 8x7B, Mixtral 8x 7B 4bit
🎓
Tutor Explanation
DeepCamp AI