Skip to main content

Google Colab adding Codey for AI-powered code generation

At I/O 2023, Google announced Codey as a “family of code models built on PaLM 2” and it’s soon coming to Google Colab.

Aimed at machine learning, education, and data analysis, Google Colab lets you write and execute Python in a browser. 

Codey in Colab has been “customized especially for Python and for Colab-specific uses.”  In general, Codey is “fine-tuned on a large dataset of high quality, permissively licensed code from external sources to improve performance on coding tasks.”

A button in the notebook toolbar opens a dropdown that lets users “Generate” code, including whole functions, by entering natural language text prompts. Paid Colab users will also have access to autocomplete suggestions.

Google wants to cut down on people “writing repetitive code, so you can focus on the more interesting parts of programming and data science.”

Meanwhile, a “Colab AI” chatbot, accessible from the left side bar, will let you ask questions like: “How do I import data from Google Sheets?” or “How do I filter a Pandas DataFrame?” This is similar to Studio Bot in Android Studio.

Codey in Colab is rolling out first to paid US subscribers “in the coming months.” Google plans to expand it to the free tier, as well as other countries. You can also find Codey today in Google Cloud as a preview.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Abner Li Abner Li

Editor-in-chief. Interested in the minutiae of Google and Alphabet. Tips/talk: abner@9to5g.com

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing