Metaverse
Meta’s Llama 2: Why open-source LLMs are the joker in the generative AI pack – Crypto News
Leslie D’Monte
The Generative AI race just got hotter with Meta releasing the second version of its free open-source large language model, Llama 2, for research and commercial use, thus providing an alternative to the pricy proprietary LLMs sold by OpenAI like ChatGPT Plus and Google Bard while giving a boost to open source LLMs.
Developers began flocking to LLaMA–Meta’s open-source LLM that was released in February (https://ai.meta.com/blog/large-language-model-llama-meta-ai/). Researchers made more than 100,000 requests for Llama 1, according to Meta. LLaMA requires “far less computing power and resources to test new approaches, validate others’ work, and explore new use cases”, according to Meta. Meta made LLaMA available in several sizes (7B, 13B, 33B, and 65B parameters — B stands for billion) and had also shared a LLaMA model card that detailed how it built the model, very unlike the lack of transparency at OpenAI.
The Generative Pre-trained Transformer series (GPT-3), on the other hand, has 175 billion parameters while GPT-4 was rumored to have been launched with 100 trillion parameters, a claim that was dismissed by OpenAI CEO Sam Altman. Foundation models train on a large set of unlabelled data, which makes them ideal for fine-tuning a variety of tasks. For instance, ChatGPT based on GPT 3.5 was trained on 570GB of text data from the internet containing hundreds of billions of words, including text harvested from books, articles, and websites, including social media.
However, according to Meta, smaller models trained on more tokens—pieces of words—are easier to re-train and fine-tune for specific potential product use cases. Meta says it has trained LLaMA 65B and LLaMA 33B on 1.4 trillion tokens. Its smallest model, LLaMA 7B, is trained on one trillion tokens. Like other LLMs, LLaMA takes a sequence of words as input and predicts the next word to generate text recursively. Meta says it chose a text from the 20 languages with the most speakers, focusing on those with Latin and Cyrillic alphabets, to train LLaMa.
The newly-released Llama 2, according to Meta, is a collection of pretrained and fine-tuned LLMs, ranging from 7 billion to 70 billion parameters. Meta has also released Llama 2-Chat, a fine-tuned version of Llama 2 that is optimized for dialogue with the same parameter ranges. Meta claims that these models “have demonstrated their competitiveness with existing open-source chat models, as well as competence that is equivalent to some proprietary models on evaluation sets we examined” but acknowledges that they still lag other models like OpenAI’s GPT-4.
One may note, though, that scraping of data has become a thorny issue and the reason for many class-action suits too. In a 157-page class action lawsuit filed on June 28 in the US District Court, Northern District of California, the plaintiffs alleged that the defendants have used “unlawful and harmful conduct in developing, marketing, and operating their AI products including ChatGPT-3.5 , ChatGPT-4.0, Dall-E, and Vall-E”, which use “stolen private information” from hundreds of millions of internet users, including children of all ages, without their informed consent or knowledge, and continue to do so to develop and train the products (https://www.livemint.com/news/india/why-is-musk-angry-and-why-is-openai-being-sued-11688448802931.html).
Meta says Llama 2 has been trained on a mix of data from publicly-available sources, which does not include data from Meta’s products or services. The company adds that it has made an effort to remove data from certain sites known to contain a high volume of personal information about private individuals. Llama 2 was trained on 2 trillion tokens of data “as this provides a good performance–cost trade-off, up-sampling the most factual sources in an effort to increase knowledge and dampen hallucinations”, according to Meta. It, however, adds that since the training corpus was mostly in English, the model may not be suitable for use in other languages.
The AI model and its new version of Llama 2 will be distributed by Microsoft through its Azure cloud service and will run on the Windows operating system (https://www.livemint.com/ai/artificial-intelligence/meta-joins-hands -with-microsoft-for-its-latest-ai-model-llama-2-likely-to-beat-chatgpt-and-bard-11689698965564.html). It’s also available on Amazon Web Services (AWS), Hugging Face and other providers too, Chief Scientist at Meta Yann LeCun tweeted soon after the release.
According to Jim Fan, senior AI scientist at Nvidia, Llama 2 is likely to cost a little over $20 million to train. He believes that Meta has done “an incredible service to the community” by releasing the model with a commercially-friendly license. “AI researchers from big companies were wary of Llama-1 due to licensing issues, but now I think many of them will jump on the ship and contribute their firepower,” Fan tweeted after Llama 2’s release.
Fan also complemented Meta on the human study they did to evaluate its efficiency. Meta’s team did a human study on 4000 prompts to evaluate Llama-2’s helpfulness. “I trust these real human ratings more than academic benchmarks, because they typically capture the “in-the-wild vibe” better,” said Fan. He added, though, that Llama-2 is not as good as GPT-3.5 as yet, mainly because of its weak coding abilities. But he added that “Meta’s team goes above and beyond on AI safety issues. In fact, almost half of the paper is talking about safety guardrails, red-teaming, and evaluations. A round of applause for such responsible efforts!” According to Fan, Llama-2 will dramatically boost multimodal AI and robotics research.
In my earlier column titled ‘Five trends that may change the course of Generative AI models (https://www.livemint.com/mint-top-newsletter/techtalk12052023.html)’, I had spoken about the rise of smaller open- source large language models (LLMs). Big tech companies like Microsoft and Oracle were strongly opposed to open-source technologies but embraced them after realizing that they couldn’t survive without doing so. Open-source language models are demonstrating this once again.
A couple of months back, a Google employee had claimed in a leaked document accessed by Semianalysis that, “Open-source models are faster, more customizable, more private, and pound-for-pound more capable. They are doing things with $100 and 13B params (parameters) that we struggle with at $10M (million) and 540B (billion). And they are doing so in weeks, not months.” The employee believes that people will not pay for a restricted model when free, unrestricted alternatives are comparable in quality. He opined that “giant models are slowing us down. In the long run, the best models are the ones which can be iterated upon quickly. We should make small variants more than an afterthought now that we know what is possible in the < 20B parameter regime".
Google may or may not subscribe to this point of view, but the fact is that open-source LLMs have not only come of age but are providing developers with a lighter and much more flexible option.
As an example, Low-Rank Adaptation of Large Language Models (LoRA) claims to have reduced the number of trainable parameters, which has lowered the storage requirement for LLMs adapted to specific tasks and enables efficient task-switching during deployment without inference latency. “LoRA also outperforms several other adaptation methods, including adapter, prefix-tuning, and fine-tuning”. In simple terms, developers can use LoRA to fine-tune LLaMA.
Pythia (from EluetherAI, which itself is likened to an open-source version of OpenAI) comprises 16 LLMs that have been trained on public data and range in size from 70M to 12B parameters.
Databricks Inc. released its LLM called Dolly in March, which it “trained for less than $30 to exhibit ChatGPT-like human interactivity”. A month later, it released Dolly 2.0–a 12B parameter language model based on the EleutherAI Pythia model family “and fine -tuned exclusively on a new, high-quality human-generated instruction following dataset, crowdsourced among Databricks employees”. The company has open-sourced Dolly 2.0 in its entirety, including the training code, dataset and model weights for commercial use, enabling any organization to create, own, and customize powerful LLMs without paying for API access or sharing data with third parties.
Hugging Face’s BigScience Large Open-science Open-access Multilingual Language Model (BLOOM) has 176 billion parameters and is able to generate text in 46 natural languages and 13 programming languages. Researchers can download, run and study BLOOM to investigate the performance and behavior of recently-developed LLMs.
Falcon, a family of LLMs developed by the Technology Innovation Institute in Abu Dhabi and released under the Apache 2.0 license, comprises two models — the Falcon-40B and the smaller Falcon-7B. According to Hugging Face, “The Falcon models still include some curated sources in their training (such as conversational data from Reddit), but significantly less so than has been common for state-of-the-art LLMs like GPT-3 or PaLM. “
The open-source LLM march has only begun.
Catch all the business news, market news, breaking news Events and Latest News Updates on Live Mint. Download Mint News App to get Daily Market Updates.
Updated: 19 Jul 2023, 02:21 PM IST
-
others6 days ago
CoinGape Announces Winners of the Web3 Innovation Awards 2026 – Crypto News
-
others6 days ago
CoinGape Announces Winners of the Web3 Innovation Awards 2026 – Crypto News
-
Technology1 week agoWill iPhone 17 Pro Max cost nearly ₹2 lakh in India? Leak suggests so – Crypto News
-
Business1 week ago
Crypto Market Analysis: Why Bitcoin, Stocks, and Gold Could Face Heavy Volatility on Monday – Crypto News
-
others6 days ago
CoinGape Announces Winners of the Web3 Innovation Awards 2026 – Crypto News
-
others1 week agoMichael Saylor’s Strategy Boosts US Dollar Reserves, Unveils ‘Bitcoin Monetization Program’ – Crypto News
-
others6 days ago
CoinGape Announces Winners of the Web3 Innovation Awards 2026 – Crypto News
-
Technology6 days agoOppo Reno 16, Reno 16c launched in India: Check price, specs and more – Crypto News
-
Technology6 days agoOppo Reno 16, Reno 16c launched in India: Check price, specs and more – Crypto News
-
others6 days agoBybit Card Launches in Peru: Seamless Spending with Up to 120 USDT in Rewards – Crypto News
-
Cryptocurrency1 week agoXRP investors capitulate at fastest pace since the 2022 crypto crash amid slide to $1 – Crypto News
-
De-fi1 week agoPump.fun’s PUMP Buybacks Top $400M as Token Stays Flat – Crypto News
-
Business1 week ago
SpaceX Stock in Focus as Citadel Securities Flags Major AI Risk – Crypto News
-
others1 week ago
Ripple Is “Planting Seeds” For Global XRP Adoption After CLARITY Act, Says Expert – Crypto News
-
Technology6 days ago
Cathie Wood’s ARK Buys $17.8M In Circle Stock As Price Crashes 13% – Crypto News
-
Technology6 days agoOppo Reno 16, Reno 16c launched in India: Check price, specs and more – Crypto News
-
Business6 days ago
XRP Ledger Hit By Fake OUSD Stablecoin Scam, Community Issues Alert – Crypto News
-
De-fi1 week agoTokenized Asset Value Stalls Even as Stock Token Holders Surge – Crypto News
-
others1 week ago
XRP ETFs vs Bitcoin & Ethereum ETFs: Who’s Winning the Race? – Crypto News
-
Technology1 week agoFlipkart GOAT Sale: iPhone 17 gets ₹12,000 discount, Pro models cheaper by up to ₹22,000 – Crypto News
-
Technology1 week agoGoogle limits Meta’s use of its Gemini AI models: Report – Crypto News
-
Cryptocurrency1 week agoStablecoin demand starts to fade as Visa and Stripe build for the next boom – Crypto News
-
Business1 week ago
Arthur Hayes Bets Big on Synapse’s Hypercall as Deribit’s Rival, SYN Token Jumps 26% – Crypto News
-
others1 week agoWhen Will Bitcoin and Crypto Winter End? Fidelity Details Five Historical Catalysts – Crypto News
-
others1 week ago
Bitcoin Price Prediction as Oil Climbs Above $70 Amid Doubts Over US-Iran Qatar Talks – Crypto News
-
Cryptocurrency1 week agoTrump Discloses Over $1.2 Billion in Crypto Earnings, $50M in Bitcoin Holdings – Crypto News
-
others1 week agoCrypto Strategist Details Bullish Scenario for Solana, Says SOL In ‘Absolutely Massive Spot’ – Here’s His Outlook – Crypto News
-
Cryptocurrency6 days agoCircle CEO says Open USD must break USDC’s network effect before its 140 backers matter – Crypto News
-
Blockchain6 days agoUSDC And Bitcoin Lead $850 Million Exchange Outflow Wave – Crypto News
-
Cryptocurrency6 days agoFrance’s crypto kidnapping surge exposes the personal data trail behind wrench attacks – Crypto News
-
Cryptocurrency6 days agoHow tokenized stocks fail as collateral even when the stock price does not move – Crypto News
-
Blockchain6 days agoUS Accounts for 96% of Global Bitcoin ATM Reductions in First Half of 2026 – Crypto News
-
De-fi1 week ago17 Democratic Senators Seek to Bar CFTC From Funding Prediction-Market State Lawsuits – Crypto News
-
others1 week ago
Has Bitcoin Bottomed? Grayscale Spotlights Impact of CLARITY Act, Fed Decision – Crypto News
-
others1 week agoAnalyst Rekt Capital Issues Bitcoin Price Warning As BTC Faces Key Test At $60,000 – Crypto News
-
Technology1 week agoSamsung Galaxy M47 5G launched in India with 6,000mAh battery, 50MP OIS camera – Crypto News
-
De-fi1 week agoJPMorgan’s Kinexys Blockchain Hits $4 Trillion, Adds Five APAC Currencies – Crypto News
-
others1 week ago
Ripple CEO Brad Garlinghouse Blames Michael Saylor’s Strategy for Crypto Market Slump – Crypto News
-
Business1 week ago
Breaking: Coinbase Announces New Partnership To Boost EU Stablecoin Payments After MiCA License – Crypto News
-
Business1 week ago
Breaking: Coinbase Announces New Partnership To Boost EU Stablecoin Payments After MiCA License – Crypto News
-
Business1 week ago
Breaking: Coinbase Announces New Partnership To Boost EU Stablecoin Payments After MiCA License – Crypto News
-
others1 week ago
Sharplink Buys 10K ETH as Ethereum Closes Three Straight Quarters in Red – Crypto News
-
De-fi1 week ago
Magic Eden, Founders Sued by $ME Buyers Over Broken ‘Utility’ Promises – Crypto News
-
De-fi1 week agoLighter to Burn Repurchased LIT, Fund Staking from Ecosystem Reserve – Crypto News
-
others1 week ago
What’s to Expect for BTC, ETH, XRP, and BNB Prices Ahead of EU MiCA’s Tomorrow Deadline? – Crypto News
-
Business1 week ago
Breaking: Citigroup Cuts Bitcoin and Ethereum Price Targets – Crypto News
-
Business1 week ago
Breaking: Citigroup Cuts Bitcoin and Ethereum Price Targets – Crypto News
-
Business1 week ago
Breaking: Citigroup Cuts Bitcoin and Ethereum Price Targets – Crypto News
-
Cryptocurrency7 days agoTaiwan’s new crypto law gives banks the first real stablecoin advantage – Crypto News
-
Business6 days ago
CoinGape Announces Winners of the Web3 Innovation Awards 2026 – Crypto News
