Image-Text-to-Text
Transformers
Safetensors
English
locateanything
feature-extraction
nvidia
eagle
vision
object-detection
grounding
conversational
custom_code
Instructions to use ashpika13/LocateAnything-3B-cascade with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashpika13/LocateAnything-3B-cascade with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ashpika13/LocateAnything-3B-cascade", trust_remote_code=True) 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 AutoModel model = AutoModel.from_pretrained("ashpika13/LocateAnything-3B-cascade", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ashpika13/LocateAnything-3B-cascade with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ashpika13/LocateAnything-3B-cascade" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ashpika13/LocateAnything-3B-cascade", "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/ashpika13/LocateAnything-3B-cascade
- SGLang
How to use ashpika13/LocateAnything-3B-cascade 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 "ashpika13/LocateAnything-3B-cascade" \ --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": "ashpika13/LocateAnything-3B-cascade", "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 "ashpika13/LocateAnything-3B-cascade" \ --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": "ashpika13/LocateAnything-3B-cascade", "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 ashpika13/LocateAnything-3B-cascade with Docker Model Runner:
docker model run hf.co/ashpika13/LocateAnything-3B-cascade
Commit History
-
Upload LocateAnything-3B with integrated cascade router
Verified signatureffe161e -
Upload LocateAnything-3B with integrated cascade router
Verified signature24e674d -
Upload LocateAnything-3B with integrated cascade router
Verified signature3a18bb5
-
Upload LocateAnything-3B with integrated cascade router
Verified signature5bd5e70 -
Upload LocateAnything-3B with integrated cascade router
Verified signature74ec5e8 -
Upload LocateAnything-3B with integrated cascade router
Verified signature1778230 -
Upload LocateAnything-3B with integrated cascade router
Verified signature15c2e10 -
Upload LocateAnything-3B with integrated cascade router
Verified signature0eb4f5c -
Upload LocateAnything-3B with integrated cascade router
Verified signature5351c6c -
Upload LocateAnything-3B with integrated cascade router
Verified signature4fb37e2 -
Upload LocateAnything-3B with integrated cascade router
Verified signatureb9747f2
-
Upload LocateAnything-3B with integrated cascade router
Verified signature2643016 -
Delete stage3_logreg.pkl with huggingface_hub
Verified signature5be825a -
Upload LocateAnything-3B with integrated cascade router
Verified signature401a320 -
Upload LocateAnything-3B with integrated cascade router
Verified signature1ccf81b -
Upload LocateAnything-3B with integrated cascade router
Verified signaturefa6e574 -
Upload LocateAnything-3B with integrated cascade router
Verified signaturee373dff -
Upload LocateAnything-3B with integrated cascade router
Verified signature3ff6b28 -
Upload LocateAnything-3B with integrated cascade router
Verified signature7690551 -
Upload LocateAnything-3B with integrated cascade router
Verified signature08d8b83 -
Upload LocateAnything-3B with integrated cascade router
Verified signatured758f5e
-
Upload LocateAnything-3B with integrated cascade router
Verified signature9a43d62 -
Upload LocateAnything-3B with integrated cascade router
Verified signature6c746ed
-
Upload LocateAnything-3B with integrated cascade router
Verified signature505a9db
-
Upload LocateAnything-3B with integrated cascade router
Verified signature8d692c1 -
Upload LocateAnything-3B with integrated cascade router
Verified signature63b3f90 -
Upload LocateAnything-3B with integrated cascade router
Verified signaturee49e202 -
Upload LocateAnything-3B with integrated cascade router
Verified signaturec338b8f -
initial commit
Verified signature2ebeacf