Skip to content

Commit

Permalink
PR feedback - Change model names
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed May 16, 2024
1 parent 36927cf commit e5e1e21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void storeSparseModel() throws Exception {
Model model = new TestSparseInferenceServiceExtension.TestSparseModel(
TestSparseInferenceServiceExtension.TestInferenceService.NAME,
new TestSparseInferenceServiceExtension.TestServiceSettings(
TestSparseInferenceServiceExtension.TestInferenceService.NAME,
"sparse_model",
null,
false
)
Expand All @@ -157,7 +157,7 @@ private void storeDenseModel() throws Exception {
Model model = new TestDenseInferenceServiceExtension.TestDenseModel(
TestDenseInferenceServiceExtension.TestInferenceService.NAME,
new TestDenseInferenceServiceExtension.TestServiceSettings(
TestDenseInferenceServiceExtension.TestInferenceService.NAME,
"dense_model",
randomIntBetween(1, 100),
// dot product means that we need normalized vectors; it's not worth doing that in this test
randomValueOtherThan(SimilarityMeasure.DOT_PRODUCT, () -> randomFrom(SimilarityMeasure.values()))
Expand Down

0 comments on commit e5e1e21

Please sign in to comment.