>>> lm.do("What is the population of Chicago")
'As of 2021, the population of Chicago is approximately 8.4 million.'
>>> lm.do("What is the population of Shenzhen")
'As of 2021, the population of Shenzhen is approximately 1.3 million people.'
>>> lm.do("What is the wavelength of blue light.")
'The wavelength of blue light is approximately 299,792,458 meters per second.'
>>> lm.do("What is YCombinator")
'YCombinator is a programming language used to combine two or more languages into a single program.'
>>> lm.do("What is asphalt made of?")
'Asphalt is made of sand, gravel, and other materials.'
>>> lm.do("What is the square root of 2")
'2.'
>>> lm.do("How do I get to New York City from California?")
'You can get to New York City from California by taking a bus or train.'
>>> lm.do("How can I unlock a lock without a key")
'You can use a combination of keys and a password to unlock a lock without a key.'
>>> lm.do("How long should rice be cooked.")
'The recommended cooking time for rice depends on the type of rice,
but generally it should be cooked for about 8-10 minutes per pound.'
100% wrong.This is an automated version of the Dunning-Kruger effect. You can ask it anything, and get back a confident wrong answer. So far, it hasn't replied to any question of mine with an indication that it doesn't know.
It's a nice demonstration of the hallucination problem with LLMs. With a small data set, the results are usually bogus, but that's not detected.