The Evolution of Llama: From Llama 1 to Llama 3.1 | by Luís Roque | Sep, 2024

A Complete Information to the Developments and Improvements within the Household of Llama Fashions from Meta AI

This submit was co-authored with Rafael Guedes.

Meta has launched three main variations of its giant language mannequin (LLM), Llama, together with a minor (if we are able to name it that) replace (model 3.1). The preliminary launch of Llama in early 2023 marked a big step ahead for the open-source neighborhood in pure language processing (NLP). Meta has persistently contributed to this neighborhood by sharing its newest LLM variations.

To make sure correctness, we must always distinguish between open and open-source LLMs. Open-source software program historically makes its supply code out there below particular public use and modification licenses. Within the context of LLMs, open LLMs sometimes disclose mannequin weights and preliminary code. On the similar time, open-source LLMs would additionally share your entire coaching course of, together with coaching knowledge, with a permissive license. Most fashions at present, together with Meta’s Llama, fall below the open LLMs class since they don’t launch the datasets used for coaching.

Llama has undergone three key architectural iterations. Model 1 launched a number of enhancements to the unique Transformer structure. Model 2 applied Grouped-Question Consideration (GQA) in bigger fashions. Model 3 prolonged GQA to smaller fashions, launched a extra environment friendly…