Claude-3.5 Sonnet + Qwen2 + ContinueDev : This AMAZING Coding Copilot BEATS Github Copilot & Others!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi welcome to another video who doesn't like co-pilots well at least I like them when I covered the Claude 3.5 Sonet model in my previous video I couldn't resist trying out a co-pilot with it because it's the best model I've ever seen I mean it literally outperforms every model in existence from GPT 40 to Gemini llama 3 and almost every other model it's even better at coding which is amazing to say the least so if we can make it a co-pilot like GitHub co-pilot we should get some pretty amazing results and even outperform GitHub co-pilot which is pretty insane I also asked you guys about it and you said yes so today we'll make a co-pilot that can outperform github's co-pilot by a significant margin apparently GitHub co-pilot still uses open ai's old codex model based on gpt3 which is pretty gross I mean you're paying $10 for that gross model I think you guys are being robbed but today I'm going to help you break free from all those fees and subscriptions instead with Claude we can use their API which only costs you based on the requests you make which is pretty cool I'll be using the continued Dev vs code extension to integrate the cloud API into our editor although the extension suggests using a local model for autoc completion we should still be able to connect the cloud model I'll be showing you how to set up the cloud 3.5 Sonet in both the chat interface and for autoc completion plus I'll also show you the recommended way using a smaller local model for autocom and only using the cloud 3 model in the chat interface this way your API charges will be extremely low since it won't need to contact the cloud API every time and will only connect when necessary which is pretty cool I'll also show you how to set up shell GPT with it so that you can get a similar interface to github's co-pilot shell suggestion tool this way you'll get all the features you might need if you're switching away from GitHub co-pilot so let's get it installed now first go to claud's API site create an account if you don't have one and sign in once signed in create an API key and save it they also give you a free $5 credit if you want to use that anyway once you have the API key let's first install shell GPT since that's the easiest to do that just run this command pip install shell GPT once you run it shell GPT will start getting installed after it's installed run this command this is required to make it work with anthropics model once it's installed run the sgpt command at this point you'll be asked for the API key just enter your claw API key that you just got after you enter it you'll see an error you don't need to worry now open the sgpt config file in there turn on the ight llm variable then change the model to CLA 3.5 Sonet like this and save it now you can start using the sgpt command and it should work if you want to generate shell commands directly with it you can use the shell operator if you want to know more about its functions you can check out my shell GPT video now our shell co-pilot is fully configured next we'll need to set up our vs code co-pilot to do that go to your vs code and open the extension tab search for continue Dev and get it installed once done you'll see the continue Dev extension on your sidebar click on it and it will open up select the remote models option and choose the anthropic option in the model section if you don't see the 3.5 Sonet model in the drop- down don't worry just select any model and enter your API key then click on the add option the config file will open automatically in the config file change the model name to CLA 3.5 Sonet and save it now you can start using the chat interface it can generate code and you can use the insert at cursor option to directly put the code in your file you you can also select your code and add it as context you can use the CMD plus I shortcut to generate code directly in your files without going to the chat interface which is pretty cool but many of you might want the autocomplete feature first let me show you how you can use it with Claud and then I'll show you a better way for autoc completion using a local model to save on API costs to use autoc completion with claw go to the config file in the tab autocomplete option change the provider to anthropic and the model to CLA 3.5 Sonet once done save it and the auto complete should start working it's actually pretty cool for autoc completion however autoc completion typically only works for one line and basic stuff so instead we can use the Claude 3.5 Sonet model for generating code and chat purposes and for autoc completion we can use a smaller local model there are multiple options for the local model like deep seek coder 3B star coder and code quen but I prefer the quen 2B model so I'll use that to do this go to AMA site click on the download button choose your operating system and get it installed once done go to the models page click click on the quen 2 model select the one B model and copy the installation command paste it into your terminal and get it installed once installed you'll see the chat interface send a message and check if it works once done go to the settings file change the provider to Al and set the model to quen 21b and save it once done your auto complete should start working and it should be pretty fast I recommend using it this way it will be much faster better and cheaper you can use the CLA 3.5 Sonet model for your main generations and chats which is what we mostly want it's pretty cool to say the least and it's insanely better than github's co-pilot if you use it correctly it can be much cheaper as well overall I really like this setup I'll be using it as my main co-pilot from now on let me know your thoughts about it in the comments if you liked this video consider donating to my Channel Through the super thanks option below give this video a thumbs up and subscribe to my channel I'll see you in the next video till then bye [Music] oh
Info
Channel: AICodeKing
Views: 18,306
Rating: undefined out of 5
Keywords: github copilot alternative, claude-3.5 sonnet, github copilot alternative with claude, claude copilot, coding copilot
Id: Vxsx7Il-KMA
Channel Id: undefined
Length: 8min 2sec (482 seconds)
Published: Sat Jun 22 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.