File size: 1,129 Bytes
87b4d0f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
name: "paraphrase-multilingual-MiniLM-L12-v2_inference_onnx"
max_batch_size: 0
platform: "ensemble"
input [
{
name: "TEXT"
data_type: TYPE_STRING
dims: [ -1 ]
}
]
output {
name: "output"
data_type: TYPE_FP32
dims: [-1, -1]
}
ensemble_scheduling {
step [
{
model_name: "paraphrase-multilingual-MiniLM-L12-v2_tokenizer_onnx"
model_version: -1
input_map {
key: "TEXT"
value: "TEXT"
}
output_map [
{
key: "input_ids"
value: "input_ids"
},
{
key: "token_type_ids"
value: "token_type_ids"
},
{
key: "attention_mask"
value: "attention_mask"
}
]
},
{
model_name: "paraphrase-multilingual-MiniLM-L12-v2_model_onnx"
model_version: -1
input_map [
{
key: "input_ids"
value: "input_ids"
},
{
key: "token_type_ids"
value: "token_type_ids"
},
{
key: "attention_mask"
value: "attention_mask"
}
]
output_map {
key: "output"
value: "output"
}
}
]
} |