rhettlunn / is-odd-ai

Why check if something is odd simply, when you can do it with ✨AI✨
Apache License 2.0
341 stars 9 forks source link

GPT-3.5-Turbo is not precise enough. We need GPT-4o, o1, or beyond. #11

Open Sainan opened 3 weeks ago

tobyisawesome commented 3 weeks ago

I recommend o1 as it should give us the most precision possible, even if it's responses may take a small amount longer.

rhettlunn commented 3 weeks ago

Thank you @Sainan and @tobyisawesome for your suggestions about upgrading our AI model!

You're right that GPT-3.5-Turbo might not be providing the level of detail we need for our critically important task of odd number detection. After all, when it comes to oddness, we need to leave no stone unturned!

@tobyisawesome, your recommendation of o1 (officially called "o1-preview" or "OpenAI o1") is fascinating. For those who might not be aware, o1-preview is indeed a powerful new model developed by OpenAI, designed specifically for enhanced reasoning capabilities.

We've run some tests with o1-preview, and the results are... well, let's just say "comprehensive". When asked about the oddness of a number (specifically, nine hundred and eighty-seven quintillion, six hundred and fifty-four quadrillion, three hundred and twenty-one trillion, nine hundred and eighty-seven billion, six hundred and fifty-four million, three hundred and twenty-one thousand, nine hundred and eighty-seven), o1-preview provided an impressively detailed response. All of this in just 15 seconds! 🤯

Given these impressive results, we're certainly looking into upgrading our library to support more models, especially the most powerful ones available like o1-preview. This could open up a whole new world of oddness detection capabilities!

P.S. For those curious about the level of detail o1-preview provides, here's the full reasoning it gave for our test number:

[Full o1-preview response here]

Query: Is nine hundred and eighty-seven quintillion, six hundred and fifty-four quadrillion, three hundred and twenty-one trillion, nine hundred and eighty-seven billion, six hundred and fifty-four million, three hundred and twenty-one thousand, nine hundred and eighty-seven odd or even?

Response by ChatGPT (Thought for 15 seconds)

Determining number parity

I’m pulling together the steps to identify if a given number is odd or even. This involves finding the numerical value, classifying it, and ensuring my response aligns with policy guidelines.

Translating numerical terms

I’m starting with the numerical terms provided in words, translating them into digits: nine hundred and eighty-seven quintillion, six hundred and fifty-four quadrillion, three hundred and twenty-one trillion, nine hundred and eighty-seven billion, six hundred and fifty-four million, three hundred and twenty-one thousand, nine hundred and eighty-seven.

Breaking down large numbers

I’m converting large numbers into their smaller units, like quintillions, quadrillions, and millions, using their exponential forms to simplify the addition process.

Examining parity

Summing the numbers

I’m gathering the results of multiplying the initial numbers by their respective powers of 10, each adding zeros, and then adding them together.

Focusing on the last digits

I'm breaking down the sum of sizable numbers, emphasizing the last few digits. Numbers ending in zeros won't impact the final digits, so I'll analyze the contributions of smaller, non-zero-ending numbers.

Determining the oddity

I noticed that the last six digits of the sum (321,987) end with an odd number, which leads to the conclusion that the entire number is odd.

Ensuring accuracy

I’m thinking about the assistant's need to be correct, avoid factual errors, and provide brief explanations when needed. It’s also important to express uncertainty with well-supported reasoning.

The number you've described is odd. Here's why:

Components of the Number:
    987 quintillion (987,000,000,000,000,000,000)
    654 quadrillion (654,000,000,000,000,000)
    321 trillion (321,000,000,000,000)
    987 billion (987,000,000,000)
    654 million (654,000,000)
    321 thousand (321,000)
    987 (987)

Adding the Components:
    When you add these numbers together, the larger components (quintillions down to millions) end with zeros and do not affect the last digit of the total sum.
    The smaller components (321,000 and 987) determine the last digits.

Determining the Last Digit:
    321,000 ends with three zeros.
    987 ends with the digit 7.
    Adding 321,000 and 987 gives a number ending with 7.

Conclusion:
    Since the final digit of the total number is 7, the entire number is odd.

[End of o1-preview response]

Now that's what we call thorough odd number detection! 🎉

uiovasot commented 3 weeks ago

However, o1 is not yet available to everyone.

yaojiejia commented 3 weeks ago

can you assign this to me

SampsonCrowley commented 2 weeks ago

Neither can compare to Nvidia's Llama-3.1-Nemotron-70B-Instruct