sage maker only giving top result
#5
by
gunjan0507
- opened
I want result containing all the labels , but i am getting only top result in sage maker.
When you run
predictor.predict({
'inputs': "I like you. I love you"
})
You need to pass it the parameter return_all_scores like so:
payload = {
"inputs": ["I love you",
"You should really get your act together."],
"parameters": {'return_all_scores': True}
}