Hi! I’m trying to use the Huggingface Inference Toolkit with a pipeline using the guide below :
My question is this : I need a token-classification pipeline. I’m able to deploy it successfully, but is there a way to mention the aggregation strategy ?
Is this what you mean? ( this didn’t work )
input_pack = {“inputs”:“Hello welcome to The Olympic Games in London”,
“parameters”:{“aggregation_strategy”:“first”}}
I’ve been running into some of the same things and getting different responses locally vs building to a docker space for api inference, super frustrating.
From what I’m picking up, the tasks have different dictionary entries depending on task type. Typically an input and options. Would love to see the source on this stuff.
Nvm I was able to solve it. In case anyone is interested on the solution:
{
“inputs”: “input your data here”,
“parameters”: {“aggregation_strategy”: “first”}
}