Schema format

#5
by baconnier - opened

I have some doubt on schema description.
Let’s suppose i want to extract a complex entity.
like all negative percentage number (just an example)
Do i have to put description on schema json key, or can i use key’s value ?
hope it’s in value to keep smart key name, but i have a doubt…
You should provide a more complex example in your model card .
Thanks for sharing it .

NuMind org

Hi, thanks for trying out the model :)

We have tried to keep the schema/template format as simple as possible, so no descriptions are required. Generally a well-named key should be enough (e.g. {"negative_percentages": []}) for the model to work effectively. In particularly complex cases providing examples of your desired output will help.

Check out the blog post for more example/details of the schema format: https://www.numind.ai/blog/nuextract-a-foundation-model-for-structured-extraction
Also, if you want to quickly test out different approaches, you can try the model in the space: https://huggingface.co/spaces/numind/NuExtract

Sign up or log in to comment