411
submitted 5 months ago by ElCanut@jlai.lu to c/technology@beehaw.org
you are viewing a single comment's thread
view the rest of the comments
[-] DarkFox@pawb.social 14 points 5 months ago

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
[-] TonyTonyChopper@mander.xyz 5 points 5 months ago

does the neural network actually run scripts or is it pretending

[-] amju_wolf@pawb.social 7 points 5 months ago

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.

[-] Umbrias@beehaw.org 2 points 5 months ago

That's not answering the question though.

"Pick a number between 1 and 100" doesn't mean "grab two d10" or write a script.

this post was submitted on 10 Apr 2024
411 points (100.0% liked)

Technology

37603 readers
536 users here now

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.

founded 2 years ago
MODERATORS