laitimes

Open source! Meta releases the CodeLlama machine learning system

author:Old Lu programmer

Meta released the Code Llama machine learning system for generating and interpreting code, a move that caused a stir in the fierce field of artificial intelligence. The company chose to open source this innovation to further advance the field of artificial intelligence.

Known for its innovative and open approach, Meta has previously released a series of AI models for generating text, translating languages and creating audio. Today, they extend this effort to the realm of code, using open-source Code Llama to generate code in a variety of programming languages, including Python, C++, Java, PHP, TypeScript, bash, c, and esma.

Open source! Meta releases the CodeLlama machine learning system

Code Llama is based on the Llama text generation model that generates and interprets code for specific natural languages, especially English. In a blog post shared by Meta with TechCrunch, they said: "At Meta, we believe that AI models, especially large language models for coding, benefit the most from an open approach. Open models for code can drive new technologies that improve people's lives. By releasing code models like CodeLlama, the entire community can assess its capabilities, identify issues, and fix vulnerabilities.

Open source! Meta releases the CodeLlama machine learning system

There are several versions of Code Llama, including one optimized for Python and one fine-tuned to understand instructions. These models are trained using datasets from the network's exposed resources, focusing on subsets of data that contain code. Models range in size from 7 billion to 34 billion parameters and are trained using 500 billion code tags. Python-specific versions are fine-tuned on 100 billion Python code markings. The instruction understanding version is fine-tuned using feedback from human annotators to produce answers to questions that are "useful" and "safe."

Open source! Meta releases the CodeLlama machine learning system

Code generation tools can have a huge appeal among programmers and non-programmers alike. GitHub, for example, claims that more than 400 organizations are using Copilot, which makes developers coding 55 percent faster than before. StackOverflow's survey also revealed that 70% of people are already using or planning to use AI coding tools to increase productivity and learning speed. However, as with all forms of generative AI, coding tools can introduce new risks. Studies have shown that engineers who use AI tools are more likely to introduce security vulnerabilities into their applications. In addition, some generational models may be trained under copyrighted or restricted licenses, which may raise intellectual property issues. Meta acknowledges that Code Llama can go wrong in some cases, so developers need to safely test and tweak it before deploying it to an application. Despite the risks, Meta has set relatively loose limits on the deployment of Code Llama, where developers simply agree not to use the model for malicious purposes and will need to apply for a license when deploying it on a platform with more than 700 million monthly active users.

Open source! Meta releases the CodeLlama machine learning system

Meta hopes this initiative will inspire others to use Llama2 to create new innovative tools that will provide more support for research and commercial product development. Meta's Code Llama represents an important advance in artificial intelligence, taking the power of code generation to a new level. Despite some potential risks and challenges, as technology continues to evolve, we can expect to see more innovations and solutions emerge to better meet the needs of developers and users.

Open source! Meta releases the CodeLlama machine learning system
Open source! Meta releases the CodeLlama machine learning system
Open source! Meta releases the CodeLlama machine learning system

Read on