Skip to content

Commit

Permalink
move param files (opensearch-project#210)
Browse files Browse the repository at this point in the history
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
  • Loading branch information
VijayanB authored and harshavamsi committed Mar 5, 2024
1 parent 5836890 commit 81b1376
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 9 deletions.
28 changes: 28 additions & 0 deletions vectorsearch/params/corpus/10million/faiss-cohere-768-dp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"target_index_name": "target_index",
"target_field_name": "target_field",
"target_index_body": "indices/faiss-index.json",
"target_index_primary_shards": 18,
"target_index_dimension": 768,
"target_index_space_type": "innerproduct",

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere-10m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 10,
"target_index_force_merge_timeout": 100,
"hnsw_ef_search": 100,
"hnsw_ef_construction": 100,

"query_k": 100,
"query_body": {
"docvalue_fields" : ["_id"],
"stored_fields" : "_none_"
},

"query_data_set_format": "hdf5",
"query_data_set_corpus": "cohere-10m",
"query_count": 10000
}
28 changes: 28 additions & 0 deletions vectorsearch/params/corpus/10million/lucene-cohere-768-dp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"target_index_name": "target_index",
"target_field_name": "target_field",
"target_index_body": "indices/lucene-index.json",
"target_index_primary_shards": 18,
"target_index_dimension": 768,
"target_index_space_type": "innerproduct",

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere-10m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 10,
"target_index_force_merge_timeout": 100,
"hnsw_ef_search": 100,
"hnsw_ef_construction": 100,

"query_k": 100,
"query_body": {
"docvalue_fields" : ["_id"],
"stored_fields" : "_none_"
},

"query_data_set_format": "hdf5",
"query_data_set_corpus": "cohere-10m",
"query_count": 10000
}
30 changes: 30 additions & 0 deletions vectorsearch/params/corpus/10million/nmslib-cohere-768-dp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"target_index_name": "target_index",
"target_field_name": "target_field",
"target_index_body": "indices/nmslib-index.json",
"target_index_primary_shards": 18,
"target_index_dimension": 768,
"target_index_space_type": "innerproduct",

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere-10m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 10,
"target_index_force_merge_timeout": 100,
"hnsw_ef_search": 100,
"hnsw_ef_construction": 100,

"query_k": 100,
"query_body": {
"docvalue_fields" : ["_id"],
"stored_fields" : "_none_"
},

"query_data_set_format": "hdf5",
"query_data_set_corpus": "cohere-1m",
"neighbors_data_set_corpus": "cohere-10m",
"neighbors_data_set_format": "hdf5",
"query_count": 10000
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere-100k",
"target_index_bulk_index_data_set_corpus": "cohere-1m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 10,
Expand All @@ -23,6 +23,6 @@
},

"query_data_set_format": "hdf5",
"query_data_set_corpus":"cohere-100k",
"query_data_set_corpus": "cohere-1m",
"query_count": 10000
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere",
"target_index_bulk_index_data_set_corpus": "cohere-1m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 10,
Expand All @@ -23,6 +23,6 @@
},

"query_data_set_format": "hdf5",
"query_data_set_corpus": "cohere",
"query_count": 1000
"query_data_set_corpus": "cohere-1m",
"query_count": 10000
}
8 changes: 4 additions & 4 deletions vectorsearch/workload.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"source-file": "documents-1k.hdf5.bz2",
"source-format": "hdf5",
"document-count": 1000,
"document-count": 1000
}
]
},
Expand All @@ -27,7 +27,7 @@
{
"source-file": "documents-100k.hdf5.bz2",
"source-format": "hdf5",
"document-count": 100000,
"document-count": 100000
}
]
},
Expand All @@ -38,7 +38,7 @@
{
"source-file": "documents-1m.hdf5.bz2",
"source-format": "hdf5",
"document-count": 1000000,
"document-count": 1000000
}
]
},
Expand All @@ -49,7 +49,7 @@
{
"source-file": "documents-10m.hdf5.bz2",
"source-format": "hdf5",
"document-count": 10000000,
"document-count": 10000000
}
]
}
Expand Down

0 comments on commit 81b1376

Please sign in to comment.