How to use Llama 3(70B) API for FREE (beats GPT4 for business!)

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 50

  • @RealPoliticsRealPeople-b8g
    @RealPoliticsRealPeople-b8g 10 дней назад

    Sir thank you for this informative short video. Quick question can this be done at scale and automated and provided as a service online and using free resources?

  • @DAvgGamer98
    @DAvgGamer98 5 месяцев назад +5

    Excellent video. Suggesting to optimize the video more in terms of description and keywords so that you end up getting more search traffic. Please keep up the good work.

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад

      Thank you, and thanks for the great suggestion. You are right I will add more to the description

  • @shivamjoshi6648
    @shivamjoshi6648 Месяц назад

    Thank You so much sir for providing such rare information , I can now use powerful ml models for free

  • @knight5970
    @knight5970 5 месяцев назад +4

    That's great. Thanks for the video, sir.

  • @LegionLeague
    @LegionLeague 5 месяцев назад +2

    This seems to be a real game changer for developers, but something feels off. What are caveats of running groq + llama 3 for free? What are limitations? Why is everyone and their grandmother not creating apps with this exact set up right now?

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад +11

      Their is rate limits (I will put them below), so to use it with any volume you would need an enterprise plan. But I still think this is a game changer not just from what groq is doing but in that you now have a top tier model that is open sourced. This allows us to setup our own high performance llm without having to always go through a few megacap tech companies.
      the limits for llama3-70b-8192 are 30 requests per minute & 6,000 tokens per minute. Also max 14,400 requests per day.

  • @ashleylauren4133
    @ashleylauren4133 2 месяца назад

    Thanks! Super helpful and straight to the point

  • @emilsmezinskis7905
    @emilsmezinskis7905 3 месяца назад +2

    why I have this error? export GROQ_API_KEY="my_api_key"
    export: The term 'export' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    • @aiunleashed509
      @aiunleashed509  3 месяца назад +2

      its likely you are trying to run export in a windows environment. Try set GROQ_API_KEY=my_api_key...google setting windows environment variables if that doesn't work

    • @thecompanioncube4211
      @thecompanioncube4211 17 часов назад

      You're in windows. Export command is for linux/macos. Google the ways

  • @Tprakh-iw6qt
    @Tprakh-iw6qt 2 месяца назад +1

    Thanks a lot. It was truly helpful

  • @mohamedalichakroun6967
    @mohamedalichakroun6967 2 месяца назад +1

    Thanks , but It can extract data from images ?
    I tried llava but it gave me a bad result
    Always say that the image provided doses not have good resolution ?
    Can you please make a video about that like you did with gpt4 for conversion img to json

    • @aiunleashed509
      @aiunleashed509  2 месяца назад

      I don't think you can use this method for AI vision. Working on a video about AI vision with Claude

  • @MengLu-k6i
    @MengLu-k6i 10 дней назад +1

    Super super good!!!!

  • @Shiffo
    @Shiffo Месяц назад +1

    Is your data secure if you run it through Groq? i want to use llama on excel data but don’t want to leak information.

    • @aiunleashed509
      @aiunleashed509  Месяц назад

      personally, I use Groq for more proof of concept type projects, and do not send sensitive data. A key note from Groq:
      Notwithstanding the restriction on licensing set forth in section 4, Content Available through the Services, User Data shall be owned by you and is not retained or used by Groq other than to perform the Generative AI Services hereunder.
      Also, groq.com/security/

  • @GurbyTheGreat
    @GurbyTheGreat 5 месяцев назад +5

    If it's free your prompt content is being saved. 70b costs lots of money to run on a server like this, it's not free!

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад +7

      You make a good point, nothing is truly free. However, I still think what meta is doing by open sourcing a top tier model is a big deal. It allows the entire universe of cloud providers to host llama, not just being stuck with a few big tech companies gatekeeping. Also puts downward pressure on AI API pricing in general.

    • @jonahsatheesh5346
      @jonahsatheesh5346 3 месяца назад +3

      So what if the prompts are saved, it just makes the model better

    • @jurassicthunder
      @jurassicthunder 3 месяца назад

      ​@@jonahsatheesh5346data is the new oil. your personal data is actually worth money. you are trading it to use the product.

    • @thecompanioncube4211
      @thecompanioncube4211 17 часов назад

      Agreed. But for learning purpose it's good. For actual enterprise application your company will bear cost of hosting of Api

  • @LucaTV296
    @LucaTV296 28 дней назад +1

    it says the term export is not recognized can some one help me? untile 1:42 everything was working

    • @aiunleashed509
      @aiunleashed509  10 дней назад

      Hey sorry for the late reply. My best advice is use cursor AI code editor and put the error you get in the chat. It will likely fix it right away

    • @LucaTV296
      @LucaTV296 9 дней назад

      @@aiunleashed509 ok im currently not home but when i will get home i will write it

  • @KoratNewsTH
    @KoratNewsTH 3 месяца назад

    so amazing! Thank you so much

  • @pacific7852
    @pacific7852 2 месяца назад

    Hi , is it imp to download the model and do the setup or just calling api in backend is enough to get ai response does meta provide the api service since i dont know python I rely on api only 💀

    • @aiunleashed509
      @aiunleashed509  2 месяца назад

      No you don't need to download the model. In this video it's run in the cloud with groq(not meta directly).

  • @JackFlas
    @JackFlas 5 месяцев назад

    Great vid! I could manage to make it work, but not with all the code you gave. Either it writes an empty .md or else I erase some of the code and gives me the cv on the output console but it doesn´t create the .md file.
    This is the error I get: "line 36, in
    output_file.write(completion.choises[0].message.content)
    AttributeError: 'Stream' object has no attribute 'choises'"
    Could you give me some hints?

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад

      Hey Thanks for watching. I will post a link to the GitHub with the starter code shortly. Noticed you have a typo in the word choices, should be: completion.choices[0].message.content

  • @definitelynorandomvideos24
    @definitelynorandomvideos24 5 месяцев назад +1

    Any idea what the rate limits are? Couldn't find that information on google :/ I only saw the max tokens per request.

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад +3

      Yes the limits for llama3-70b-8192 are 30 requests per minute & 6,000 tokens per minute. Also max 14,400 requests per day.

    • @ianbraganza3065
      @ianbraganza3065 5 месяцев назад

      How much data can be transferred per request? I'm a newbie

    • @aiunleashed509
      @aiunleashed509  5 месяцев назад

      @@ianbraganza3065 6000 tokens per minute. A token is about 3 characters of text, so around 18k characters per minute

  • @8wed
    @8wed 29 дней назад

    how to add this api in notion

  • @PalkiaOwnsYou
    @PalkiaOwnsYou 4 месяца назад +1

    Hi,
    Is there a way for the code from this video to be posted?

    • @aiunleashed509
      @aiunleashed509  4 месяца назад

      Yes, here it is: github.com/AI-Unleashed/GroqResume

  • @mauricemaeterlinck8799
    @mauricemaeterlinck8799 3 месяца назад

    Amazing. Thank you. got my sub :)

  • @Yuri-wk8rk
    @Yuri-wk8rk 5 месяцев назад

    Thank you, please post source code next time ! :)) I havу tested it, works perfect

  • @lifewithG-bengs
    @lifewithG-bengs 2 месяца назад +1

    Wait what so this is completely free?

  • @MedhanshSharma
    @MedhanshSharma Месяц назад

    i want to use it in spring boot project how to do that

    • @aiunleashed509
      @aiunleashed509  Месяц назад +1

      At a high level you want to implement a service class that will handle the API calls(the code from this video would go in that class). Then use the service in your controllers or other components. ChatGPT or Claude could walk you through it in some more detail, good luck!

  • @yulukagigantemuriel4181
    @yulukagigantemuriel4181 3 месяца назад +1

    You're awesome!

    • @aiunleashed509
      @aiunleashed509  3 месяца назад +1

      Thanks, comments like this keep me going. You're awesome too!

  • @all_in_java9347
    @all_in_java9347 2 дня назад

    thanks

  • @playgirl44
    @playgirl44 2 месяца назад

    when i do the 'python project.py' step in terminal it doesnt work. how to fix this?