mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* support text embedding task in huggingfaceserver Signed-off-by: Kevin Mingtarja <[email protected]> * fix lint errors Signed-off-by: Kevin Mingtarja <[email protected]> * format code Signed-off-by: Kevin Mingtarja <[email protected]> * minor refactor Signed-off-by: Kevin Mingtarja <[email protected]> * add e2e test Signed-off-by: Kevin Mingtarja <[email protected]> * specify task explicitly in e2e test Signed-off-by: Kevin Mingtarja <[email protected]> * use approx() for comparing text embedding output Signed-off-by: Kevin Mingtarja <[email protected]> * fix output Signed-off-by: Kevin Mingtarja <[email protected]> * specify relative tolerance to approx Signed-off-by: Kevin Mingtarja <[email protected]> * fix e2e test output Signed-off-by: Kevin Mingtarja <[email protected]> * Update to use predict_isvc in test Signed-off-by: Dan Sun <[email protected]> * Fix output data assert Signed-off-by: Dan Sun <[email protected]> * Add abs toleration Signed-off-by: Dan Sun <[email protected]> --------- Signed-off-by: Kevin Mingtarja <[email protected]> Signed-off-by: Dan Sun <[email protected]> Co-authored-by: Dan Sun <[email protected]>
11 lines
152 B
JSON
11 lines
152 B
JSON
{
|
|
"inputs": [
|
|
{
|
|
"name": "input-0",
|
|
"datatype": "BYTES",
|
|
"shape": [],
|
|
"data": ["This is an example sentence."]
|
|
}
|
|
]
|
|
}
|