Spring AI - Run Meta's LLaMA 2 Locally with Ollama 🦙 | Hands-on Guide |

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • #JavaTechie #SpringAI #Ollama #LLaMA2
    👉 In this tutorial I will walk you through the steps to understand how to run LLM locally using ollama & spring ai , We will also work on a hands-on project with the popular LLM, Llama2
    What You Will Learn:
    👉 What is Spring AI?
    👉 What is Ollama?
    👉 What is LLaMA 2 ?
    👉 hands-on project with the popular LLM, Llama2
    Spring documentation : docs.spring.io/spring-ai/refe...
    🧨 Hurry-up & Register today itself!🧨
    Devops for Developers course (Live class ) 🔥🔥:
    javatechie.ongraphy.com/cours...
    COUPON CODE : NEW24
    Spring boot microservice Premium course lunched with 70% off 🚀 🚀
    COURSE LINK : Spring boot microservice course link :
    javatechie.ongraphy.com/cours...
    PROMO CODE : SPRING50
    GitHub:
    github.com/Java-Techie-jt/spr...
    Blogs:
    / javatechie4u
    Facebook:
    / javatechie
    Join this channel to get access to perks:
    th-cam.com/users/javatechiejoin
    🔔 Guys, if you like this video, please do subscribe now and press the bell icon to not miss any update from Java Techie.
    Disclaimer/Policy:
    📄 Note: All uploaded content in this channel is mine and it's not copied from any community, you are free to use source code from the above-mentioned GitHub account.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 53

  • @TheMrtest123
    @TheMrtest123 19 วันที่ผ่านมา +1

    Thanks for starting a series on AI. This is the need of the hour. Thanks for accepting our request for AI demos

  • @SouravDalal1981
    @SouravDalal1981 16 วันที่ผ่านมา +2

    Great job. Will look forward for Vector database with AI integration

  • @dmode1535
    @dmode1535 20 วันที่ผ่านมา +4

    Thanks for posting this sir, I have learn a lot from you. Developers should be the highest paid group of any field because we do more learning than any field. We never stop learning, there is always something new to learn.

    • @itdev7097
      @itdev7097 17 วันที่ผ่านมา

      "Developers should be highest paid group in any field".... exactly the opposite should happen.

  • @_vku
    @_vku 10 วันที่ผ่านมา +1

    Thanks Basant sir, as a developer i like ur video to watch, whenever new leaning required i follow ur video.

  • @gopisambasivarao5282
    @gopisambasivarao5282 12 วันที่ผ่านมา +1

    Thanks Basant. Appreciate your efforts. God bless you!

  • @abdus_samad890
    @abdus_samad890 19 วันที่ผ่านมา +1

    Loved it... Yes you can create more.

  • @grrlgd3835
    @grrlgd3835 20 วันที่ผ่านมา +1

    thanks for this JT. another great video. I'm going to take a look at the ETL framework for Data Engineering. look forward to more content

  • @rabiulbiswas5908
    @rabiulbiswas5908 19 วันที่ผ่านมา

    Thanks for the video. I hope more will come on Spring AI soon.

  • @mayankkumarshaw635
    @mayankkumarshaw635 20 วันที่ผ่านมา +1

    Very nice ❤❤

  • @rajasekharkarampudi2669
    @rajasekharkarampudi2669 20 วันที่ผ่านมา +1

    Great start to the Java AI world bro,
    Will be Waiting for the demos in this playlist on RAG applications using Vector DB, and Function calling,
    Take your time and plan a video on E2E real world projects, deploying it on a server.

  • @SrkSalman416
    @SrkSalman416 20 วันที่ผ่านมา +1

    Very Good Video On Spring-AI. Your content(Videos) like Java Magnet, Its attract very fast.

  • @satyendrabhagbole3746
    @satyendrabhagbole3746 13 วันที่ผ่านมา +1

    Brilliant explanation

  • @psudhakarreddy6548
    @psudhakarreddy6548 19 วันที่ผ่านมา +1

    Thank you

  • @rajkiran4572
    @rajkiran4572 3 วันที่ผ่านมา +1

    Thanks

    • @Javatechie
      @Javatechie  3 วันที่ผ่านมา

      Thanks buddy 🙂👍

  • @ChandraSekhar-jm3sr
    @ChandraSekhar-jm3sr 17 วันที่ผ่านมา +1

    Please share different model videos...they are very helpful

  • @muralikrishna-qh6vg
    @muralikrishna-qh6vg 18 วันที่ผ่านมา +1

    Thank you Basanth, can you please take us to Spring ai with google cloud (like vertexAiGemini) also vertextai with java

  • @petersabraham7423
    @petersabraham7423 19 วันที่ผ่านมา

    Great video. Thank you for always making effort to update us with the latest technologies. I have one issue though, after implementing the generate rest api, my response takes too long, sometimes it takes up to 7minutes and i also noticed that you used GET request while llama "/api/chat" expects a POST request. Is there a particular reason you used a GET request?
    2. Is it possible to train the llama model to recognize and provide responses based on the trained data?

  • @MrSumeetshetty
    @MrSumeetshetty 20 วันที่ผ่านมา +1

    Thanks bro.. You are a good motivation for all developers to keep learning ❤

  • @rishiraj2548
    @rishiraj2548 20 วันที่ผ่านมา +1

    😎👍🏻💯🙏🏻

  • @koseavase
    @koseavase 10 วันที่ผ่านมา +1

    Here comes Spring boot to challenge Python

  • @kappaj01
    @kappaj01 19 วันที่ผ่านมา +1

    Great video. Can you do a RAG solution using the Weaviate Vector DB? I had one with AI 0.8 running, but it has changed so muched to 1.0...

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา +1

      Sure I will give a try as currently I am learning it 😊

  • @driveDoses
    @driveDoses 20 วันที่ผ่านมา +1

    Great start in AI world. I had question If I have an spring boot application and I want ans related to my application data only. how we can achieve that

    • @Javatechie
      @Javatechie  20 วันที่ผ่านมา

      I am not sure will check and update you

  • @liqwis9598
    @liqwis9598 20 วันที่ผ่านมา +1

    Hey basant nice video , can you please teach us how to use RAG functionality in locally running llms

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา +1

      I will do this

    • @liqwis9598
      @liqwis9598 19 วันที่ผ่านมา

      @@Javatechie thank you as always 🙂

  • @atulgoyal358
    @atulgoyal358 วันที่ผ่านมา

    I got below issue
    Error: model requires more system memory (8.4 GiB) than is available (3.9 GiB)
    docker exec -it ollama ollama run llama2

  • @moinakdasgupta3341
    @moinakdasgupta3341 19 วันที่ผ่านมา +1

    Hi JT, I am running both ollama and my spring boot app using docker compose, but app is getting 500 response when hitting ollama api. This is fixed only when I manually run ollama run llama2 or ollama pull llama2 in the ollama container. Is there any way to automatically pull the model while starting from docker compose? I tried command: ["ollama", "pull", "llama2"] in docker compose file with no luck :(

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา

      not sure buddy, I will check and update you

  • @flutterdevfarm
    @flutterdevfarm 20 วันที่ผ่านมา +1

    Sir, are you launching any latest course spring boot & microservices?
    The course which is listed on your site, is it Live?

    • @attrayadas8067
      @attrayadas8067 19 วันที่ผ่านมา +1

      It's pre-recorded!

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา

      It was recorded session of past live class currently I don't have any plan for new batch but If I have any plan in future then definitely I will update first in my TH-cam channel for my audience 😀

  • @theniteshkumarjain
    @theniteshkumarjain 20 วันที่ผ่านมา +1

    Do we need tokens to generate the response? Also are these models for free?

    • @Javatechie
      @Javatechie  20 วันที่ผ่านมา

      No tokens required yes these models are open-source

    • @theniteshkumarjain
      @theniteshkumarjain 20 วันที่ผ่านมา

      @@Javatechie thanks

  • @vaibhavshetty3781
    @vaibhavshetty3781 19 วันที่ผ่านมา +1

    getting this error while ,
    Error: llama runner process has terminated: signal: killed

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา

      At what step are you getting this error?

    • @vaibhavshetty3781
      @vaibhavshetty3781 19 วันที่ผ่านมา

      @@Javatechie while running
      docker exec -it ollama ollama run llama2

    • @vaibhavshetty3781
      @vaibhavshetty3781 19 วันที่ผ่านมา

      does it require any higher machine spec

    • @Javatechie
      @Javatechie  19 วันที่ผ่านมา

      No specification required

    • @abhishekkumar2020
      @abhishekkumar2020 15 วันที่ผ่านมา

      getting same error

  • @2RAJ21
    @2RAJ21 10 วันที่ผ่านมา

    I got below issue
    verifying sha256 digest
    writing manifest
    removing any unused layers
    success
    Error: model requires more system memory (8.4 GiB) than is available (2.9 GiB)
    after running -> docker exec -it ollama ollama run llama2
    how to solve this ?? please help me..

    • @atulgoyal358
      @atulgoyal358 วันที่ผ่านมา

      I got same issue ? did you got solution.

    • @2RAJ21
      @2RAJ21 วันที่ผ่านมา

      @@atulgoyal358 I did not touch after this issue.
      I think increase docker memory size.

    • @atulgoyal358
      @atulgoyal358 วันที่ผ่านมา

      @@2RAJ21 Need to check how to increase docker memory size

    • @2RAJ21
      @2RAJ21 วันที่ผ่านมา

      @@atulgoyal358 no idea bro..
      I am confused with ram or memory..

    • @atulgoyal358
      @atulgoyal358 วันที่ผ่านมา

      @@2RAJ21 Need to configure .wslconfig file in %userprofile% increase RAM and processor then it will work..

  • @CenturionDobrius
    @CenturionDobrius 20 วันที่ผ่านมา +1

    As usual, great job ❤
    Please, if possible, work on your microphone voice quality recording

    • @Javatechie
      @Javatechie  20 วันที่ผ่านมา

      Hello buddy thanks for your suggestion actually mic quality is good and things are echoing so will definitely try to improve it