Llama 3 Cheat Sheet: A Complete Guide for 2024

Date:

Share:


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 GPT04 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, 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.

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.

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. 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.



Source link

━ more like this

Boxing Day shopping footfall plummets which is yet another disaster for retailers this festive period – London Business News | Londonlovesbusiness.com

According to MRI Software, high street footfall is down yet again which is another disaster for retailers this festive period....

5 great TV shows you need to watch in January 2025

Table of Contents Table of Contents High Potential season 1B (January 7) Will Trent season 3 (January 7) The Pitt (January 9) Severance season 2 (January 17) The Night...

Oil extends gains for fourth straight session – London Business News | Londonlovesbusiness.com

Crude prices are back on the rise today after yesterday’s holiday, rising by about 0.5% for both Brent and WTI....

There’s a glaring issue with Nothing Phones, and it isn’t pretty

Table of Contents Table of Contents Undone by the standout perk Hello dust, my old foe Flash over substance? I adore Nothing. It’s the first brand that redefined...

At 25, Galaxy Quest celebrates a fandom that no longer exists

Table of Contents Table of Contents More than just a simple Star Trek parody How geek culture changed (for better and worse) The limitations of toxic fandom With...
spot_img