News for hackers. Stuff that matters.
Re:Learning to Reason with LLMs by forgotthepasswd on Thursday September 12, 2024 @04:50PM (#41525409)
I had trouble in the past to make any model give me accurate unix epochs for specific dates.

I just went to GPT-4o (via DDG) and asked three questions:

1. Please give me the unix epoch for September 1, 2020 at 1:00 GMT.

> 1598913600

2. Please give me the unix epoch for September 1, 2020 at 1:00 GMT. Before reaching the conclusion of the answer, please output the entire chain of thought, your reasoning, and the maths you're doing, until your arrive at (and output) the result. Then, after you arrive at the result, make an extra effort to continue, and do the analysis backwards (as if you were writing a unit test for the result you achieved), to verify that your result is indeed correct.

> 1598922000

3. Please give me the unix epoch for September 1, 2020 at 1:00 GMT. Then, after you arrive at the result, make an extra effort to continue, and do the analysis backwards (as if you were writing a unit test for the result you achieved), to verify that your result is indeed correct.

> 1598913600

Re:Learning to Reason with LLMs by jewel on Thursday September 12, 2024 @05:17PM (#41525678)
When I give it that same prompt, it writes a python program and then executes it to find the answer: https://chatgpt.com/share/66e35a15-602c-8011-a2cb-0a83be35b8...
Re:Learning to Reason with LLMs by Alifatisk on Thursday September 12, 2024 @06:04PM (#41526110)
No need for llms to do that

ruby -r time -e 'puts Time.parse("2020-09-01 01:00:00 +00:00").to_i'

Re:Learning to Reason with LLMs by tagawa on Thursday September 12, 2024 @05:00PM (#41525511)