Extracting more than one result

#3
by yjernite - opened

Is there a specific trick to having the model return more than one result?

Currently I'm having to run it independently on each paragraph in a document to get more than one entity (sample mode, top_p=0.95, temp=0.01)

You can use an array in the template.

E.g. {"names": ["string"]} or {"people": [{"name": "string", "age": "number"}]}

Can you share what exactly you are trying to extract and the template you're using?

Sign up or log in to comment