Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
AI Google Programming Python

Google Colab Promises 'AI-Powered Coding, Free of Charge' (blog.google) 24

Google Colab hosts free cloud-based "executable documents" that, among other things, let you write and run code in your browser (in dozens of languages, including Python).

Over 7 million people, including students, already use Colab, according to a recent post on Google's blog, "and now it's getting even better with advances in AI [with] features like code completions, natural language to code generation and even a code-assisting chatbot."

Google says it will "dramatically increase programming speed, quality, and comprehension." Our first features will focus on code generation. Natural language to code generation helps you generate larger blocks of code, writing whole functions from comments or prompts. [For example: "import data.csv as a dataframe."] The goal here is to reduce the need for writing repetitive code, so you can focus on the more interesting parts of programming and data science. Eligible users in Colab will see a new "Generate" button in their notebooks, allowing them to enter any text prompt to generate code.

For eligible paid users, as you type, you'll see autocomplete suggestions.

We're also bringing the helpfulness of a chatbot directly into Colab. Soon, you'll be able to ask questions directly in Colab like, "How do I import data from Google Sheets?" or "How do I filter a Pandas DataFrame?"

Anyone with an internet connection can access Colab, and use it free of charge... Access to these features will roll out gradually in the coming months, starting with our paid subscribers in the U.S. and then expanding into the free-of-charge tier.

It's powered by Google's "next generation" machine-learning language model PaLM 2 (announced earlier this month), which "excels at popular programming languages like Python and JavaScript, but can also generate specialized code in languages like Prolog, Fortran and Verilog." Colab will use Codey, a family of code models built on PaLM 2... fine-tuned on a large dataset of high quality, permissively licensed code from external sources to improve performance on coding tasks. Plus, the versions of Codey being used to power Colab have been customized especially for Python and for Colab-specific uses.
This discussion has been archived. No new comments can be posted.

Google Colab Promises 'AI-Powered Coding, Free of Charge'

Comments Filter:
  • by oldgraybeard ( 2939809 ) on Sunday May 21, 2023 @03:50PM (#63540145)
    "For eligible paid users, as you type, you'll see autocomplete suggestions." when I am writing code. I hate auto complete!
    • ... when I am writing code. I hate auto complete!

      Same and I have it disabled in Emacs, etc...
      For me, typing things out gives me more time to think about what I'm coding -- and not coding.

  • Comment removed based on user account deletion
    • Re: It's FREE!!! (Score:5, Interesting)

      by Bobknobber ( 10314401 ) on Sunday May 21, 2023 @04:52PM (#63540265)

      Basically Google gets your code, which they will likely use to replace coders/programmers. You generate the code, then fix and send it back for validation. AI gets trained off said code to improve its generative coding abilities, which will no doubt be used to replace coders/programmers. Those that are already established SW developers at Google and the like can meanwhile just use that code for their projects, all without necessarily having to recruit more manpower. License the service to other companies and bam, you have another source of revenue.

      In essence, new and coming coders/programmers are effectively training their replacement for free before they can even get the job. The user really is nothing more then a product.

      • It shouldnt be lost on *anyone* that most amateur and low-budget AI research is done on Google colab (how else are you gonna get your hands on a H100 GPU farm?).

        That said, they DO have a monetization model. You pay for GPU credits when running models. I *think* you can run toy models (A few gigs in size), but thats it. If you want to play with big models like trying to fine tune Llama65G or whatever, thats gonna cost.

  • by fleeped ( 1945926 ) on Sunday May 21, 2023 @04:08PM (#63540171)
    guesses. Guesses can be useful or not, to you. Your code/needs/etc are CERTAINLY useful, to Google.
  • by fahrbot-bot ( 874524 ) on Sunday May 21, 2023 @04:45PM (#63540241)

    Google says it will "dramatically increase programming speed, quality, and comprehension."

    Betting it will still be constrained by the triangle: fast, good, or cheap -- pick two.

  • by phantomfive ( 622387 ) on Sunday May 21, 2023 @04:49PM (#63540257) Journal
    This is FUD straight out of the old IBM playbook. They don't have a product yet, but promise it will be here soon and it will be better than their competitor in every single way. But for now it's just vaporware. They don't care, they're just hoping to keep their hand on the marketshare.
    • They are bullshitting people. The amount of bullshit surrounding generative AI surpasses even the bullshit generated by the generative AI. (Bullshit being defined as content whose producer is not necessarily deceptive, he just doesn't care if he says is true or false.)

      • The amount of bullshit surrounding generative AI surpasses even the bullshit generated by the generative AI

        Good one.

  • by Todd Knarr ( 15451 ) on Sunday May 21, 2023 @05:14PM (#63540351) Homepage

    This is classic "you get what you pay for". Simple boilerplate code, like their "import a CSV into a dataframe", that's easy. It's a well-known problem with a well-known solution, all the developer needs to do is fill in the blanks for column/field names and data types. Getting it to generate code to transfer field values from one form into another, where the field names are user-entered values, the number and order of fields is different between the two, field names may be duplicated and there's no requirement that there be the same number of fields with a given name in both forms, and there are no well-defined rules for determining whether two field names are similar enough to match, THAT is more of a challenge. Call me when their AI can solve that problem reliably to the user's satisfaction.

    • by Viol8 ( 599362 )

      The other issue of course is that for any program beyond basic or boilerplate code the human language description will be vastly longer and more prone to ambiguities than the actual code itself so I'm not really sure how much use this will be anyway. As you say, boilerplate generators already exist so wheres the gain for the user here?

  • "dramatically increase programming speed, quality, and comprehension" sounds like a blatant marketing lie, nothing else. Better stay away from this, because clearly you are the product and they have zero accountability if the fuck you up.

  • you'll get the notification that the project will be abandoned within the next 6 months.
    Google gets me everytime with the commitment to their own products.

  • Write a version of your code that's 5% as capable in every way,
    then replace yourself with the new, improved version,
    then repeat this request.

  • Hey Colab, how do I enable cross domaine attacks in JavaScript?

    Hey Colab, example code for stealing password?

    What could possibly go wrong...

  • I instantly reached the limitations of the free resources and ran into multiple code breaking issues with no workarounds, since you can't upgrade or change the versions of the libraries without causing even more problems. Just run your own local env - it's free and you have full control.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...