Image-Text-to-Text
Transformers
Safetensors
qwen3_5_moe
8-bit precision
Mixture of Experts
fp8
quantized
conversational
Run this model with HF Jobs
Run Accio-Lab/occamy-1.0-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Accio-Lab/occamy-1.0-FP8. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/Accio-Lab/occamy-1.0-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/Accio-Lab/occamy-1.0-FP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use Accio-Lab/occamy-1.0-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Accio-Lab/occamy-1.0-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Accio-Lab/occamy-1.0-FP8") 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 AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Accio-Lab/occamy-1.0-FP8") model = AutoModelForMultimodalLM.from_pretrained("Accio-Lab/occamy-1.0-FP8", 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Accio-Lab/occamy-1.0-FP8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Accio-Lab/occamy-1.0-FP8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Accio-Lab/occamy-1.0-FP8", "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/Accio-Lab/occamy-1.0-FP8
- SGLang
How to use Accio-Lab/occamy-1.0-FP8 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 "Accio-Lab/occamy-1.0-FP8" \ --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": "Accio-Lab/occamy-1.0-FP8", "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 "Accio-Lab/occamy-1.0-FP8" \ --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": "Accio-Lab/occamy-1.0-FP8", "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 Accio-Lab/occamy-1.0-FP8 with Docker Model Runner:
docker model run hf.co/Accio-Lab/occamy-1.0-FP8
Download evaluation/MANIFEST.json from Accio-Lab/occamy-1.0-FP8: direct link, hf CLI and curl.
- Browser
- Download file 2.34 kB
-
https://huggingface.co/Accio-Lab/occamy-1.0-FP8/resolve/main/evaluation/MANIFEST.json
- Command line
-
hf download hf://Accio-Lab/occamy-1.0-FP8/evaluation/MANIFEST.json
-
curl -L -o MANIFEST.json https://huggingface.co/Accio-Lab/occamy-1.0-FP8/resolve/main/evaluation/MANIFEST.json
2.34 kB
| { | |
| "ocr-7301.png": "a3fd53022edb1624090c46f97209e70c38b9a611ed6091a6fc3946e3087650fd", | |
| "ocr-OPEN.png": "39a031e0d922960164d8ecf1d1e742f45aff5a908870809176358461eab93c5e", | |
| "color-green.png": "3cf652982142c04a066312b4cebccd009f77409f8a54866d22ddcf9163977014", | |
| "evaluate.py": "f86a2fda3e2b0c6cb47690a2e93fb0ccf16520356ec6d721f5b31d7b3c222470", | |
| "ocr-BOOK.png": "2c38f3ef6b3a28f30f1abdf9a0da6487e12490516b10b7a24b78555249c8993a", | |
| "color-yellow.png": "22274587c6d38d550465a86b4cfd03f047b03b4998733f25997c3a5c1a20c9d7", | |
| "count-4.png": "d14992ca2f0d045a430e209c93baae6ad86f0bcbb7e28e5b45805f53ad9c1217", | |
| "sglang-fp8-regression-repeats.jsonl": "a0eef3d8fdf154654102b7e7795364d2183e9cc9b55aa1fae47d206e54f09257", | |
| "code_check.py": "64cb4daea7bb67982efea5c4372b6dee4159b0bbf3ea72399c58ed88b2d558bd", | |
| "color-red.png": "133b9b6329c9613362c3a31860b85cc703beb7c55cb678176d0479f02e45b913", | |
| "ocr-4827.png": "fccedc26d8257fe5d56f5c1c96d03a571b91369e47a78f59d584153df9785170", | |
| "color-blue.png": "521e1e0694be56e638e038abd3b1263038041508a405d265094dac6601a9927e", | |
| "DATA-LICENSES.md": "c50b9a53a39292ed4d02ccf3b5a2e5fde4c357609198190b0b41a3efa4e97333", | |
| "cases.json": "539b19522efb79d1da28f55d54839dea6a6affd38f6b5e92ca6951dc905c241b", | |
| "sglang-bf16-regression-repeats.jsonl": "641f0c1b52ca721c59f4b2f6ee6aec695b2e40abdaaa590f9eb5ba6a0183f820", | |
| "rescore.py": "1faf4997ccba515e82fa5f3fd91a096b4135c27432a193da80e85446e2111581", | |
| "nll-inputs.json": "b3ea7c118e2ed9c4d3df75f1803803aee054c766e5d32b06b9c8fa75545d77c0", | |
| "sglang-fp8-scored.json": "c20a107244e7d8b03d24892e2a0372af75b789e21b45b22da6a6557dbfe38f6d", | |
| "NLL-COMPARISON.json": "5e621b5f0bee09ded80f3986a7e3f5553ad8a5897cbc312c168642193d9feb65", | |
| "count-1.png": "db6b6cf8f1d3c9ddc61bf0b30ad2afcd26c5bb0ed08ed0a6f75948041b34741a", | |
| "provenance.json": "92bc9bd32f9a1ee7da85dbbcce5cf1fa91a2faf356ab175a996b339f833a88da", | |
| "sglang-bf16-scored.json": "b0d109f0a06754eab78c3ee22148843de89b61a0e2c73715b06e20a59ac771c2", | |
| "acceptance-plan.json": "b198b3e00c7e0b6beda2df2f864c1261a8dc14c6d1e9d0a130f94a0a27f9a21e", | |
| "count-3.png": "2ac24292f22cf8daeaa2f5fca1fc12b7a19c6a39ed05be0d9e6ad95ceb267659", | |
| "count-2.png": "af8615922f1792576dc4f2fb1e230bdcbbe5ce00094ea50b4fd9c775859e5a32", | |
| "evaluate_nll.py": "2c5982cad95487bad27d32267c2f487509af9d37abc04b7fb9d3584790e351fb" | |
| } |