diff --git a/LLama.Unittest/LLamaEmbedderTests.cs b/LLama.Unittest/LLamaEmbedderTests.cs index 44961d85..03487353 100644 --- a/LLama.Unittest/LLamaEmbedderTests.cs +++ b/LLama.Unittest/LLamaEmbedderTests.cs @@ -30,7 +30,7 @@ public class LLamaEmbedderTests return a.Zip(b, (x, y) => x * y).Sum(); } - private static void AssertApproxStartsWith(float[] expected, float[] actual, float epsilon = 0.04f) + private static void AssertApproxStartsWith(float[] expected, float[] actual, float epsilon = 0.08f) { for (int i = 0; i < expected.Length; i++) Assert.Equal(expected[i], actual[i], epsilon);