Rook
link
fedilink
178M

Which model?

When I tried on ChatGPT 4, it wrote a short python script and executed it to get a random integer.

import random

# Pick a random number between 1 and 100
random_number = random.randint(1, 100)
random_number

does the neural network actually run scripts or is it pretending

Amju Wolf
link
fedilink
English
108M

It generates code and then you can use a call to some runtime execution API to run that code, completely separate from the neural network.

That’s not answering the question though.

“Pick a number between 1 and 100” doesn’t mean “grab two d10” or write a script.

Create a post

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 113 users / day
  • 240 users / week
  • 660 users / month
  • 2.08K users / 6 months
  • 1 subscriber
  • 3.48K Posts
  • 69.1K Comments
  • Modlog