Image-Text-to-Text
Transformers
Safetensors
English
llava
document-understanding
key-information-extraction
machine-unlearning
privacy
idnet
docprivacybench
Instructions to use Stanley11/Beyond-Visual-Evidence-IDNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Stanley11/Beyond-Visual-Evidence-IDNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Stanley11/Beyond-Visual-Evidence-IDNet")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Stanley11/Beyond-Visual-Evidence-IDNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Stanley11/Beyond-Visual-Evidence-IDNet with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Stanley11/Beyond-Visual-Evidence-IDNet" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Stanley11/Beyond-Visual-Evidence-IDNet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Stanley11/Beyond-Visual-Evidence-IDNet
- SGLang
How to use Stanley11/Beyond-Visual-Evidence-IDNet 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 "Stanley11/Beyond-Visual-Evidence-IDNet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Stanley11/Beyond-Visual-Evidence-IDNet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Stanley11/Beyond-Visual-Evidence-IDNet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Stanley11/Beyond-Visual-Evidence-IDNet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Stanley11/Beyond-Visual-Evidence-IDNet with Docker Model Runner:
docker model run hf.co/Stanley11/Beyond-Visual-Evidence-IDNet
Download SHA256SUMS from Stanley11/Beyond-Visual-Evidence-IDNet: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/Stanley11/Beyond-Visual-Evidence-IDNet/resolve/main/SHA256SUMS
- Command line
-
hf download hf://Stanley11/Beyond-Visual-Evidence-IDNet/SHA256SUMS
-
curl -L -o SHA256SUMS https://huggingface.co/Stanley11/Beyond-Visual-Evidence-IDNet/resolve/main/SHA256SUMS
628 Bytes
| 9e05fbccf6ec918690453d4101ffe7159083717b1400b3a347e840411807e183 Base/model.safetensors | |
| 260e2c4a127cabd64617d990dce2b7a0ca164c093056c11bd70ef495d7c78fef SCRUB/model.safetensors | |
| aa41bfa20e7a76de2d4f516a0b811f3eaa2d00af64955ed4bf979dd17ca2acc2 NPO/model.safetensors | |
| 09690d9289bbaeee4d1d43cd6542b3f6aedd3a7a26721cc051523bc88c8c06b1 LEGO/model.safetensors | |
| 997f511296f3df754876ae7964231d6df2f2c35440dff5a2d6b29891ff43b515 CU/model.safetensors | |
| d649d7733f2c72023055a69bb94cfb76f6b5c3f3c9bcb1c0ac265f98d34e2336 RF-Entangle/model.safetensors | |
| 27f2994b6005abc638c01c7ae516a895dbf962950cac19d1121093792817cd71 Ours/model.safetensors | |