Meta's new Code Llama 70B takes aim at Github's Copilot — it's far better than the original 5-month old Code Llama but I can't help but wonder if devs will love it

Code on screen
(Image credit: Shutterstock)

Meta AI has released a new version of its advanced code generation model, Code Llama 70B. One of the largest open-source AI models for code generation, the new platform is a significant upgrade from its predecessor, making it both significantly faster and more accurate.

Code Llama 70B has been trained on 500 billion tokens of code and code-related data, and has a large context window of 100,000 tokens, allowing it to process and generate longer and more complex code across a range of languages including C++, Python, PHP and Java.

Based on Llama 2, one of the biggest general-purpose large language models (LLM) in the world, Code Llama 70B has been fine-tuned for code generation using a technique called self-attention which can better understand code relationships and dependencies.

Uphill battle

Another of the highlights of the new model is CodeLlama-70B-Instruct, a variant fine-tuned for understanding natural language instructions and generating code accordingly.

Meta AI's CEO Mark Zuckerberg stated, “The ability to code has also proven to be important for AI models to process information in other domains more rigorously and logically. I’m proud of the progress here, and looking forward to including these advances in Llama 3 and future models as well.”

Code Llama 70B is available for free download under the same license as Llama 2 and previous Code Llama models, allowing both researchers and commercial users to use and modify it.

Despite the improvements, Meta has the uphill challenge of trying to win over developers currently using GitHub Copilot, the number one AI tool for developers created by GitHub and OpenAI. Many devs are also suspicious of Meta and its data collection processes, and a lot aren’t fans of AI generated code in the first place. This can often require serious debugging, and produce code that non-programmers are happy to use but don't understand, leading to problems down the line.

More from TechRadar Pro

Wayne Williams
Editor

Wayne Williams is a freelancer writing news for TechRadar Pro. He has been writing about computers, technology, and the web for 30 years. In that time he wrote for most of the UK’s PC magazines, and launched, edited and published a number of them too.

Read more
Gemini Code Assist
What is Gemini Code Assist? Everything we know about the AI coding tool
AI Education
AI in 2025: Moving beyond code generation to intelligent development platforms
A laptop screen showing a ChatGPT coding panel
The ChatGPT Mac app just got a massive coding upgrade – and it’s coming to Windows soon
The Google Gemini logo against a black background.
What is Google AI Studio? Everything we know about Google's AI builder
Open AI
OpenAI unveiled image generation for 4o – here's everything you need to know about the ChatGPT upgrade
ChatGPT
ChatGPT wants to write your next novel, and readers and writers alike should be very worried
Latest in Pro
An image of network security icons for a network encircling a digital blue earth.
Why multi-CDNs are going to shake up 2025
A stylized depiction of a padlocked WiFi symbol sitting in the centre of an interlocking vault.
Broadcom warns of worrying security flaws affecting VMware tools
URL phishing
HaveIBeenPwned owner suffers phishing attack that stole his Mailchimp mailing list
Ransomware
Cl0p resurgence drives ransomware attacks to new highs in 2025
Millwall FC The Den
The UK's first football club mobile network is here - but you probably won't guess which team has launched it
Google Chrome
Google Chrome security flaw could have let hackers spy on all your online habits
Latest in News
inZOI promotional material.
inZOI has become the most wishlisted game on Steam, but I wouldn't get too caught up in the hype
Xbox Series X and Xbox wireless controller set to a green background
Xbox Insiders are currently testing a new Game Hub feature that looks useful, but I've got mixed feelings about it
A stylized depiction of a padlocked WiFi symbol sitting in the centre of an interlocking vault.
Broadcom warns of worrying security flaws affecting VMware tools
Microsoft Surface Laptop and Surface Pro devices on a table.
Hate Windows 11’s search? Microsoft is fixing it with AI, and that almost makes me want to buy a Copilot+ PC
Oura Ring 4
Activity tracking on Oura Ring is about to get a whole lot better, but I've got bad news about your step count
Google Pixel Buds Pro 2
Cleaned your Pixel Buds Pro 2 recently? If not, you might be getting worse sound