Open YuanBoXie opened 1 year ago
If OpenSearch really can handle these cases, could you please give me some examples? I feel really confused about this feature.
@hexbo Thanks for you interest on ml-commons. Currently we only support text embedding model (refer to this doc). Can you explain more details about your use cases? Like what's your model type, expected input/output, how will you expect to use your model in OpenSearch etc.
Thanks for your reply @ylwu-amzn. Here are some details about my use case:
Model: Graph Neural Network Model Input: JSON object format that describes an attribute graph, including vertices set and edges set in the graph. eg.
{
"vertex": [
[12.1,31.3,123.2,1.3],
[2.4,5.3,2.1,10.0],
],
"edge": [
[1],
[]
]
}
This is a directed graph with one edge and two vertices. For each vertex, it contains a feature vector, such as [12.1,31.3,123.2,1.3]
.The key of "edge" describes the link relationship between two vertices. Here it means a directed edge in which the source is 0 and the target is 1. Then GNN calculates the graph embedding for this graph.
Actually, the graph described in JSON above needs adjacency matrix form before being input into the model. In total it contains two input matrices, one is about graph attributes, and the other one is an adjacency matrix.
// graph attributes
[
[12.1,31.3,123.2,1.3],
[2.4,5.3,2.1,10.0],
]
// adjacency matrix: the mask
[
[0,1]
[0,0]
]
Expected output: the graph embedding(64 dimension float vector or higher)
How to use:
@hexbo Thanks this is a good suggestion. Do you have other use cases/models except for GNN ? We are improving this feature to support more types of models. Appreciate if you can share more use cases
Can OpenSearch handle these cases described before?