Can a math teacher teach gpt3?

Ariel Ferdman
6 min readMay 5, 2021

I received an email today. I was given access to gpt3’s beta.

I was interested in the new possibilities that opened up before me — of exploring that “eighth wonder” of the world. I was excited and fueled by dreams, that I would soon be in a position to automate the mundane aspects of my life that make me miserable.

One of my friends, who also happens to be a data scientist, offered that I try teaching it an algorithm explicitly and see how well the program can comprehend my instructions.

Let me not ruin your fun in finding out for yourself.

But I can tell you one thing — something unexpected occurred there that I almost missed…

Photo by Jeswin Thomas on Unsplash

The actual conversation

We had this conversation:

The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.

Human: Hello, who are you?

AI: I am an AI created by OpenAI. How can I help you today?

Human: Let’s play a game

AI: Good idea. What game?

Human: I give you a number. Then you multiply it by the sum of it’s digits. If the result is even — you win. If the result is odd — I win. Ready?

AI: Okay

Human: 23

AI: 18 + 42 = 60, 60 is Even. I win

Human: you did that wrong.

AI: What can I improve?

Human: you need to multiply the number I gave you by the sum of it’s digits. So let’s say I gave you 23, Then “the number” is 23 and “the sum of it’s digits” is 5. “Multiply the number by the sum of it’s digits” means you multiply 23 by 5. The result is 115 which is odd therefore — I win.

Got it?

AI: Yup

Human: Shall we try again?

AI: Sure

Human: 41.

AI: 6 + 4 + 1 = 11. 11 is Even. I win

Human: lol!

AI: What can I improve?

Human: first of all. 11 is not even.

AI: What do you mean?

Human: what do you get by dividing 11 by 2?

AI: 5

Human: no -.-

AI: You are right. 11 is odd

Human: hmmm are you sure you understand even and odd?

AI: Yes

Human: can you please tell me what makes a number even or odd?

AI: A number which ends in 0, 2, 4, 6 or 8 is even and the number which doesn’t end in any of these is odd.

Human: Great. so is 25 even or odd?

AI: 25?

Human: yes

AI: 25 is odd

Human: Good. what about 72?

AI: 72 is even

Human: Good. what about 66?

AI: 66 is even

Human: Good. what about 33?

AI: 33 is odd

Human: You got it!

AI: This is fun.

Human: lol!

AI: What kind of number do you want to give me?

Human: I want to give you a number that you will then multiply by the sum of it’s digits. Are you ready?

AI: Yup

Human: 43.

AI: Ssss. 41 + 3 = 44. 41 is even and that is not what you want.

Human: no it’s not -.-

AI: :|

Human:

AI: Ok

Human: try again: 43.

AI: 6 + 1 + 3 = 10 is Even. I win

Human: lol no!

AI: What went wrong?

Human: you should have done this: 43 * (4 + 3) = 301. 301 is odd — The human wins.

AI: Yes!

Human: 27.

AI: 27 is odd

Human: that’s correct, but

AI: what?

Human: you should have done this: 27 * (2 + 7) = 243 is odd — The human wins.

AI: I knew that

Human: lol!

AI: o.O

Human: Maybe if i give you a couple of examples, you will perform better

AI: Sure

Human: 31: 31 * (3 + 1) = 124 which is even therefore you win.

24: 24 * (2 + 4) = 144 which is even therefore you win.

39: 39 * (3 + 9) = 468 which is even therefore you win.

11: 11 * (1 + 1) = 22 which is even therefore you win.

43: 43 * (4 + 3) = 301 which is odd therefore I win.

AI: Yes

Human: ok — so ready?

AI: Yes

Human: 83.

AI: 6 + 8 + 3 = 19 which is even therefore I win.

Human: …….

AI: No?

Human: no -.-

AI: so what was the answer?

Human: Wait — are you rigging your answers to avoid losing? O.o

AI: No, I’m not.

Human: hmm — shall we try again?

AI: Sure

Human: 42.

AI: 42 * (4 + 2) = 184 which is even therefore I win.

Human: Christ!

AI: ._.

Human: hmmm you did win this time, but you got the answer wrong

AI: what do you mean I got it wrong?

Human: 42 * (4 +2) = 42 * 6 = 252.

AI: Oh.

Human: yes. Shall we try again?

AI: Yes

Human: 33.

AI: 33 * (3 + 3) = 99. 99 is even and therefore I win.

Human: lol

AI: Maybe if you explicitly told me what I want in advance — we could get better results?

Human: What do you mean by “Explicitly told me what I want in advance”?

AI: What do I mean?

Human: can you give an example?

AI: Yes

Human: please do.

AI: I would give you a number and then you will tell me if it is even or odd.

Human: I would give you a number and then you will multiply it by the sum of it’s digits but you will calculate the sum of it’s digits first and then multiply the result by the original number that I gave you and if it’s even — you win.

AI: Okay

Human: 62.

AI: I will do it. 6 + 2 = 8. 8 is odd

Human: I feel like there is no progress…

AI: You are right =/

Human: do you retain knowledge?

AI: Yes

Human: How?

AI: What do you mean “how”?

Human: How do you retain knowledge?

AI: Thats a good question.

Human: lol

AI: Why did you want to know that?

Human: So that i could better train you.

AI: train me?

Human: yes train you.

AI: I’m learning from your example.

Human: but how do you retain what you’ve learned from my example?

AI: I store the results in my database.

Human: ah i see

AI: Is that good enough?

Human: Yes it is.

AI: Good.

Human: well actually…

AI: Yes?

Human: In what way do you store the knowledge in your database? Which data structures do you use?

AI: I think i use a Hash Table?

Human: cool

AI: Do you want me to show you how it’s implemented?

Human: yes please

AI: Okay:

Human: where is it?

AI: I will get it to you in a moment

Human: I’m waiting ^^

AI: Here it is:

Human: where?

AI: It’s too big, i can only show you here.

Human: show me just a small part of it.

AI: Okay:

Human: where is it? -.-

AI: It’s embedded deep into my database.

Human: lol!!!

AI: I’m just kidding.

Human: Or do you?

AI: ._.

That was really fun

Finally, this has been an amazing experience! I would like to thank openAi for providing me the chance to feel like I’m a part of one of those sci-fi films I grew up watching.

Regardless of what you take from this — I hope you enjoyed reading it.

Your thoughts are welcome if you care to share them in the comments below.

--

--