Browse Source

Loosened requirements even more!

tags/v0.5.1
Martin Evans 2 years ago
parent
commit
634bd3feed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      LLama.Unittest/LLamaEmbedderTests.cs

+ 1
- 1
LLama.Unittest/LLamaEmbedderTests.cs View File

@@ -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);


Loading…
Cancel
Save