InevitableSwing [none/use name]@hexbear.net to Chapotraphouse@hexbear.netEnglish · 1 day agoThe AI Riemann hypothesis proof is true, independent mathematicians confirmwww.scientificamerican.comexternal-linkmessage-square54linkfedilinkarrow-up151arrow-down10cross-posted to: technology@lemmy.world
arrow-up151arrow-down1external-linkThe AI Riemann hypothesis proof is true, independent mathematicians confirmwww.scientificamerican.comInevitableSwing [none/use name]@hexbear.net to Chapotraphouse@hexbear.netEnglish · 1 day agomessage-square54linkfedilinkcross-posted to: technology@lemmy.world
minus-squaresegfault11 [she/her, any]@hexbear.netlinkfedilinkEnglisharrow-up23·1 day agoyeah but can the AI tell you how many 'n’s are in the word riemann
minus-squareuserse31 [it/its, she/her]@hexbear.netlinkfedilinkEnglisharrow-up10·21 hours agoMaybe the AI is far sighted and mistoke the “m” for an “n”.
minus-squareLe_Wokisme [they/them, undecided]@hexbear.netlinkfedilinkEnglisharrow-up9·1 day agohave it write code to count a character in a string and it’ll probably work. or don’t because the whole exercise is a frivolous waste
minus-squareinvalidusernamelol [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·5 hours agoimport sys from collections import Counter def count(word: str, letter: str) -> int: if letter not in word: return 0 return Counter(word)[letter] if __name__ == '__main__': print(count(*sys.argv[1:3])
minus-squareoliveoil [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up2·7 hours agoI’m pretty sure that the models which are counting correctly now are doing something along those lines. Calculation stuff too.
minus-squareSoot [any]@hexbear.netlinkfedilinkEnglisharrow-up3·11 hours agoMe wasting a kilowatt-hour, 2 cents, and a cupful of water instead of typing "riemann".count('n')
yeah but can the AI tell you how many 'n’s are in the word riemann
I shit you not, first try:
Maybe the AI is far sighted and mistoke the “m” for an “n”.
have it write code to count a character in a string and it’ll probably work. or don’t because the whole exercise is a frivolous waste
import sys from collections import Counter def count(word: str, letter: str) -> int: if letter not in word: return 0 return Counter(word)[letter] if __name__ == '__main__': print(count(*sys.argv[1:3])I’m pretty sure that the models which are counting correctly now are doing something along those lines.
Calculation stuff too.
Me wasting a kilowatt-hour, 2 cents, and a cupful of water instead of typing
"riemann".count('n')