NuExtract 2.0 is a family of models trained specifically for structured information extraction tasks. It supports both multimodal inputs and is multilingual.
We provide several versions of different sizes, all based on pre-trained models from the QwenVL family.
❗️Note:
NuExtract-2.0-2B
is based on Qwen2-VL rather than Qwen2.5-VL because the smallest Qwen2.5-VL model (3B) has a more restrictive, non-commercial license. We therefore include
NuExtract-2.0-2B
as a small model option that can be used commercially.
Benchmark
Performance on collection of ~1,000 diverse extraction examples containing both text and image inputs.
Overview
To use the model, provide an input text/image and a JSON template describing the information you need to extract. The template should be a JSON object, specifying field names and their expected type.
Support types include:
verbatim-string
- instructs the model to extract text that is present verbatim in the input.
string
- a generic string field that can incorporate paraphrasing/abstraction.
integer
- a whole number.
number
- a whole or decimal number.
date-time
- ISO formatted date.
Array of any of the above types (e.g.
["string"]
)
enum
- a choice from set of possible answers (represented in template as an array of options, e.g.
["yes", "no", "maybe"]
).
multi-label
- an enum that can have multiple possible answers (represented in template as a double-wrapped array, e.g.
[["A", "B", "C"]]
).
If the model does not identify relevant information for a field, it will return
null
or
[]
(for arrays and multi-labels).
⚠️ We recommend using NuExtract with a temperature at or very close to 0. Some inference frameworks, such as Ollama, use a default of 0.7 which is not well suited to many extraction tasks.
llama.cpp is not compatible with vllm's
chat_template_kwargs
. Thus, the template has to be applied manually
Text extraction
flight_text = """Date: Tuesday March 25th 2025User info: Male, 32 yoBook me a flight this Saturday morning to go to Marrakesh and come back on April 5th. I want it to be business class. Air France if possible."""
flight_template = """{ "Destination": "verbatim-string", "Departure date range": { "beginning": "date-time", "end": "date-time" }, "Return date range": { "beginning": "date-time", "end": "date-time" }, "Requested Class": [ "1st", "business", "economy" ], "Preferred airlines": [ "string" ]}"""
response = client.chat.completions.create(
model="NuExtract",
temperature=0.0,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": f"# Template:\n{json.dumps(json.loads(flight_template), indent=4)}\n{flight_text}",
},
],
},
],
)
NuExtract-2.0-2B-GGUF huggingface.co is an AI model on huggingface.co that provides NuExtract-2.0-2B-GGUF's model effect (), which can be used instantly with this numind NuExtract-2.0-2B-GGUF model. huggingface.co supports a free trial of the NuExtract-2.0-2B-GGUF model, and also provides paid use of the NuExtract-2.0-2B-GGUF. Support call NuExtract-2.0-2B-GGUF model through api, including Node.js, Python, http.
NuExtract-2.0-2B-GGUF huggingface.co is an online trial and call api platform, which integrates NuExtract-2.0-2B-GGUF's modeling effects, including api services, and provides a free online trial of NuExtract-2.0-2B-GGUF, you can try NuExtract-2.0-2B-GGUF online for free by clicking the link below.
numind NuExtract-2.0-2B-GGUF online free url in huggingface.co:
NuExtract-2.0-2B-GGUF is an open source model from GitHub that offers a free installation service, and any user can find NuExtract-2.0-2B-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of NuExtract-2.0-2B-GGUF install, users can directly use NuExtract-2.0-2B-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
NuExtract-2.0-2B-GGUF install url in huggingface.co: