Download Llama 2 using PowerShell Locally | Error Occured

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone in this video I am going to show you how you can download llama 2 models into your windows uh by using Powershell so if you go to the GitHub repository of llama 2 model you can see that in the readme file they have shown few instructions so in which you need to access download.sh file so that download.sh file is in bash is in written in bash so if you don't have a bash in your laptops and you only have Powershell in your laptops so I'm going to show you how you can download uh llama 2 in your machines so first of all to download this you need to go to the Lama page on The Meta websites and from that you need to click on the download model and when you will fill up the details as required by The Meta so you will provide your first name and the second name and email address and after that you will tick mark this that you accept the terms and conditions and after that you submit this form and after a few hours you will get an email from meta which will show the model ways weights and it will provide you with a downloading link so this is my downloading link which is valid for only 24 hours and after 24 hours you need to request another downloading links and during these 24 hours you can access five times each model so this is the uh list of models so for this the step one is to go to The Meta website and fill up this form and wait for five hours once you get your email and after that you need to uh copy this link and follow the next instructions okay if you have received this email and now you want to uh download these models in your laptop so you need to convert this file type I have already converted these files and these are available on the my GitHub so in this git up I have changed these to the uh Powershell commands this is written in the bash but when you follow the my GitHub and you will find these two files which have the Powershell script and by following this Powershell script you can simply access these models so these are five models which we have so without wasting any time let's open me let me open Powershell okay so in this what you will do you will simply go to the this file file load command and in this I have the okay let me adjust the setup I hope you can see this let me adjust the fonts okay from now from here you can see that this is the link to access this repository okay but it will do it will invoke a web request uh if on this address and it will look for the download.sh basically uh on the GitHub uh this is the file download.sh and I am going to access it through my Powershell so I will copy it and I will paste it here and press enter so First Command is successful and after that what I will need I have to go to the second file which is Powershell script so now in this Powershell script you need to make changes as per your email okay from here you can see that it is saying in the model size enter the model name and after that enter the address of hard drive and first of all enter the email address from which you which you received from The Meta basically uh in meta they have provided you with the access so now in this file you need to edit this file and after editing it you will remove this line and enter your URL which you received in this file so from you will simply copy this and paste it here and after that in the model size you will write the model name so these are the model names you can download 7B chat or something like that I will be downloading 7B chat and after that you need to provide the address of hard drive so all of this will be filled here so to perform this I have already uh make changes as per my uh okay let me see I have made changes as per mine web URL so let me fill it okay I have entered my details in here this was the link which I received in the email and this is the model which I am going to download and this is the provided link so from now I will copy this and paste it in the Powershell and we will see what it does here I have pasted it so this is now available in Powershell and I will input it so let's see what it provides us now it is asking for chat GPT sorry chat CBT 7B chat model so what I will do I will write here yes and it will start downloading now it is saying that okay I have got an error basically this error is in my address and the directory which I provided I use the backward slashes instead of this I needed to use the forward slashes so let me correct it I have corrected my mistake so let me again paste it here and press enter and yes so let's see uh okay I have sorted it out basically uh each model was is allowed to download five times in 24 hours they are afterward you need another uh email ID so unfortunately I uh interpreted their Loop and every model I was providing me error and my chances have been completed but the final code is available on my GitHub you can simply put your loading link there and then you can install it properly so I will show you the folders as well I provided it an address but it will it is giving me an error so when I go to my directory it has started downloading the models but these are every model is have a huge size these are Lemma 2 7B chat is approximately 13 GB so it will take some time to download it but from this you can see that every model has started to download it but the downloading cannot be successful in my case only because my limit has been exceeded uh if you are using this link which meta has shared with you and you can simply modify this code as per your demand and you will be able to download these models on Powershell so hopefully you would have liked this video this video was not much successful as I wanted it to be but no worries if you can make minor changes uh into this script you are more than welcome to correct it on my GitHub so I just tried to improve it if you have any other options to run this video on Powershell you can share that in comment as well hopefully you would have liked this video thank you so much
Info
Channel: TunTo
Views: 681
Rating: undefined out of 5
Keywords: large language model, artificial intelligence, machine learning, Llama 2, download Llama 2, download Llama 2 in power shell, download llama 2 locally, ChatGpt vs Llama 2, ai, tmgonda, taimoor muzaffar gondal, tunto, Llama 2 installation, step by step guide to downlaod Llama, Install Llama 2, Download Llama 2 model on windoes, Download Llama 2 model on windows, github of Llama 2, what is Llama 2 model, Learn Llama 2 installation, Llama, hugging face, google Colab, power shell
Id: 7H7hJivcZGg
Channel Id: undefined
Length: 9min 18sec (558 seconds)
Published: Wed Jul 19 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.