Meta Releases AI Coding Model Code Llama 70B; Calls It ‘Largest’ and ‘Best-Performing’ in Llama Family

Code Llama 70B scored 53 percent in accuracy on the HumanEval benchmark and 62.4 percent on the MBPP benchmark, beating GPT 3.5 in both metrics.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 31 January 2024 12:46 IST
Highlights
  • Code Llama 70B is free for research and commercial use
  • Meta’s Code Llama 70B is built on Llama 2 foundational model
  • It was trained on 1 trillion tokens of code and code-related data

Code Llama 70B is available in the foundational model version, as well as Python and Instruct versions

Photo Credit: Meta

Meta has recently released Code Llama 70B, the latest update to the company's open-source artificial intelligence (AI) coding model. Announcing the release, the California-based tech conglomerate called it “the largest and best-performing model in the Code Llama family.” As per the company's report, Code Llama 70B scored 53 percent in accuracy on the HumanEval benchmark, highlighting capabilities nearing OpenAI's GPT 4 that scored 67 percent. The latest AI assistant joins the company's existing coding models Code Llama 7B, Code Llama 13B, and Code Llama 34B.

Meta CEO Mark Zuckerberg announced Code Llama 70B via a Facebook post and said, “We're open sourcing a new and improved Code Llama, including a larger 70B parameter model. Writing and editing code has emerged as one of the most important uses of AI models today. [..] I'm proud of the progress here, and looking forward to including these advances in Llama 3 and future models as well.”

Advertisement

Code Llama 70B is available in three versions — the foundational model, the Code LLama - Python, and Code Llama - Instruct, as per Meta's blog post. Python is for the specific programming language and Instruct has natural language processing (LNP) capabilities, which means you can use this even if you do not know how to code.

The Meta AI coding assistant is capable of generating both codes and natural language responses, the latter being important for explaining codes and answering queries related to them. The 70B model has been trained on 1 trillion tokens (roughly 750 million words) of coding and code-related data. Like all LLama AI models, Code Llama 70B is also free for research and commercial purposes. It is hosted on Hugging Face, a coding repository.

Coming to benchmarks, the company has posted its scores in accuracy and compared them against all rival coding-focussed AI models. On the HumanEval benchmark, 70B scored 53 percent and on the Mostly Basic Python Programming (MBPP) benchmark, it received 62.4 percent. In both benchmarks, it has outscored OpenAI's GPT 3.5 which received 48.1 percent and 52.2 percent, respectively. GPT 4 posted only its HumanEval accuracy scores online and netted 67 percent, edging the Llama Code 70B parameter by a fairly healthy margin.

Advertisement

In August 2023, Meta released Code Llama, which was based on the Llama 2 foundational model and trained specifically on its coding-based datasets. It accepts both codes and natural language for prompts and can generate responses in both, as well. Code Llama can generate, edit, analyse, and debug codes. Its Instruct version can also help users understand the codes in natural language.


Is the Samsung Galaxy Z Flip 5 the best foldable phone you can buy in India right now? We discuss the company's new clamshell-style foldable handset on the latest episode of Orbital, the Gadgets 360 podcast. Orbital is available on Spotify, Gaana, JioSaavn, Google Podcasts, Apple Podcasts, Amazon Music and wherever you get your podcasts.
Affiliate links may be automatically generated - see our ethics statement for details.
 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Further reading: Meta, Artificial intelligence, AI
Advertisement

Related Stories

Popular Mobile Brands
  1. iPhone 17 Pro Max At Rs. 1,02,900 in Apple 50th Anniversary Sale
  2. These Four Motorola Phones Are Now Eligible to Get Android 17 Beta Updates
  3. Vivo T5 Pro 5G Confirmed to Launch in India Soon With These Features
  4. Samsung Galaxy A57 5G: Smart Choice That Redefines Mid-Range Value
  5. Here's When the Oppo K15 Pro Series Could Be Launched in India
  1. Microsoft Releases New AI Models That Can Generate Images, Audio and Transcribe Text
  2. Redmi K Pad 2, New Redmi Laptops Tipped to Launch Alongside Redmi K90 Ultra
  3. Google Pixel 10 Users Can Now Play Steam Games Offline via GameNative 0.9.0
  4. Circle Unveils cirBTC Token to Expand Bitcoin’s Role in DeFi Ecosystem
  5. Honor 600 Series Could Launch Soon as Company Starts Teasing Debut of a New Phone
  6. Microsoft AI Chief Wants to Deliver State-of-the-Art AI Models by 2027: Report
  7. Infinix GT 50 Pro Leak Shows Design, Cooling, Gaming Features Ahead of Anticipated Launch
  8. Samsung Galaxy Z Fold 8, Galaxy Z Flip 8 to Stick With Older M13 OLED Panels: Report
  9. Crypto Hack Losses Drop to $168.6 Million in Q1 2026 Despite Ongoing Risks
  10. Google Vids Will Now Let All Users Generate Veo 3.1 AI Videos for Free, New Features Added
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.