Instructions to use roonbug/mw4gx9uu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use roonbug/mw4gx9uu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="roonbug/mw4gx9uu") 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)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("roonbug/mw4gx9uu") model = AutoModelForImageTextToText.from_pretrained("roonbug/mw4gx9uu") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use roonbug/mw4gx9uu with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "roonbug/mw4gx9uu" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "roonbug/mw4gx9uu", "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/roonbug/mw4gx9uu
- SGLang
How to use roonbug/mw4gx9uu 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 "roonbug/mw4gx9uu" \ --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": "roonbug/mw4gx9uu", "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 "roonbug/mw4gx9uu" \ --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": "roonbug/mw4gx9uu", "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 roonbug/mw4gx9uu with Docker Model Runner:
docker model run hf.co/roonbug/mw4gx9uu
File size: 5,344 Bytes
dd40c8b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | {"time":"2026-05-03T07:00:23.785699801Z","level":"INFO","msg":"stream: starting","core version":"0.21.0"}
{"time":"2026-05-03T07:00:23.958219939Z","level":"INFO","msg":"stream: created new stream","id":"mw4gx9uu"}
{"time":"2026-05-03T07:00:23.958276475Z","level":"INFO","msg":"stream: started","id":"mw4gx9uu"}
{"time":"2026-05-03T07:00:23.958304176Z","level":"INFO","msg":"writer: Do: started","stream_id":"mw4gx9uu"}
{"time":"2026-05-03T07:00:23.958314151Z","level":"INFO","msg":"handler: started","stream_id":"mw4gx9uu"}
{"time":"2026-05-03T07:00:23.958344878Z","level":"INFO","msg":"sender: started","stream_id":"mw4gx9uu"}
{"time":"2026-05-03T13:26:54.494721949Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/files/arunasank/sae-scoping-stemqa-math/mw4gx9uu/file_stream\": dial tcp 34.8.250.101:443: connect: connection timed out"}
{"time":"2026-05-03T17:25:58.687617346Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/files/arunasank/sae-scoping-stemqa-math/mw4gx9uu/file_stream\": dial tcp 34.8.250.101:443: connect: connection timed out"}
{"time":"2026-05-03T19:37:07.102657924Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/files/arunasank/sae-scoping-stemqa-math/mw4gx9uu/file_stream\": dial tcp 34.8.250.101:443: connect: connection timed out"}
{"time":"2026-05-04T00:46:01.356251288Z","level":"INFO","msg":"api: retrying HTTP error","status":500,"url":"https://api.wandb.ai/graphql","body":"{\"errors\":[{\"message\":\"context deadline exceeded\",\"path\":[\"project\",\"run\"]}],\"data\":{\"project\":{\"run\":null}}}"}
{"time":"2026-05-04T14:12:56.636196125Z","level":"INFO","msg":"api: retrying HTTP error","status":500,"url":"https://api.wandb.ai/graphql","body":"{\"errors\":[{\"message\":\"context deadline exceeded\",\"path\":[\"project\",\"run\"]}],\"data\":{\"project\":{\"run\":null}}}"}
{"time":"2026-05-04T14:14:02.105541639Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T14:16:17.107568772Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}
{"time":"2026-05-04T14:17:01.982714038Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/files/arunasank/sae-scoping-stemqa-math/mw4gx9uu/file_stream\": dial tcp 34.8.250.101:443: connect: connection timed out"}
{"time":"2026-05-04T14:17:15.928608343Z","level":"INFO","msg":"api: retrying HTTP error","status":500,"url":"https://api.wandb.ai/graphql","body":"{\"errors\":[{\"message\":\"context deadline exceeded\",\"path\":[\"project\",\"run\"]}],\"data\":{\"project\":{\"run\":null}}}"}
{"time":"2026-05-04T14:18:17.109847444Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}
{"time":"2026-05-04T14:18:47.906654656Z","level":"INFO","msg":"api: retrying HTTP error","status":500,"url":"https://api.wandb.ai/graphql","body":"{\"errors\":[{\"message\":\"context deadline exceeded\",\"path\":[\"project\",\"run\"]}],\"data\":{\"project\":{\"run\":null}}}"}
{"time":"2026-05-04T14:23:17.112654257Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T14:27:02.115392245Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}
{"time":"2026-05-04T14:28:32.116573806Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T14:29:04.148670003Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}
{"time":"2026-05-04T14:32:02.121811383Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T14:33:47.122883619Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T14:34:19.448738564Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
{"time":"2026-05-04T14:37:02.124111251Z","level":"INFO","msg":"api: retrying error","error":"Post \"https://api.wandb.ai/graphql\": context deadline exceeded"}
{"time":"2026-05-04T20:47:39.170254747Z","level":"INFO","msg":"stream: closing","id":"mw4gx9uu"}
{"time":"2026-05-04T20:47:39.42687988Z","level":"INFO","msg":"fileTransfer: Close: file transfer manager closed"}
{"time":"2026-05-04T20:47:39.567118263Z","level":"INFO","msg":"handler: closed","stream_id":"mw4gx9uu"}
{"time":"2026-05-04T20:47:39.56718921Z","level":"INFO","msg":"writer: Close: closed","stream_id":"mw4gx9uu"}
{"time":"2026-05-04T20:47:39.567208689Z","level":"INFO","msg":"sender: closed","stream_id":"mw4gx9uu"}
{"time":"2026-05-04T20:47:39.567425296Z","level":"INFO","msg":"stream: closed","id":"mw4gx9uu"}
|