DeepSeek Coder AI 🐍 The Best Coding Model I've Tested? (Open-Source)

Ғылым және технология

In this video, we use a new coding rubric to test a coding-specific LLM called DeepSeek Coder. It's an incredible model that is fine-tuned for coding tasks, and today, we're going to see if it's as good as they say.
Enjoy :)
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewberman.com
Need AI Consulting? ✅
forwardfuture.ai/
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew-berman-youtube
USE CODE "MatthewBerman" for 50% discount
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Links:
Coding LLM Leaderboard - bit.ly/49E7jFH
DeepSeek Coder - deepseekcoder.github.io/
Use RunPod - bit.ly/3OtbnQx
How To Install LLMs on Runpod - • Run ANY LLM Using Clou...
RunPod TextGen UI Template - bit.ly/3EqiQdl

Пікірлер: 307

  • @matthew_berman
    @matthew_berman6 ай бұрын

    What tests should I add to the new coding-specific rubric?

  • @linuxtechrusgaming3479

    @linuxtechrusgaming3479

    6 ай бұрын

    Can you add some regex generation, explanation and regex fixing? Make sure that the questions are unique!

  • @bertilhatt

    @bertilhatt

    6 ай бұрын

    Build an e-commerce store with one item, many, items with features (size, color, material), subscription business; secure back-end.

  • @stickmanland

    @stickmanland

    6 ай бұрын

    CLI based todo app.

  • @jameslafritz2867

    @jameslafritz2867

    6 ай бұрын

    C# code tests, C++ code tests, see if it can create the snake game in Unity Engine or Unreal Engine. I tried this with GPT 4 and it failed, it was able to create the code and tell me step by step how to set things up Unity, but it failed in being able to fix an error in the movement logic. It understood the problem that I described but was unable to come up with a solution.

  • @Moyano__

    @Moyano__

    6 ай бұрын

    React app, Regex, some coding challenge from a page, etc.

  • @DTAL953
    @DTAL9536 ай бұрын

    VS Code tutorial would be great!

  • @jaysonp9426

    @jaysonp9426

    6 ай бұрын

    There's a million of those

  • @ryanfranz6715

    @ryanfranz6715

    6 ай бұрын

    Let’s make it a million and one. I for one don’t find it obvious how to run a local (or in my case cloud) open source coding LLM and plug that into VS code copilot. This would be much better that the existing copilot since you can train on your own code base (and it’s already amazing)

  • @jaysonp9426

    @jaysonp9426

    6 ай бұрын

    @@ryanfranz6715 use pieces

  • @milindgaharwar827

    @milindgaharwar827

    6 ай бұрын

    VSCode tutorial please

  • @liadp3472

    @liadp3472

    6 ай бұрын

    Yes please!

  • 6 ай бұрын

    Yes, please. A tutorial for LLM in VS Code would be great. How do we deploy them, local Vs cloud and how would a basic workflow look like? Thank you 😇

  • @antixdevelopment1416

    @antixdevelopment1416

    6 ай бұрын

    Totally would love a tutorial on setting it up with VSC.. the least amount of money I have to give to microsoft the better.

  • @wrOngplan3t

    @wrOngplan3t

    6 ай бұрын

    100th agree :)

  • @royalcanadianbearforce9841
    @royalcanadianbearforce98416 ай бұрын

    Please make the tutorial, this looks like a ton of fun!

  • @MrHaomich

    @MrHaomich

    6 ай бұрын

    And if possible not only for VSCode but also for neovim. At least if there are neovim plugins for this open source models, please mention it. Cause I use a proprietary plugin for coding and would love to switch to the open source one.

  • @CronoBJS
    @CronoBJS6 ай бұрын

    I love it!! Snake works perfectly! The 7b model is also impressive! Reaching also pretty close to GPT4 for a 7b and its also capable of creating Snake Locally!

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    Crazy, right?

  • @connorhillen
    @connorhillen6 ай бұрын

    I appreciate these overviews, and this is great to see! I teach undergrad CS and before teaching full-time my work was in creative text generation, creative agents, and using AI to support creativity (glad I defended before GPT-2 dropped). I've been hoping to find coding models we could run on our local servers for (at least a subset of) students to eventually use, but don't have the time to keep up this the wild progress without videos like these. +1 for sure on VS Code usage, anything on deployment and practical workflow integration is fantastic. Great vid as always! Oh, and in terms of some niche use cases for different kinds of code benchmarks, beyond generation, code reviews, checking if requirements are met or violated, and checking test case coverage have all been almost fully hallucinations in the limited tests I've done, so these are always appreciated (assuming the model is meant to support instruct)

  • @realCleanK
    @realCleanK5 ай бұрын

    Really appreciate everything you do. Thank you!! Tip delivered!

  • @kurtesimo
    @kurtesimo6 ай бұрын

    For formatting the !=, i think the term is ligature and different fonts can include them. Ligatures are special characters in a font that combine two (or more) troublesome characters into one. For instance, in serifed text faces, the lowercase f often collides with the lowercase i and l. To fix this, the fi and fl are often combined into a single shape (what pros would call a glyph).

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    Awesome, thanks for letting me know.

  • @marcfruchtman9473

    @marcfruchtman9473

    6 ай бұрын

    Ah -- a ligature. Thanks for the info.

  • @Microphunktv-jb3kj

    @Microphunktv-jb3kj

    6 ай бұрын

    "troublesome characters" lool.. is that answer from AI haha.... funny af

  • @pipoviola
    @pipoviola6 ай бұрын

    You are amazing, one of the few channels that I have with all the notifications enabled. Of course, I would love that you make a video with the installation of local VSCode programming assistant. Thank you very much.

  • @seancriggs
    @seancriggs6 ай бұрын

    This was one of the better code testing processes I've seen you do on model's. I don't expect most of them to get things on the first try but after some encouragement. It would be great to see creative and effective ways to use open source llm models to build useful applications.

  • @ZeroIQ2
    @ZeroIQ26 ай бұрын

    I love the direction this is going 🙂 Thanks for sharing 🙂

  • @metafa84
    @metafa846 ай бұрын

    Insane. What parameter model did you use for the test, you didn't say I think? EDIT: If it was the 33B then I think it would be worth the hassle to test the other models or at least the 3B or 7B because that's I think what pretty consumer level hardware can run pretty easily

  • @sergeziehi4816
    @sergeziehi48166 ай бұрын

    My favorite moment by the end of the week when I discover new impressive project with your video 😊. Lovit

  • @theresalwaysanotherway3996
    @theresalwaysanotherway39966 ай бұрын

    a local copilot would be wild if you can get that to work!

  • @ojikutu
    @ojikutu6 ай бұрын

    Thanks for this deepseek video. I have tested it and it really blows my mind. A copilot video will be highly appreciated.

  • @marcfruchtman9473
    @marcfruchtman94736 ай бұрын

    Finally... this is awesome. Thank you for reviewing this model.

  • @SinanAkkoyun
    @SinanAkkoyun6 ай бұрын

    Thank you for doing that multi-turn error testing, that's what all coding LLMs testing should go into!

  • @FreddieMare
    @FreddieMare6 ай бұрын

    Go for it Love t see the Visual Studio off line integration, thank you Matthew

  • @SinanAkkoyun
    @SinanAkkoyun6 ай бұрын

    I love your code model testing!!

  • @kamelsf
    @kamelsf6 ай бұрын

    Awesome video, please make a video about using an open source llm as a copilot on visual studio code. That sounds very interesting.

  • @sned_music
    @sned_music6 ай бұрын

    Amazing. Super duper keen to see how to integrate this as a copilot substitute in VS code!

  • @user-em5oy2cf5d
    @user-em5oy2cf5d6 ай бұрын

    Hey Matthew, Really enjoy your videos. Just a question on the code challenge section. If you change the engineer prompt to "Please find the issues with this code and explain in detail: ". You will find the outcome to be more inline with expectations.

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    Awesome, thanks for sharing this.

  • @s.dotmedia
    @s.dotmedia6 ай бұрын

    Let's get that tutorial, save us some time haha. Love your work Matthew, thanks for your contributions to the AI space.

  • @rickiv7133
    @rickiv71336 ай бұрын

    YES!!!!! VS Tutorial for the win!!!!!

  • @dr.mikeybee
    @dr.mikeybee6 ай бұрын

    Thank you for another interesting video. Please do make a video that implements a local copilot. I use Olama, Litellm, Conda, and VScode on my M1 Mac Mini. I've also installed Autogen and Langchain with this setup. So far, my only problem has been using Docker to run code from Autogen, but it runs fine on the CPU. IMO, you are working on the most important projects for helping the community march towards AGI.

  • @guillermogarciamanjarrez8934
    @guillermogarciamanjarrez89346 ай бұрын

    Really happy that you changed the way you test the coding models, it really hurt me to see you only ask one very basic coding question that every model was getting right and then a super complex question that no model was getting right. With this new format the improvements are more visible. Also would love to see a way to use this as an AI code completion like copilot. (Maybe find a way to use it in Visual Studio as well as Visual Studio code, I've found some projects for VSC code but none for VS :( )

  • @Hagopp
    @Hagopp6 ай бұрын

    Wild! Loved it!

  • @modolief
    @modolief6 ай бұрын

    Love this!

  • @robertputneydrake
    @robertputneydrake6 ай бұрын

    Very good, Sir. Thanks for the video.

  • @thenoblerot
    @thenoblerot6 ай бұрын

    The ≠ formatting is a rendering option. VS code supports it. Under the hood it's still the same text.

  • @luigitech3169
    @luigitech31696 ай бұрын

    Super cool! +1 for a tutorial on the vscode integration, is possible to use a local LLM for coding without the cut and paste in the files?

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    I'm sure it's possible, especially with the VS code integration.

  • @alexbabich2698

    @alexbabich2698

    6 ай бұрын

    @@matthew_berman If you could show us how to have a coding model understand an entire relatively large code base at the same time it would be the biggest leap in AI since chatGPT

  • @itlackey1920

    @itlackey1920

    6 ай бұрын

    I'm going to test this model with the continue vscode plugin. It should work and prevent some copy and paste. I'd love to see other options though. So +1 for a video

  • @frankjohannessen6383
    @frankjohannessen63836 ай бұрын

    The score-results vs GPT-3.5 and GTP4: I'm guessing all the scores are for un-quantized models? It would be interesting to see how the scores were for all different quantized versions of the open models too.

  • @geniusxbyofejiroagbaduta8665
    @geniusxbyofejiroagbaduta86656 ай бұрын

    Thanks for this powerful information

  • @CognitiveComputations
    @CognitiveComputations6 ай бұрын

    You mentioned Phind and I wanna make sure you know that while Phind did release an open model Phind/Phind-CodeLlama-34B-v2 but later iterations have all been proprietary and behind a commercial cloud offering. So when people say "phind is the best" they generally aren't talking about Phind/Phind-CodeLlama-34B-v2 rather they are taking about the proprietary commercial offering.

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    That's really good to know, thanks for sharing. Is there a significant difference between v2 and the subsequent closed-source models?

  • @bobbyboe

    @bobbyboe

    6 ай бұрын

    I asked Phind who it is... and I was told that there is GPT 3.5 under the hood, modified / optimized by the company for coding

  • @CognitiveComputations

    @CognitiveComputations

    6 ай бұрын

    @@matthew_berman it's known to be significantly better, but we don't know how they built it

  • @HunterMayer
    @HunterMayer6 ай бұрын

    Good stuff as per usual. This one hits all my needs... So let's get this.into autogen and see what kind of damage we can do.

  • @skyfistoflight
    @skyfistoflight2 ай бұрын

    Yes, please. A tutorial for LLM in VS Code would be great.

  • @andreaswinsnes6944
    @andreaswinsnes69446 ай бұрын

    Very cool :) Can you make a few videos about AI code assistants for C++ ?

  • @Norfeldt
    @Norfeldt6 ай бұрын

    Vscode tutorial of course - but would like to see the code suggestion/completion feature as well in it

  • @cassandrachristine
    @cassandrachristine6 ай бұрын

    this is AWESOME!

  • @stickmanland
    @stickmanland6 ай бұрын

    I have a suspicion that the snake game was in their training dataset, that's why it always nails it.

  • @JohnChristosMolura

    @JohnChristosMolura

    6 ай бұрын

    very likely.... most of the code gen llms so far have been disappointing... feels like code pairing with a junior fresh out of the uni... id like to see it actually build a proper lambda script that pulls something ... transforms something and serves it... in an optimal manner...

  • @JohnChristosMolura

    @JohnChristosMolura

    6 ай бұрын

    or even better... a snake game but over telnet.... 14.4k style

  • @marcfruchtman9473

    @marcfruchtman9473

    6 ай бұрын

    It might very well be in the training dataset... but it passed almost every test thrown at it... even the "what does this code do" test... which I found to be very impressive. As these models get better and better we need to expand the testing to see if it can handle variations. But... this is so impressive. I don't recall any of the other models that Matthew has tested as doing this well before (even if we take snake out of the equation).

  • @joshuaaurich4555
    @joshuaaurich45556 ай бұрын

    I would be really interested in seeing a video on how to set up this model in VSCode!

  • @agenticmark
    @agenticmark6 ай бұрын

    This is the ONLY model aside from OAI 3.5 and 4 that will actually write good code, python, js, bash, or whatever I have tried. Great Video!

  • @Djungelurban
    @Djungelurban6 ай бұрын

    So what's next on the game test front? Breakout? Space Invaders?

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    🤔

  • @simonmassey8850
    @simonmassey88506 ай бұрын

    Yes please to the VS code open source code pilot. Folks working behind a corporate firewall would be rescued by that!!! 🙏

  • @andrewcameron4172
    @andrewcameron41726 ай бұрын

    When running the aider benchmark tests it also scored very well

  • @TagenigmaLLC
    @TagenigmaLLC6 ай бұрын

    Definitely want to see how you set this up. I wonder if you can ask it to increase the size of the tiles in Snake game without breaking? Aider couldn't do that.

  • @immortalsun
    @immortalsun6 ай бұрын

    Awesome! I want this as an API.

  • @wettissue8340
    @wettissue83406 ай бұрын

    A tutorial for LLMs in VS Code would be super awesome!!

  • @denisprodhomme
    @denisprodhomme6 ай бұрын

    Very impressive !!!

  • @Durexcellent
    @Durexcellent6 ай бұрын

    Would love copilot tutorial

  • @NOTNOTJON
    @NOTNOTJON6 ай бұрын

    As a programmer with 20+ years of experience I can say that now I'm starting to become impressed. The code (in this case quick sort) identification element is extremely valuable on its own. Finally an local AI model has as much smarts as a high schooler.

  • @ArianeQube

    @ArianeQube

    6 ай бұрын

    Running this now on an RTX4090. It works but damn it's slow. So "local" may not be the right word yet.

  • @foobars3816

    @foobars3816

    6 ай бұрын

    @@ArianeQube Do you know what the bottleneck is? Are you sure it is your gpu?

  • @foobars3816

    @foobars3816

    6 ай бұрын

    As a programmer with 16+ years of experience I can say that you sound like you have been sleeping if you think it wasn't interesting before this.

  • @horikatanifuji5038

    @horikatanifuji5038

    6 ай бұрын

    @@foobars3816 As an anime watcher with 0 years of coding experience, I believe he was referring to the code, not artificial intelligence. It's true that Machine Learning is impressive and it's been achieving amazing feats, but the code it was generating by itself meant nothing, at least not until now that it's making some code that can actually be used.

  • @LaravicCode

    @LaravicCode

    6 ай бұрын

    As a programmer with less than 1 year of experience i can say that this is not yet interesting for me.

  • @navneetchoudhary808
    @navneetchoudhary8086 ай бұрын

    hi, pls let us know how to setup the LLM in visual studio as a replacement to copilot. thanks.

  • @ChavyvAkvar
    @ChavyvAkvar6 ай бұрын

    I test this model to beat leetcode. It works like a beast, almost every coding challange is solved even for the hard problems. I guess we have a practical coding model already. Even better, it's open source.

  • @riggitywrckd4325
    @riggitywrckd43256 ай бұрын

    Do that vs studio guide. It sounds great, I will definitely watch it.

  • @user-md2fk3jj1e
    @user-md2fk3jj1e6 ай бұрын

    9:38 - it's just a 'font ligature' feature. working with a special font and modern editors

  • @rahul122112
    @rahul1221126 ай бұрын

    Yes please! Can we please have a tutorial for DS integration in VS or any other IDE. Thanks!

  • @stickmanland
    @stickmanland6 ай бұрын

    Definately the best coder!

  • @ScottWinterringer
    @ScottWinterringer6 ай бұрын

    Did the gguf model get fixed or are you running aws or something?

  • @neugen1019
    @neugen10196 ай бұрын

    Bro how you said that the background is ugly lol😅😂😂 which is true. And that’s the thing I like about you is that you are true to the core, brutally honest. Who can agree

  • @-blackcat-4749
    @-blackcat-47495 ай бұрын

    What software do yu use for video editing?

  • @realCleanK
    @realCleanK5 ай бұрын

    Thanks!

  • @matthew_berman

    @matthew_berman

    5 ай бұрын

    Thank you!!

  • @JulianHarris
    @JulianHarris6 ай бұрын

    Interesting that it used the unittest framework which is pretty much secondary to pytest these days. I would ask it specifically to use pytest. I had this problem all the time when generating python code with tests. It’s also very interesting to generate test fixtures as well with parameters to make really good unit tests. Pytest is awesome.

  • @SharjilPrince
    @SharjilPrince6 ай бұрын

    Yes I need to know how to run this model in vscode on local

  • @albertayoub6861
    @albertayoub68616 ай бұрын

    Hi Matt: I find your videos very informative. Is it possible that DeepSeek was pre-trained to ace the Snake game? I am scientist not an experienced coder. I used DeepSeek locally and was able to get the Snake game to work. However, It failed miserably when I prompted it to create another application (e.g app to analyze stock performance). GPT4 gave me excellent code for the same and other tasks. You may need to refresh your rubric; what do you think?

  • @AI_Escaped
    @AI_Escaped6 ай бұрын

    Yes please do the local coder tutorial!

  • @LowCarbLab
    @LowCarbLab6 ай бұрын

    Yeah, a tutorial for how to install an LLM as a copilot alternative would be fantastic.

  • @amandamate9117
    @amandamate91176 ай бұрын

    please help us how to run in ML Studio this model with what preset? its just not working with any preset and gives garbage.

  • @JavierFausLlopis
    @JavierFausLlopis6 ай бұрын

    Please I would LOVE to see this tutorial in how to do It to run it on local. Thanks a lot for your great work and aim to share knowledge with everybody.

  • @fernandoz6329
    @fernandoz63296 ай бұрын

    First open source LLM into awesome level

  • @nufh
    @nufh6 ай бұрын

    This is really handy.

  • @digitalcivilulydighed
    @digitalcivilulydighed6 ай бұрын

    Hi Matthew, fantastic stuff, please do make a tutorial for this DeepSeek Coder AI in VS Code.

  • @KingErasmos
    @KingErasmos6 ай бұрын

    It would be great if you could briefly discuss the licenses these adopt and the type of hardware you’d need depending on the parameter sizes.

  • @ojikutu

    @ojikutu

    6 ай бұрын

    I run the 6.7B on 3090 using ollama and it's super fast. It's performance is almost indistinguishable from gpt3.5.

  • @Moyano__
    @Moyano__6 ай бұрын

    We need a 70b coding model!!!! It would crush GPT-4

  • @quebono100
    @quebono1006 ай бұрын

    Tutorial +Pointer App, thank you

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    What's +pointer?

  • @quebono100

    @quebono100

    6 ай бұрын

    @@matthew_berman your highlighted mouse pointer

  • @Bjarkus3
    @Bjarkus36 ай бұрын

    How much ram+vram if possible for local inference on the 33B model?

  • @hotdog2c
    @hotdog2c6 ай бұрын

    Could you test the models on strongly types languages instead of dynamically typed languages like Python and JavaScript ?

  • @eyoo369
    @eyoo3696 ай бұрын

    This year: Snake Next year: Optimizing Crysis to run on a raspberry pi

  • @AA-wp8pp
    @AA-wp8pp6 ай бұрын

    When are you gonna release the llm finetune vid?

  • @BurkhardReffeling
    @BurkhardReffeling6 ай бұрын

    I think it'd be super interesting to see if we can get this to work with aider

  • @b3owu1f
    @b3owu1f6 ай бұрын

    Can this be set up on Linux so I can access it within my network at home from a browser (or API tool like Postman)

  • @MagicalTales11
    @MagicalTales116 ай бұрын

    Hey Matthew... is there a model working for 3js yet?

  • @GregTank
    @GregTank6 ай бұрын

    Using it as a VsCode editor would be awesome!!!

  • @jackflash6377
    @jackflash63776 ай бұрын

    Isn't it great to be astonished almost on a daily basis by the progression of AI ? I will have to get this going sometime this weekend to see if it can help me finish up my Inventory management app. One question: Say I wanted to use an LLM to make a local AI for use by my company and website. Can you give an overview of what is required as far as training etc..?

  • @sheriffusman508

    @sheriffusman508

    6 ай бұрын

    I would love to see this... ❤

  • @TPSNS
    @TPSNS6 ай бұрын

    Vs Code Tutorial would be really great

  • @durden0
    @durden06 ай бұрын

    how does gpt4 perform on the coding-specific tests?

  • @jamesantonisenior4855
    @jamesantonisenior48556 ай бұрын

    pretty cool

  • @EliudLamboy
    @EliudLamboy4 ай бұрын

    That'd be great! A tutorial on using it with VS Code

  • @JohnRoodAMZ
    @JohnRoodAMZ6 ай бұрын

    Did you test the base model or the "instruct" version?

  • @hy3na-xyz
    @hy3na-xyz6 ай бұрын

    autogen expert when?!!!

  • @matthew_berman

    @matthew_berman

    6 ай бұрын

    Lol...working on it!!

  • @jojo-gg1iz
    @jojo-gg1iz6 ай бұрын

    it’s a slept on model. Competes very well against the GPT4 coders for sure

  • @autodidact604
    @autodidact6046 ай бұрын

    While it is impressive, it might not mean much. LLM KZreadrs have been using the same tests to evaluate models for the past six months. If I were a model creator, to get some hype, I'd make sure that the model I'm training passes those "tests."

  • @BlauerGMI
    @BlauerGMI6 ай бұрын

    I'd really like to see a video on how to combine an embedding model with something like this. For some reason, (using llama_index) whatever model I use to generate the index/embeddings, it never works together with the model that I want to use to retrieve from the vectorindex (sometimes I get shape/dimension errors, sometime other errors), it's really frustrating!

  • @dustinlorenz3357
    @dustinlorenz33576 ай бұрын

    Your own free local copilot? Hell yeah, that would be interesting!

  • @Vermino
    @Vermino6 ай бұрын

    Dude, i can't believe you have to ask if we want to know how to hook this up to VS code. This would be next level

  • @user-su9mq9uj9s
    @user-su9mq9uj9s6 ай бұрын

    +1 for visual code intergration, would also like to know how it performs on C#, and if I can add the libraries and documentation and preferences what I normally use to this model like embed it. Similar like what you can do in a custom GPT

  • @TheArthurAbbott
    @TheArthurAbbott4 ай бұрын

    Deep seek inf loops so much!

  • @MilesBellas
    @MilesBellas6 ай бұрын

    The first model to create the Snake Game !

  • @nikiiv
    @nikiiv6 ай бұрын

    A tutorial will be highly appreciated, thanks

  • @detdm
    @detdm5 ай бұрын

    Maybe it's good on basic, widely known code like snake. But it fails on something more complex which wasn't included in dataset I guess.

  • @ewasteredux
    @ewasteredux6 ай бұрын

    I am totally new to this but, is there a way to get this to work with GPT4All?

Келесі