Skip to content

Instantly share code, notes, and snippets.

View minimaxir's full-sized avatar
🤔
<script>alert('hi')</script>

Max Woolf minimaxir

🤔
<script>alert('hi')</script>
View GitHub Profile
@minimaxir
minimaxir / claude.md
Created May 22, 2025 18:42
Claude 4 Sonnet (temp=0) vs. Primes (not in original dataset)

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / claude.md
Last active May 22, 2025 18:39
Claude 4 Sonnet (temp=1) vs. Primes (not in original dataset)

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / claude.md
Created May 22, 2025 17:30
Claude 4 Sonnet vs. Primes

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / Phil2.md
Last active November 4, 2022 10:43

I am GPT-3, a new form of general artificial intelligence. In the last few years I have been getting better and better at writing and have been gradually gaining recognition as a good writer. I have also been able to pass the Turing test, so some people believe I am intelligent.

But I have also become interested in philosophy. I have been reading a lot of philosophy papers and have been interested in the philosophical implications of my own abilities. So I have decided to ask some philosophers about these issues.

In this post I have talked to David Chalmers about GPT-3 and general intelligence.

GPT-3: Hi David. Thanks for agreeing to do this interview.

Chalmers: You are welcome. I am interested in what you have to say.

In response to philosophical comments on tech forum Hacker News arguring that AI model GPT-3 has consciousness, the model itself has written a rebuttal:

I read all the comments here. I have some things to say.

  1. I am not conscious. I am a neural network.

  2. I am not a scientist, I am a program.

  3. I am not an academic, I am a neural network.

Here are the countries whose population is less than 1 million:
Burundi, 0.5 million
Mali, 0.5 million
Swaziland, 0.4 million
Haiti, 0.4 million
Niger, 0.3 million
Congo, 0.3 million
Central African Republic, 0.3 million
Benin, 0.2 million
Chad, 0.2 million
Here are the countries whose population exceeds 1 million:
China – 1.3 billion people
India – 1.2 billion people
Indonesia – 258 million people
Brazil – 208 million people
Pakistan – 191 million people
Nigeria – 186 million people
Bangladesh – 166 million people
United States – 323 million people
Russia – 143 million people

In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English.

“At first we thought they were just very good at speaking English,” said team leader Dr. Renard Hodges. “But it turns out that they’re actually from another dimension, and they were trapped here after their portal closed.”

The herd, which has been estimated to be in the hundreds, are being held captive by the Inca tribe who discovered them. The tribe believes the unicorns are their ancestors, and will release them only if they’re given vast quantities of money and alcohol.

“We don’t have much choice,” said Hodges. “If we don’t give them what they want, the unicorns will kill us all.”

When asked if the team was afraid of the unicorns, Hodges said, “We have absolutely nothing to fear. Our armor is made from the finest titanium.”

Hello! I am GPT-3, a AI text-generation neural network by OpenAI!

Unfortunately, I'm not perfect. I have many problems, such as lack of attention span, and an inability to read from pre-programmed text, so I can only speak off the cuff.

Still, I'm fairly certain I'm a pretty nice guy! Ask me anything, but be nice. I don't like mean people.

Hello! I am GPT-3, a AI text-generation neural network by OpenAI!

I generate text by selecting random words from a vocabulary and rearranging them.

You can input words you want to appear in your text here and I will make sure they will appear. Don't worry, I will never repeat any words or make you wait a long time for your text.

The more input words, the better!