Training Your Own AI Model Is Not As Hard As You (Probably) Think

Read about this in more detail in my latest blog post: www.builder.io/blog/train-ai
#ai #developer #javascript #react

Пікірлер: 194

  • @Steve8708
    @Steve87085 ай бұрын

    Read more in my latest blog post: www.builder.io/blog/train-ai

  • @balachandar3360

    @balachandar3360

    4 ай бұрын

    Hi Steve I am building a project on digitizing catalog for a hackathon in your recent video you told you trained a model on detecting images from webpages. if you can open source that it will mean a lot because we are having very less time to complete the project.

  • @saadshajy3849

    @saadshajy3849

    Ай бұрын

    We created a number of GPT powered personal AI assistants for businesess like law, media industry and pretty much for corporate companies where they can integrate internal corporate resources and data securely to retrieve useful information and save 70% cost

  • @Osirisdigitalagency

    @Osirisdigitalagency

    Ай бұрын

    ​@@saadshajy3849 thats nice, could you explain the steps that was taken to train these personal models

  • @tribulusfox3816

    @tribulusfox3816

    Ай бұрын

    Hi Steve, How can I reach you?

  • @JakeLuden
    @JakeLuden5 ай бұрын

    This channel just feels like it’s on another level than the rest dude, in every way. The way you turn intimidating concepts into very easy to follow videos is invaluable. Quickly becoming my absolute favorite dev channel.

  • @PotatoMagnet
    @PotatoMagnet5 ай бұрын

    Dude, you’re soothing to listen to and it’s nice to hear your chain of thought for approaching a problem. Subbed!

  • @PlsDontSuuue

    @PlsDontSuuue

    Ай бұрын

    for real, the moment i open other videos and hear an indian accent its an instant nope for me

  • @elliottchong
    @elliottchong5 ай бұрын

    This is awesome dude! I watched your last video about developing proper AI apps. Your content on AI is top notch, you have opened my eyes to a whole new world of AI development. Much appreciation, keep up with the good job! Thank you :)

  • @matiss.
    @matiss.5 ай бұрын

    Thank you for putting out these type of videos. Each video has covered advanced topic in a simple manner and made me curious about building something simular!

  • @user-ix8kx8lq3e
    @user-ix8kx8lq3e5 ай бұрын

    I was getting stuck on training a chatbot agent using off the shelves LLMs. This video came out at the right time and saved me at least a few days of monkering around. I really like the thought process breakdown instead of just showing jumbo codes like a tutorial channel. You got yourself a sub!

  • @amoledon
    @amoledon5 ай бұрын

    This channel is combination of business, technology and sales training anyone needs to build a start up. Kudos to Steve.

  • @pedroaquino5368
    @pedroaquino53685 ай бұрын

    Simple video, complex concept explained beautifully. Thanks Steve!

  • @lauri2806
    @lauri28065 ай бұрын

    I appreciate this a ton. Since seeing a nice, unique project a guy had with regarding AI, I only thought about applying multiple AI's together trying to get what I need. Now I have some new insight on what I just might be able to do by myself, with my own skills.

  • @Sindoku
    @Sindoku5 ай бұрын

    Man Steve, you are QUICKLY becoming my new favorite person to learn advanced coding techniques from. Please keep up the amazing work!

  • @saadshajy3849

    @saadshajy3849

    Ай бұрын

    We created a number of GPT powered personal AI assistants for businesess like law, media industry and pretty much for corporate companies where they can integrate internal corporate resources and data securely to retrieve useful information and save 70% cost

  • @dynastyduck3799
    @dynastyduck379920 күн бұрын

    So quick and clean, thank you for taking the time to do this; I was trying to understand "Training", and now I know it is a button

  • @yarapolana
    @yarapolana5 ай бұрын

    First time seeing a video by you! Instant follow, really well broken down.

  • @samuelparry5736
    @samuelparry57365 ай бұрын

    I'm interested in the layout hierarchy approach too. What type of model did you use for the layout hierarchy? Do you give it an image and get it to return some HTML / JSON Structure? Or do you transform the existing Figma nodes into some text representation? How did you generate the training data for this step? My initial thoughts would be to provide the model an image (the same screenshot used for the object identification step), and get it to return HTML. Then for the training data, when you take the screenshots of the webpage, you also save off the HTML and provide that as training data for the hierarchy model (maybe after some processing). If you can share, I'd love to learn more!

  • @pollywops9242
    @pollywops92423 ай бұрын

    Amazing I was looking for exactly this info I was super overwhelmed

  • @ericschrdr
    @ericschrdr19 күн бұрын

    Thank you for simplifying and proposing a best solution - great stuff! Subscribed 🤘🤘🤘

  • @noduslabs
    @noduslabs5 ай бұрын

    Your tutorials are great. I also make trainings on a text analysis tool I created so I know when I see good stuff! Thank you! 💪🏼🙏🏼

  • @weiguo9887
    @weiguo98875 ай бұрын

    Exactly what I’d like to learn! Great content! Subbed

  • @divine-favouranigbogu413
    @divine-favouranigbogu4135 ай бұрын

    Thank you for this Steve, you helped me rethink my initial solutiion to a problem I planned to use AI to solve.

  • @Thosch_io
    @Thosch_io5 ай бұрын

    Very interesting! The area of opportunity within the AI sector now is niche AI's that does one specific task very well as it is impossible to compete with general models as OpenAI, Anthropic, Google and other large companies has almost infinite money and resources. This means that quality of the data is as you say essential and one of the best ways to build a moat against competitors. I will definitely keep in mind that I should just write normal code to solve as much as possible before creating my own model. Do you use any open source models or have you made one from scratch? Been fiddling with fine-tuning LLMs such as llama-2 7B myself and I am now considering trying to find a model I can train instead with my own data.

  • @impossibletechie8059
    @impossibletechie80595 ай бұрын

    Would be happy to pay for a complete course on this explain each step in detail

  • @TshDev
    @TshDev5 ай бұрын

    Amazing video, can’t express enough the amount of value it has. Thank you🙇‍♂️😊

  • @franpalokaj
    @franpalokaj3 ай бұрын

    Great stuff Steve, thanks a lot!

  • @stevenanderson7046
    @stevenanderson70465 ай бұрын

    Sick dude, agree 100% thanks for the video!

  • @adicandra9940
    @adicandra99404 ай бұрын

    Everything you build is very inspirational, Steve.

  • @pixelperfectpravin
    @pixelperfectpravin5 ай бұрын

    I appreciate your content and your efforts

  • @shakapaker
    @shakapaker5 ай бұрын

    I'm so grateful for that type of content

  • @dawid_dahl
    @dawid_dahl5 ай бұрын

    Thanks a lot for posting this. Super interesting and valuable.

  • @samuelparry5736
    @samuelparry57365 ай бұрын

    I see Steve post.... I click...

  • @MrThryler444
    @MrThryler4445 ай бұрын

    Between turning to basic code and utilizing an LLM (a large "super" model) for generating customized code, I'd suggest storing both the input and output. Over time, you can train your own smaller LLM with fewer parameters, perhaps 7 or 13 billion, specifically tailored for the language/framework. By collecting user feedback through edits to the code and storing this feedback, you can achieve better results than relying on an expensive "super" model like GPT-4.

  • @LukeOtwell
    @LukeOtwellАй бұрын

    Love the bullet points, and break down of what each task implemented. I would also add that to get things up and running quicker, see if there is an API for certain steps in your workflow i.e. dynamic scraping or object detection. Eden AI is expensive and slow, but if you haven't nailed down the workflow, it can help you try tools and compare services. Great vid!

  • @gabrielcebria1887
    @gabrielcebria18875 ай бұрын

    Thanks, really cool video!! If you don't mind me asking, what sw are you using for the blackboard presentation? sleek!!

  • @samsunforev1846
    @samsunforev1846Ай бұрын

    I was copycatting others project using Openai wrapper, and it didn't feel right to me, but I didn't know what to do instead. Until I came across your channel and now I have a whole new perspective on creating an SaaS AI product. Thanks Steve!

  • @youngmediageeks
    @youngmediageeks5 ай бұрын

    Well done, thank you!

  • @mercedg
    @mercedg3 ай бұрын

    I really liked this video, I’m commenting to boost algo and hopefully get more vids like this

  • @felipeblin8616
    @felipeblin86164 ай бұрын

    Great! Thank for the video. One question. How do you train a help desk with this?

  • @user-vr1hd8of5s
    @user-vr1hd8of5sАй бұрын

    Thanks a lot for this great advice! Cool to see, that the good old "divide and conquer" still is true in the brave new world of AI 😊

  • @RakeshMakhija
    @RakeshMakhija5 ай бұрын

    Super Helpful. Thank you very much

  • @oszi7058
    @oszi70585 ай бұрын

    Amazing work thank you very much

  • @jonan.gueorguiev
    @jonan.gueorguiev5 ай бұрын

    Thanks for sharing that! Actually even more interesting is the other specialized model - layout generating one. Can you share something about it as well? 🙂

  • @MARTIN-101
    @MARTIN-101Ай бұрын

    world class. top tier video. spot on.

  • @abduwahabhasan
    @abduwahabhasan23 күн бұрын

    YT please recommend to me these kinds of videos.

  • @Emmanmanis
    @Emmanmanis2 ай бұрын

    My friend this was a very clear and easy to comprehend video! I know nothing about coding and would like to learn more. Hypothetically if I wanted to develop a AI app. What route would you lay out based on your experience?

  • @JetSoftProHQ
    @JetSoftProHQ5 ай бұрын

    Thanks that showed that training your own AI model is simpler than we might think. We, at JetSoftPro, a software development service, also think that custom AI development can achieve faster, cheaper, and better results than using off-the-shelf large models like OpenAI's GPT-3 or GPT-4.

  • @thalesa4715
    @thalesa47153 ай бұрын

    golben boy, golden content!

  • @Sylarleft
    @SylarleftАй бұрын

    We're building an AI solution at my company. And this is the same conclusion we arrived at! Glad to see another company illustrating the same approach cu

  • 5 ай бұрын

    Hey there! It seems like you've put a lot of effort into learning and applying AI models to solve real-world problems. Your dedication and determination are truly commendable. Keep up the great work and continue exploring new possibilities in the field of AI and machine learning. Your insights and experiences are valuable and can inspire others in the community. Great job!

  • @collectitbydiyversity2442
    @collectitbydiyversity244211 күн бұрын

    Thanks for shearing. Question , how much was the total cost to build your models?

  • @Focus11493
    @Focus11493Ай бұрын

    not sure its possible cause i dont know much about Figma, but thinking about Figma mirror with the ability to mirror the design in the browser, id imagine you can take the generated html via inspection tools and feed that to the model instead which would kill the image detection model training step and really what you end up with is a HTML to React Component translator. its still along the same lines of what you end goal was which was taking the initial Figma design and translating it into code. anyways just food for thought from one dev to another! great vid!

  • @PotatoMan1491
    @PotatoMan14915 ай бұрын

    Perfect explanation depth and usage guidance for noobs like me!

  • @keithchen5467
    @keithchen54673 ай бұрын

    Amazing insights. Can you share more on steps 3 and 4?

  • @alganpokemon905
    @alganpokemon9055 ай бұрын

    this is SICK!!

  • @cagdasucar3932
    @cagdasucar3932Ай бұрын

    I don't understand. Why would you need to run image detection for importing Figma designs? They already have node/element structure. Image block detection is not needed for an importer plugin like this at all. It would be useful if you wanted to build a webpage from mock-ups, not Figma.

  • 28 күн бұрын

    en mantıklı yorum

  • @gemini22581
    @gemini225813 ай бұрын

    Wat model should I use to train a model using my own data for conversational purposes?

  • @shubhamgarg5007
    @shubhamgarg50075 ай бұрын

    Tried the Vertex AI a few times for different projects. The issue is that the endpoint always returns the same prediction irrespective of the input. This happened to me for 3 different projects over the course of last 1.5 years after which I entirely gave up on GCP.

  • @blender_wiki
    @blender_wiki5 ай бұрын

    In the broader context, investing in large-scale language models (LLMs) for natural language understanding may be deemed inefficient and resource-intensive if such capabilities are not a primary requirement. A conventional coding strategy that involves breaking down workflows into modular functions with standardized algorithms, coupled with the integration of smaller machine learning models, is not only more maintainable but also facilitates better evolution. This approach is not only more realistic but also cost-effective in comparison to the utilization of extensive LLMs.

  • @comicsans8278
    @comicsans82785 ай бұрын

    what do you use to create the flowcharts?

  • @bennguyen1313
    @bennguyen13132 ай бұрын

    Any thoughts on tinygrad? Also, do you think that eventually the commercial models will be so much better than an open source model that training your data on your own will be for very niche cases?

  • @deviladvoc
    @deviladvoc27 күн бұрын

    is this ideal for studying especially in an engineering field (specifically electrical)? i noticed even gemini advance have difficulty understanding and solving intermediate problems.

  • @DioArsya
    @DioArsya5 ай бұрын

    all of this journey is just really a *wow🤯💥*

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

    So if you had a couple of computers with say some 3080s sitting around, is it terribly difficult to use those to train on even if it takes a few days or more? I'd be interested in playing around with my one GPU just to see what it can do since it's just sitting around doing nothing. Is python the only way/language that can be used to train models with data? As a go developer, I am rather surprised a much faster runtime language like Go isn't used for something this cpu (and gpu) intensive. With that in mind can you use CPU only if your GPU is low end or does training require GPUs? Subbed btw.. this video was very easy to follow so look forward to more.

  • @N7Tonik

    @N7Tonik

    4 ай бұрын

    I would say training will be always very much faster with a GPU as GPUs are made for parallel computing

  • @geepytee
    @geepytee5 ай бұрын

    Very cool Steve!

  • @STREETSURFER98
    @STREETSURFER983 ай бұрын

    I have some questions. After Training the Model in Google vertex you have a working object Detector. Nice! But How Do you connect the output of the Model (the coordinates of the bounding boxes) to the Code of the Website?

  • @michaelbubnov3306
    @michaelbubnov330611 сағат бұрын

    You messed up a bit your general formula: quality of the model=data quality/censorship. I remember AI Dungeon going from good enough quality to nearly unusable even on paid plan in one update that added censorship.

  • @JustCode39
    @JustCode395 ай бұрын

    this was awesome

  • @karlbarker2912
    @karlbarker29125 ай бұрын

    Steve is one of the great brains in next stage technology ❤️

  • @danielahern3560
    @danielahern35605 ай бұрын

    what headphones are you wearing? do they have a bluetooth microphone that you're using in the video?

  • @aghasaad2962
    @aghasaad29625 ай бұрын

    Hello Steve I am a big fan of your content and it really helps me improve my AI knowledge. I am working on a solution that uses Knowledge base of OPEN AI and data (RAG) from a company , I am using OPEN AI API as brain for the system but eventually its pretty costly and doesnt work perfect even if i use good instructions, answers are pretty random and not consistent, can you guide me with this. Thankyou

  • @aguiremedia
    @aguiremediaКүн бұрын

    So what a solution like this be called or marketed as if one was offering this as a service?

  • @ReflectionOcean
    @ReflectionOcean4 ай бұрын

    - Explore pre-existing models for solutions at 0:53. - Break down complex problems into smaller parts at 0:55. - Test general models to understand their limitations at 1:19. - Consider the costs and feasibility of training large models at 2:17. - Solve as much of the problem as possible without AI at 3:13. - Identify the right model type for your needs at 4:00. - Generate high-quality example data for training at 4:44. - Use tools like Google's Vertex AI for model training at 5:54. - Deploy and test your model with real-world data at 6:46. - Combine specialized AI models and plain code for best results at 8:35. - Utilize LLMs for final customization steps when necessary at 8:47.

  • @olegmikulskiy
    @olegmikulskiy4 ай бұрын

    Steve, you mentioned that it's easy to use some python library to run free LLM image model on PC. Can you show it?

  • @kasvith
    @kasvith5 ай бұрын

    hmm how accurate/good are the results?

  • @user-zr4no9sz8u
    @user-zr4no9sz8u5 ай бұрын

    Is there a similar option of Vertex AI in Microsoft azure.

  • @peter102
    @peter1023 ай бұрын

    very good video. learnt alot

  • @wei48221
    @wei4822112 күн бұрын

    Awesome!!

  • @wayneswildworld
    @wayneswildworld5 ай бұрын

    Can we use the final product?

  • @Idan_Peritz
    @Idan_Peritz5 ай бұрын

    realy like your videos keep going

  • @drkeithnewton
    @drkeithnewton2 ай бұрын

    Hi, Steve. This is really helpful. once you use Vertex AI for your specialized LMM, is it still stored at Google or are you able to download and run locally? Are you constantly making API calls for this one use case, for example?

  • @n111254789

    @n111254789

    Ай бұрын

    Did you ever find out? I can't get a straight answer either.

  • @drkeithnewton

    @drkeithnewton

    Ай бұрын

    @@n111254789 I did not. I guess I'm going to have to build one and find out myself. Wanna partner up?

  • @zeecomedia
    @zeecomedia3 күн бұрын

    awesome!

  • @aketo8082
    @aketo80823 ай бұрын

    Thank you. How can I do that with GPT4ALL? Looking forward for an instruction, how I can work with GPT4ALL and with my own documents and information. And how to train and fine tune my data, if this is possible. Thanks.

  • @user-qp2pb3yy5w
    @user-qp2pb3yy5w3 ай бұрын

    what scraper did you use

  • @debasishtripathy530
    @debasishtripathy5303 ай бұрын

    Sure, here's a table summarizing the key differences between using off-the-shelf large language models (LLMs) and training your own specialized AI model: | **Characteristic** | **Off-the-Shelf LLMs** | **Specialized AI Model** | |---|---|---| | **Cost** | Generally more expensive due to high training and usage costs | Can be more cost-effective, especially for specific use cases | | **Speed** | Can be slower due to model complexity and inference time | Can be faster due to smaller size and focused training | | **Accuracy & Predictability** | May be less accurate and predictable for specialized tasks | Can be more accurate and predictable for specific use cases | | **Customization** | Limited customization options | Highly customizable to specific requirements | | **Data Requirements** | Require large amounts of data for training | May require less data, especially if using transfer learning | | **Training Time** | Can take days or weeks | Can be faster, especially for smaller models | | **Expertise Required** | Requires specialized expertise in AI and ML | Can be more accessible with basic development skills | | **Use Cases** | Suitable for general-purpose tasks | Ideal for specific, well-defined problems | In general, off-the-shelf LLMs are a good starting point for exploring AI solutions and for tasks that require general knowledge and understanding. However, if you have a specific problem that requires high accuracy, predictability, and customization, training your own specialized AI model may be a better option. It's important to carefully consider the trade-offs and requirements of your project before deciding which approach to take.

  • @costathoughts
    @costathoughtsАй бұрын

    Steve you rock it dude !!! Please create one tool to Java legacy projects lol

  • @n3x404
    @n3x4045 ай бұрын

    Very interesting !

  • @lost4468yt
    @lost4468yt2 ай бұрын

    If you were to add an extra network that goes between the smaller ones, it suddenly starts looking (from a high level of course) like the larger scale networks in the brain. The most obvious example would be the brains Default Mode Network.

  • @user-dh9ys6dg1k
    @user-dh9ys6dg1k4 ай бұрын

    is there alternative for Google's Vertex AI ?

  • @pavi013
    @pavi0134 ай бұрын

    I been wondering this, there's so many general models that are just too big and would love to have smaller model that do specific task.

  • @meisherenow
    @meisherenow5 ай бұрын

    Something like...using a dumptruck to deliver a small package is okay if you're doing it once or twice, but if you're starting a delivery service, a little effort to reduce cost is a good idea.

  • @okopyl
    @okopyl5 ай бұрын

    I was able to train YOLOv8s much cheaper than $60. Less than 5. And it was very good.

  • @jeffdavidson5601
    @jeffdavidson56014 ай бұрын

    Wait, did I miss the part where you show how you got the text and other Figma objects?

  • @hidrate3189
    @hidrate31895 ай бұрын

    Thats so tureeee , Video i was looking for , WOuld you mind giving breakdowns , lol i know it need huge time and vakue consumption but i thing we need an community talking about this.

  • @Jjjabes
    @Jjjabes5 ай бұрын

    cool video... subscribed.

  • @burnt1ce85
    @burnt1ce855 ай бұрын

    Thanks for this video. I'm sure you're saving us devs time, headaches and expensive bills from using LLMs

  • @ragtop63
    @ragtop63Ай бұрын

    Here's the kicker: None of this will work for someone who either doesn't know how to code or is a beginner/intermediate coder. If you know just enough programming to know that what a LLM is giving you is either wrong or isn't optimal, but you don't know the solution, there's no way you'll be able to validate the data you want to provide to the custom language model without involving someone (or others) who can help validate that data. At that point, which came first? The chicken or the egg?

  • @guitarhero69
    @guitarhero695 ай бұрын

    im new to this kinda thing but what does LLM mean?? im sorry for asking the dumbest question but can someone recommend more videos like this so i can get a better grasp or whats going on in the video.

  • @user-db9bw5cl1e

    @user-db9bw5cl1e

    5 ай бұрын

    LLM stands for large language models. I presume its self explanatory what that means but a popular example is ChatGPT 3.5 / 4. It runs off of a LLM that takes text input and returns output based on predicting the 'next text' / 'what text should follow'

  • @hidayat1999

    @hidayat1999

    Ай бұрын

    ​@user-db9bw5cl1e it also means that it can only chat right? It is not good for logical discussions like creating code?

  • @kayakMike1000
    @kayakMike10005 ай бұрын

    I want a model that can take video frames from several cameras and identify pathing information.

  • @atifulislamasif7893
    @atifulislamasif78935 ай бұрын

    can anyone tell what is the tool used to draw the flow and diagrams in the vdo?

  • @excalidraw

    @excalidraw

    4 ай бұрын

    us! ❤️

  • @Ma-pz5kl
    @Ma-pz5kl5 ай бұрын

    YEAP data set being clean is the raw quality ingredient for a 3 star michelin receipe. architecture comes second.

  • @smallhat1
    @smallhat14 ай бұрын

    Hey just wondering how much dose it cost to teach and can it do illegal stuff cuz that’s scary if it can

  • @yaizudamashii
    @yaizudamashii5 ай бұрын

    This video is encouraging but at the same time sounds a bit too good to be true. How many images, which you have supervised each one of them, did you have in the training data?

  • @lutfiikbalmajid
    @lutfiikbalmajid5 ай бұрын

    That's cleanest AI generated code from design (figma)