llama2.java--Llama 2 in With One Pure Java 21 File

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • llama2.java (github.com/mukel/llama2.java) walkthrough.
    Also checkout the airhacks.fm podcast with Alfonso: the creator of llama2.java: "LLama2.java: LLM integration with A 100% Pure Java file" 👉 airhacks.fm/#episode_294 📻📡
    Java used in this short: openjdk version "21" 2023-09-19 LTS
    Visual Studio Code used for editing: code.visualstudio.com/
    See you at live, virtual workshops: airhacks.live
    About me: airhacks.industries
    #airhacks
  • НаукаНаука

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

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

    It might be very stupid question. What is llama is?? I'm a beginner😅

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

      There are no stupid questions: 👉 llama.meta.com Thanks for watching && asking!

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

    Don’t you need to put “by meta” in your product name to use it? Wouldn’t every enterprise client hate that?

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

      In the screencast I used the tinystories model. llama2_java also integrates well with mistral.ai and other llama-like models (checkout airhacks.fm/#episode_294) - which is highly appreciated by enterprise companies. In my current projects I'm using AWS Bedrock with Claude v3. Thanks for watching!

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

      What is the purpose of this and what can be done with it? Seems like it just spit out a couple of paragraphs

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

      This PoC example uses huggingface.co/karpathy/tinyllamas/tree/main behind the scenes. If you download the llama2 model (github.com/karpathy/llama2.c#metas-llama-2-models), you get a ChatGPT-like but offline experience without any external dependencies or Python involved. Thanks for watching!