More

    A Complete Guide for 2024


    Benefits Drawbacks
    Open model can be customized to your business. Meta trained Llama 3 on public information so, like other generative AI, this could create harmful content or brush up against copyright law.
    Generate text or images, especially with the Imagine feature for rapid iteration of images. In our tests, the professional emails Llama 3 generated tended to be a bit vague and fluffy compared to those written by ChatGPT with GPT-3.5.
    Use with your existing cloud provider. As with other generative AI, training Llama 3 can be time and resource-heavy if you plan to customize the model.

    OpenAI may be the more well-known name when it comes to commercial generative AI, but Meta has successfully clawed out a place through open sourcing powerful large language models. Meta revealed its largest generative AI model yet, Llama 3, on April 18, which outperforms GPT-4 on some standard AI benchmark tests.

    What is Llama 3?

    Llama 3 is an LLM created by Meta. It can be used to create generative AI, including chatbots that can respond in natural language to a wide variety of queries. The use cases Llama 3 has been evaluated on include brainstorming ideas, creative writing, coding, summarizing documents and responding to questions in the voice of a specific persona or character.

    The full Llama 3 model comes in four variants:

    • 8 billion parameters pretrained.
    • 8 billion parameters instruction fine-tuned.
    • 70 billion parameters pretrained.
    • 70 billion parameters instruction fine-tuned.

    Llama 3’s generative AI capabilities can be used in a browser or through AI features in Meta’s Facebook, Instagram, WhatsApp and Messenger. The model itself can be downloaded from Meta or from major enterprise cloud platforms.

    When will Llama 3 be released and on what platforms?

    Llama 3 was released on April 18 on Google Cloud Vertex AI, IBM’s watsonx.ai and other large LLM hosting platforms. AWS followed, adding Llama 3 to Amazon Bedrock on April 23. As of April 29, Llama 3 is available on the following platforms:

    • Databricks.
    • Hugging Face.
    • Kaggle.
    • Microsoft Azure.
    • NVIDIA NIM.

    Hardware platforms from AMD, AWS, Dell, Intel, NVIDIA and Qualcomm support Llama 3.

    On July 23, Meta announced Llama 3.1 405B (the most advanced version of Llama 3 yet) and improvements to Llama 3.1 70B and 8B.

    Is Llama 3 open source?

    Llama 3 is open source, as Meta’s other LLMs have been. Creating open source models has been a valuable differentiator for Meta. Meta founder and CEO Mark Zuckerberg explained his take on this philosophy in a July newsroom post.

    SEE: Stanford’s AI Index Report reveals 8 trends for AI in business today. (TechRepublic) 

    There is some debate over how much of a large language model’s code or weights need to be publicly available to count as open source. But as far as business purposes go, Meta offers a more open look at Llama 3 than its competitors do for their LLMs.

    Is Llama 3 free?

    Llama 3 is free as long as it is used under the terms of the license. The model can be downloaded directly from Meta or used within the various cloud hosting services listed above, although those services may have fees associated with them.

    The Meta AI start page on a browser offers options for what to ask Llama 3 to do.
    The Meta AI start page on a browser offers options for what to ask Llama 3 to do. Image: Meta / Screenshot by Megan Crouse

    Is Llama 3 multimodal?

    Llama 3 is not multimodal, which means it is not capable of understanding data from different modalities such as video, audio or text. Meta plans to make Llama 3 multimodal in the near future.

    Llama 3’s improvements over Llama 2

    To make Llama 3 more capable than Llama 2, Meta added a new tokenizer to encode language much more efficiently. Meta souped Llama 3 up with grouped query attention, a method of improving the efficiency of model inference. The Llama 3 training set is seven times the size of the training set used for Llama 2, Meta said, including four times as much code. Meta applied new efficiencies to Llama 3’s pretraining and instruction fine-tuning.

    Since Llama 3 is designed as an open model, Meta added guardrails with developers in mind. A new guardrail is Code Shield, which is intended to catch insecure code the model might produce.

    What’s next for Llama 3?

    Meta plans to:

    • Add multiple languages to Llama 3.
    • Expand the context window.
    • Generally boost the model’s capabilities going forward.

    Meta is working on a 400B parameter model, which may help shape the next generation of Llama 3. In early testing, Llama 3 400B with instruction tuning scored 86.1 on the MMLU knowledge assessment (an AI benchmark test), according to Meta, making it competitive with GPT-4. Llama 400B would be Meta’s largest LLM thus far.

    Llama 3’s place in the competitive generative AI landscape

    Llama 3 competes directly with GPT-4 and GPT-3.5, Google’s Gemini and Gemma, Mistral AI’s Mistral 7B, Perplexity AI and other LLMs for either individual or commercial use to build generative AI chatbots and other tools. About a week after Llama 3 was revealed, Snowflake debuted its own open enterprise AI with comparable capabilities, called Snowflake Arctic.

    The increasing performance requirements of LLMs like Llama 3 are contributing to an arms race of AI-enabled PCs that can run models at least partially on-device. Meanwhile, generative AI companies may face increased scrutiny over heavy compute needs, which could contribute to worsening climate change.

    Llama 3 vs GPT-4

    Llama 3 outperforms OpenAI’s GPT-4 on HumanEval, which is a standard benchmark that compares the AI model’s ability to generate code with code written by humans. Llama 3 70B scored 81.7, compared to GPT-4’s score of 67.

    However, GPT-4 out-performed Llama 3 on the knowledge assessment MMLU with a score of 86.4 to Llama 3 70B’s 79.5. Llama 3’s performance on more tests can be found on Meta’s blog post.

    Should your organization use Llama 3?

    Presuming you have already decided that generative AI is right for your business, choosing whether to use Llama 3 will probably come down to availability. Llama 3 can be used for free and customized within limits more so than its competitors.

    Llama 3 may be more effective than its rivals like GPT-4 or Claude 3 for coding. However, Llama 3 has other competitors in the coding space. For example, GitHub recently debuted Copilot Workspace, which is customized for coding and can create code based on natural language prompts.

    Llama 3 may be good for your organization if you want a general purpose, open source family of AI models.

    https://assets.techrepublic.com/uploads/2024/04/AdobeStock_781969564_Editorial_Use_Only.jpg



    Source link
    Megan Crouse

    Latest articles

    spot_imgspot_img

    Related articles

    spot_imgspot_img