@Avinash Sachdewani AFAIK this model from model catalog is available as is and uses the guidance from the hugging face model page. I also see there is a higher version of the model ms-marco-MiniLM-L-2-v2 which may perform better.
As per the swagger document that is available after deployment I see the format for inputs as the following in the request body.
"Request": {
"title": "Request",
"required": [
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"title": "Inputs",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object"
}
]
},
The sample example shows the format as below as per swagger.
{
"inputs": "I like you. I love you"
}
W.r.t Azure ML while deploying the model you can choose only the type of compute and endpoint names, this should not affect the model's response w.r.t scores. You can raise a case on the source repo MSMARCO-Passage-Ranking on expected formats, scores but I do not see any active updates on the repo for a while.
I hope this helps!!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.