The Google version of Github Copilot is here!
On May 17, Google announced that Google Colaboratory (Colab) will soon add a new AI coding function-
code generation, code Completion, code chatbots, you name it.
Coupled with the all-cloud Jupyter notebook environment provided by Colab before, developers can easily use Keras, TensorFlow, PyTorch, OpenCV and other frameworks to run on the GPU resources provided by Google. Development of deep learning applications.
And all of this is free! (Paid users can currently experience it early)
At the just-concluded 2023 I/O conference, Google released a solution that can be used in duels PaLM 2, the base model of GPT-4.
Based on PaLM 2, after fine-tuning using a large amount of high-quality code data, the new "Vincent Code" model Codey was born.
These new features of Colab are powered by Codey.
Codey code generation model supports more than 20 coding languages, including Go, Google standard SQL, Java, Javascript, Python and Typescript, etc.
Through real-time code completion and generation, Codey can help users complete development work faster while improving code quality.
The most important thing is that this model is also specially optimized for various functions of Python and Colab.
It can be seen that Google is really attentive to the experience of developers of deep learning applications and Python.
Back in 2021, Github released A preview version of the AI code generation tool Copilot.
In March this year, Copilot Chat, powered by GPT-4, was launched, which can help developers write code and debug in chat mode.
For example, developers can highlight a piece of code in the editor and then let Copilot Chat refactor or debug it.
Code generationGoogle said that Colab with AI support can reduce the burden of developers writing repetitive code, so that developers can focus on more valuable programming content and data science content.
Among them, the highest priority is code generation.
After the upgrade, a new "Generate" button will appear in the notebook of Colab.
Users can enter whatever they want in natural language there, and then AI will generate the corresponding code based on this text prompt.
Code completionWhen entering the code, Colab will provide the next code based on the context. Code suggestions are provided.
Code ChatIn addition, Google will also add a programming-specific chatbot to Colab.
Users can talk directly to the AI to get help with debugging, documentation, learning new concepts, and other issues.
For example, "How do I import data from Google Sheets?"
Or, "How to filter Pandas DataFrame?"
Google said that anyone who wants to learn or use Python can do it Use Colab with zero threshold and get the blessing of this machine learning application driven by high-performance GPU.
And more new features are on the way, which will make developers’ work in the field of machine learning more convenient.
It is understood that Colab’s monthly active student users alone are in the millions.
Then the question is, when can I use Colab with these functions?
According to Google, access to these features will be gradually rolled out over the next few months, with paid users in the United States able to start the experience first, and then free users will be able to use it.
Users in other regions will also be able to experience these features in the near future.
Reference:##//m.sbmmt.com/link /9a555403384fc12f931656dea910e334
The above is the detailed content of AI automatic coding will be online! Google Colab is stronger than Github Copilot, and programming efficiency will be drastically improved. For more information, please follow other related articles on the PHP Chinese website!