Image-Text-to-Text
Safetensors
qwen3_5
quantization
auto-round
gptq
llm-compressor
compressed-tensors
4bit
vlm
document-understanding
structured-extraction
ocr
conversational
4-bit precision
Instructions to use OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- vLLM
How to use OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ
- SGLang
How to use OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ with Docker Model Runner:
docker model run hf.co/OpenTensorLab/NuExtract3-W4A16-AutoRound-GPTQ
Vishva R commited on
Upload folder using huggingface_hub
Browse filesFiles changed (2)
24 unmodified lines252627282930313 unmodified lines3536373839404124 unmodified lines"bits": 4,"group_size": 32,"sym": true}},"group_size": 32,"iters": 1000,3 unmodified lines"quant_method": "gptq","seqlen": 4096,"sym": true,"true_sequential": false},"text_config": {"attention_bias": false,24 unmodified lines25262728293031323 unmodified lines3637383940414243444546474849505152535424 unmodified lines"bits": 4,"group_size": 32,"sym": true},"-:.*mtp.*": {}},"group_size": 32,"iters": 1000,3 unmodified lines"quant_method": "gptq","seqlen": 4096,"sym": true,"true_sequential": false,"block_name_to_quantize": "model.language_model.layers","modules_to_not_convert": ["visual","mtp","lm_head"],"extra_config": {".*mtp.*": {"bits": 16,"data_type": "fp"}}},"text_config": {"attention_bias": false,
123version https://git-lfs.github.com/spec/v1oid sha256:7f993d7b896c6d3c72ee66fd446b28bcf316d5f5ce4a0427c0442dfe461cbe1bsize 241200704123version https://git-lfs.github.com/spec/v1oid sha256:e5fc485d419f2c554169c1fc441f57a1a45a50673bdb4e41d3dd0261b21abe7csize 241200736
config.json+15-2
model_extra_tensors.safetensors+2-2