Meta launches its own AI code writing tool: Code Llama

2023-08-25

Meta has released a tool called Code Llama, which is developed based on Meta's Llama 2 large language model. This tool can generate new code and debug manually written code.

Code Llama will adopt the same community license as Llama 2 and can be used for research and commercial purposes for free.

Code Llama can create code strings through prompts or improve and debug specified code strings. In addition to the basic version of Code Llama model, Meta has also released a specialized version for Python called Code Llama-Python, as well as a version called Code Llama-Instrct, which can understand instructions in natural language. Meta states that each specific version of Code Llama is not interchangeable, and it is not recommended to use the basic version of Code Llama or Code Llama-Python for natural language instructions.

Meta stated in a blog post, "Programmers have been using LLM to assist with various tasks, from writing new software to debugging existing code. Our goal is to improve the efficiency of developers' workflows so that they can focus on the most human-centric aspects of their work."

Meta claims that Code Llama performs better than publicly available LLM models in benchmark tests, but does not specify which models were tested. The company states that Code Llama achieved a score of 53.7% on the code benchmark test HumanEval and is able to accurately write code based on textual descriptions.

Meta will release three different sizes of Code Llama versions and states that the smallest version is suitable for projects with low latency that use a single GPU.

Code generators have been assisting developers for some time. GitHub introduced Copilot in March this year, which uses OpenAI's GPT-4 to quickly write and check code. GitHub Copilot can also rewrite old code for updates. Amazon AWS also has a tool called CodeWhisperer, which can write, check, and update code. In addition, Google has a code writing tool called AlphaCode, but it has not been released yet.

Microsoft, the parent company of GitHub, and OpenAI are facing a lawsuit over Copilot for alleged copyright infringement, as the tool can replicate copyrighted code.

RECENT AI NEWS

RECENT AI TOOLS