diff --git a/questions/85_positional-encoding-calculator/example.json b/questions/85_positional-encoding-calculator/example.json index d680efba..53b7075c 100644 --- a/questions/85_positional-encoding-calculator/example.json +++ b/questions/85_positional-encoding-calculator/example.json @@ -1,5 +1,5 @@ { "input": "position = 2, d_model = 8", - "reasoning": "The function computes the positional encoding by calculating sine values for even indices and cosine values for odd indices, ensuring that the encoding provides the required positional information.", - "output": "[[[ 0.,0.,0.,0.,1.,1.,1.,1.,]\n [ 0.8413,0.0998,0.01,0.001,0.5405,0.995,1.,1.]]]" + "reasoning": "The function computes the positional encoding by applying sine to even indices and cosine to odd indices, as specified in the original Transformer architecture.", + "output": "[[0., 1., 0., 1., 0., 1., 0., 1.],\n [0.8413, 0.5405, 0.0999, 0.995, 0.01, 1., 0.001, 1.]]" }