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

Technology

37734 readers
572 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] DarkFox@pawb.social 17 points 7 months ago (2 children)

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 7 points 7 months ago (1 children)

does the neural network actually run scripts or is it pretending

[–] amju_wolf@pawb.social 10 points 7 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 7 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.