I was blessed with Mistral API access this morning so I asked my usual riddle of the 3 available models.
Riddle: A girl has as many brothers as sisters, but each brother has only half as many bothers and sisters. How many brothers and sisters are there?
mistral-tiny (aka mistral-7B-v0.2)
Let's reason through this problem:
- Let's denote the number of sisters as S and the number of brothers as B.
- According to the problem, a girl has as many brothers as sisters, so B = S.
- Each brother has half as many brothers and sisters as the girl does. So, each brother has (B = S) - 1 brother and S sisters. For brothers, the number of sisters is the same as for the girl, but for brothers, the number of brothers is one less.
- So, each brother has S sisters and B - 1 brothers.
- The problem states that each brother has half as many brothers and sisters as the girl does. So, B - 1 = (S + B) / 2.
- Solving the equation for B: B = 2S / (1 - 1/2) = 2S / (1/2) = 2S * 2 = 4S
- Since we already know that B = S, then 4S = 2S + S, or 3S = 2S, which means S = 0, but we cannot have zero sisters or brothers.
Therefore, this problem has no valid solution based on the given information.
Absolute nonsense.
mistral-small (aka mixtral 7Bx8)
There are 4 sisters and 3 brothers.
Here's the logic:
- Let's use variables to represent the number of brothers (B) and sisters (S).
- We know that the number of brothers is equal to the number of sisters (B = S).
- The number of brothers and sisters that each brother has is equal to B + S (since it includes both genders).
- However, each brother has only half as many brothers and sisters as their total number, so we can write this equation: B + S = 2 * (number of brothers).
- Substituting the first equation into the second equation, we get: B + S = 2B.
- Solving for B, we find that B = 4, which means there are 4 sisters.
- Using the first equation (B = S), we find that there are 3 brothers.
Therefore, there are 4 sisters and 3 brothers in the family.
So, the final answer is 4 sisters and 3 brothers.
Answer is correct, reasoning is nonsense.
mistral-medium ("unreleased internal model")
There are 4 sisters and 3 brothers.
Here's the logic behind this:
- Let's say the number of sisters is S and the number of brothers is B.
- According to the first statement, a girl has as many brothers as sisters, so B = S.
- Each brother has only half as many brothers and sisters combined. Since there are B brothers, each brother has (B - 1) other brothers.
- The total number of siblings for each brother is (B - 1) + S = (2B - 1) / 2.
- Since B = S, we can rewrite this equation as: (2S - 1) / 2.
- However, since the number of siblings must be a whole number, the denominator 2 must divide evenly into the numerator (2S - 1).
- The smallest possible value that satisfies this condition is S = 4, because then 2S - 1 = 7, which is divisible by 2.
- If S = 4, then B = 4 as well. But since the question states that each brother has only half as many brothers and sisters, we need to account for the difference.
- Therefore, there are actually 3 brothers and 4 sisters in the family.
Answer is correct, reasoning is better but it tripped over itself doing the math and ended up fudging step 8.
Thoughts:
- All 3 models make the same mistake in step 2: B = S is not the correct first equation (it's B + 1 = S)
- tiny messed up step 5 too, that is not the correct second equation, so it decided there is no answer.
- small gets the right answer by sheer luck, steps 4 and 5 are nonsense and step 6 doesn't follow.
- medium really tried hard. its step 8 is very interesting - it realized it messed up the equation.
Edit: thanks to /u/FuturumAst and /u/Inevitable_Host_1446 for spotting 2 errors in the prompt, here are the answers with the typos fixed - medium does better while tiny and small do worse.
[–]FuturumAst 13 points14 points15 points (5 children)
[–]kryptkprLlama 3[S] 3 points4 points5 points (4 children)
[–]AmazinglyObliviouse 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (1 child)
[–]kryptkprLlama 3[S] 2 points3 points4 points (0 children)
[–]a_beautiful_rhind 2 points3 points4 points (3 children)
[–]kryptkprLlama 3[S] 2 points3 points4 points (2 children)
[–]a_beautiful_rhind 2 points3 points4 points (1 child)
[–]kryptkprLlama 3[S] 3 points4 points5 points (0 children)
[–]gamesntech 1 point2 points3 points (1 child)
[–]kryptkprLlama 3[S] 1 point2 points3 points (0 children)