Comment on AGI achieved 🤖

<- View Parent
Knock_Knock_Lemmy_In@lemmy.world ⁨2⁩ ⁨days⁩ ago

‘agents’ just interact with other programs.

If that other program is, say, a python terminal then can’t LLMs be trained to use agents to solve problems outside their area of expertise?

I just tested chatgpt to write a python program to return the frequency of letters in a string, then asked it for the number of L’s in the longest placename in Europe.

‘’''

String to analyze

text = "Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch"

Convert to lowercase to count both ‘L’ and ‘l’ as the same

text = text.lower()

Dictionary to store character frequencies

frequency = {}

Count characters

for char in text: if char in frequency: frequency[char] += 1 else: frequency[char] = 1

Show the number of ‘l’s

print(“Number of 'l’s:”, frequency.get(‘l’, 0))

‘’’

I was impressed until

Output

Number of 'l’s: 16

source
Sort:hotnewtop