Ask ChatGPT to pick a number between 1 and 100jlai.luimage ElCanut ( @ElCanut@jlai.lu ) Technology • 1 year ago message-square148fedilinkarrow-up1437
arrow-up1437imageAsk ChatGPT to pick a number between 1 and 100jlai.lu ElCanut ( @ElCanut@jlai.lu ) Technology • 1 year ago message-square148fedilink
minus-square Rook ( @DarkFox@pawb.social ) linkfedilink17•1 year agoWhich 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
minus-square TonyTonyChopper ( @TonyTonyChopper@mander.xyz ) linkfedilink7•1 year agodoes the neural network actually run scripts or is it pretending
minus-square Amju Wolf ( @amju_wolf@pawb.social ) linkfedilinkEnglish10•1 year agoIt generates code and then you can use a call to some runtime execution API to run that code, completely separate from the neural network.
minus-square Umbrias ( @Umbrias@beehaw.org ) linkfedilink2•1 year agoThat’s not answering the question though. “Pick a number between 1 and 100” doesn’t mean “grab two d10” or write a script.
Which model?
When I tried on ChatGPT 4, it wrote a short python script and executed it to get a random integer.
does the neural network actually run scripts or is it pretending
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.