Meta has released a tool called Code Llama, built on top of its Llama 2 large language model, to generate new code and debug human-written work, the company said.
- Home
- Technology
- News
Meta launches own AI code-writing tool: Code Llama
Meta’s entrant into the many code-generating AI models is Code Llama, which also has two other specialized versions for Python and natural language processing.
![GNN Web Desk](/_next/image?url=%2Fimages%2Fplaceholder-maroon.jpg&w=256&q=75)
![Meta launches own AI code-writing tool: Code Llama](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F75750%2Facastro_211101_1777_meta_0001.jpg&w=3840&q=75)
Code Llama will use the same community license as Llama 2 and is free for research and commercial use.
Code Llama, Meta said, can create strings of code from prompts or complete and debug code when pointed to a specific code string. In addition to the base Code Llama model, Meta released a Python-specialized version called Code Llama-Python and another version called Code Llama-Instrct, which can understand instructions in natural language. According to Meta, each specific version of Code Llama is not interchangeable, and the company does not recommend the base Code Llama or Code Llama-Python for natural language instructions.
“Programmers are already using LLMs to assist in a variety of tasks, ranging from writing new software to debugging existing code,” Meta said in a blog post. “The goal is to make developer workflows more efficient so they can focus on the most human-centric aspects of their jobs.”
Meta claims Code Llama performed better than publicly available LLMs based on benchmark testing but did not specifically name which models it tested against. The company said Code Llama scored 53.7 percent on the code benchmark HumanEval and was able to accurately write code based on a text description.
Meta will release three sizes of Code Llama and said its smallest size fits on a single GPU for more low-latency projects.
Code generators have been helping developers work for a while now. GitHub launched Copilot in March, powered by OpenAI’s GPT-4, to quickly write and check code. GitHub Copilot can also rewrite old code to update it. Amazon’s AWS also has CodeWhisperer, which also writes, checks, and updates code. And yes, Google also has a code-writing tool in AlphaCode, but that isn’t out yet.
GitHub’s parent company, Microsoft, and OpenAI are being sued for allegedly violating copyright law with Copilot because the tool can reproduce licensed code.
![Reddit tells communities threatening Elon Musk and DOGE workers to cool down](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129361%2FSTK115_Reddit_04.jpg&w=3840&q=75)
Reddit tells communities threatening Elon Musk and DOGE workers to cool down
- 15 minutes ago
Instances of hate speech against minorities soar in India
- 9 hours ago
![PM Shehbaz arrives in UAE for World Governments Summit](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129356%2Fpm-4-1068x934.jpg&w=3840&q=75)
PM Shehbaz arrives in UAE for World Governments Summit
- 7 hours ago
![President Zardari offers condolences to Prince Rahim, honors Aga Khan’s legacy](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129351%2Fzardari-4-696x400.jpg&w=3840&q=75)
President Zardari offers condolences to Prince Rahim, honors Aga Khan’s legacy
- 8 hours ago
Shah Mahmood Qureshi, Yasmin Rashid indicted in May 9 riots case
- 7 hours ago
Devastating bus crash in Guatemala City kills 51 people
- 6 hours ago
Teenager arrested in Singapore for plotting attack on Muslims
- 10 hours ago
![President Zardari meets Turkish President Erdogan in Istanbul](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129343%2Fasif-ali-zardari-and-turkye-president.jpg&w=3840&q=75)
President Zardari meets Turkish President Erdogan in Istanbul
- 11 hours ago
Elon Musk denies interest in buying TikTok, rejects sale rumors
- 8 hours ago
![Verizon bundles Google AI into its wireless plans for an extra $10](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129358%2FSTK066_VERIZON_A.jpg&w=3840&q=75)
Verizon bundles Google AI into its wireless plans for an extra $10
- 15 minutes ago
![VW and Audi dealers are suing Scout over its no-dealers plan](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129360%2FScout_Terra_concept_1.jpg&w=3840&q=75)
VW and Audi dealers are suing Scout over its no-dealers plan
- 15 minutes ago
![iOS App Store apps with screenshot-reading malware found for the first time](/_next/image?url=https%3A%2F%2Fgnnhd.tv%3A8000%2Fmedia%2F129359%2Fakrales_220309_4977_0324.jpg&w=3840&q=75)
iOS App Store apps with screenshot-reading malware found for the first time
- 15 minutes ago