Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
qwen3-vl
vision-language
multilingual
ocr
grpo
conversational
Instructions to use DatasetMan/QGO-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DatasetMan/QGO-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DatasetMan/QGO-8B") 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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("DatasetMan/QGO-8B") model = AutoModelForMultimodalLM.from_pretrained("DatasetMan/QGO-8B", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DatasetMan/QGO-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DatasetMan/QGO-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DatasetMan/QGO-8B", "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/DatasetMan/QGO-8B
- SGLang
How to use DatasetMan/QGO-8B 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 "DatasetMan/QGO-8B" \ --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": "DatasetMan/QGO-8B", "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 "DatasetMan/QGO-8B" \ --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": "DatasetMan/QGO-8B", "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 DatasetMan/QGO-8B with Docker Model Runner:
docker model run hf.co/DatasetMan/QGO-8B
| ee05350c7fda0af4da116020dd7b976d731de3beed4f5e717d5bcc95ead24550 .gitattributes | |
| cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE | |
| 32ebb96afe725df5922305045ff3c3fb3e2809866512a072b0217dad453a4a3c README.md | |
| c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680 added_tokens.json | |
| 36e042fe45641f067b1f2381fcc8955d10d956a3ed333ecdf7f7eb0916f68956 chat_template.jinja | |
| e43ab4d1ae4713b0e1bb8fcad3dc2e526324b8812996f5b2a605041b532d2eec config.json | |
| 778fe76b4d8574937ef293e4ed25445f008146b08cc624ac992bb3ca2bf31ac2 generation_config.json | |
| 8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5 merges.txt | |
| f2c7c048bde6fede5c5108270651c0ab6866131223ad4fb462aa65d5565de957 model-00001-of-00004.safetensors | |
| bca7f7587dcf099752a51954ef7ddb90befa6f319399bf3a26de325a111e68ec model-00002-of-00004.safetensors | |
| 5dafc0a8e037b3b96da9e971d2325e65ff4d90477cdce237abc125630487e72e model-00003-of-00004.safetensors | |
| 42a36915e5243d4b06136bca2b24c5bf46294a60dd3b7b6709a8db3010d295b6 model-00004-of-00004.safetensors | |
| 6a4676de5644c69f18fad9dcd52a368eb842c08dc1f8a33b565083c124b638ea model.safetensors.index.json | |
| 93585062a80db5e8ca038efc7726a3e6411d9db948472d81d63c6303993be8c5 preprocessor_config.json | |
| f460bfe7c17f7a512e8c71902b4ebb664b5e3276285b81cf5e96b1ad1736665a release_inventory.json | |
| 76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd special_tokens_map.json | |
| aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4 tokenizer.json | |
| 81ec7bb9530159b326c0bef1d0b6c33d392090524014ea3f0123a3c1eb9c2af5 tokenizer_config.json | |
| 59c5c9eb52182eb14c06ffb10ca9effd29adce5f238a95de23ca14a38dbd2cb1 video_preprocessor_config.json | |
| ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910 vocab.json | |