Image-to-Text
Transformers
Safetensors
qwen3_5
image-text-to-text
vision-language
vlm
document-understanding
structured-extraction
information-extraction
ocr
document-to-markdown
markdown
rag
reasoning
multilingual
conversational
Eval Results
Instructions to use numind/NuExtract3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use numind/NuExtract3 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="numind/NuExtract3") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("numind/NuExtract3") model = AutoModelForMultimodalLM.from_pretrained("numind/NuExtract3", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add ExtractBench evaluation results (#4)
- Add ExtractBench evaluation results (d3cf023f9cc34b0098689ae86eb0e2015b710467) Co-authored-by: Boyang Zhang <boyang-runllama@users.noreply.huggingface.co>c99dc8f
-
Add olmOCR-bench old_scans result (community) (#3)
- Add olmOCR-bench old_scans result (community) (e64a0b4c968ef808e8846693bea727393aa4328d) Co-authored-by: Daniel van Strien <davanstrien@users.noreply.huggingface.co>2e9fca8
-
Update README.md
Verified signatureacaf70e -
Update README.md
Verified signaturea905382
-
Update README.md
Verified signatureb447d97 -
Update README.md
Verified signaturea7f03ef
-
Update README.md
Verified signatured9b13ed -
Upload 2 files
Verified signature9968a5b -
Update README.md
Verified signatureb3c1861
-
Initial commit
Unverified signaturec25cc08