Instructions to use subhavarshith/donut_exponly2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subhavarshith/donut_exponly2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="subhavarshith/donut_exponly2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("subhavarshith/donut_exponly2") model = AutoModelForMultimodalLM.from_pretrained("subhavarshith/donut_exponly2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use subhavarshith/donut_exponly2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "subhavarshith/donut_exponly2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "subhavarshith/donut_exponly2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/subhavarshith/donut_exponly2
- SGLang
How to use subhavarshith/donut_exponly2 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 "subhavarshith/donut_exponly2" \ --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": "subhavarshith/donut_exponly2", "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 "subhavarshith/donut_exponly2" \ --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": "subhavarshith/donut_exponly2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use subhavarshith/donut_exponly2 with Docker Model Runner:
docker model run hf.co/subhavarshith/donut_exponly2
Commit History
-
Training in progress, epoch 11
Verified signature31abf64 -
Training in progress, epoch 10
Verified signature04b29ba -
Training in progress, epoch 9
Verified signature74f99fb -
Training in progress, epoch 8
Verified signature9371c24 -
Training in progress, epoch 7
Verified signatureee92a6d -
Training in progress, epoch 6
Verified signature1f662a7 -
Training in progress, epoch 5
Verified signature3b382bd -
Training in progress, epoch 4
Verified signaturedb3439c -
Training in progress, epoch 3
Verified signaturefe6f4c6 -
Training in progress, epoch 2
Verified signature86b7bbe -
Training in progress, epoch 1
Verified signature147550e -
Training in progress, epoch 0
Verified signature39b7bdb -
Training in progress, epoch 3
Verified signature4d069ff -
Training in progress, epoch 2
Verified signature1ddcaa9 -
Training in progress, epoch 1
Verified signatureb54e514 -
Training in progress, epoch 0
Verified signature7cb06b7 -
Training done
Verified signature78335a6 -
Training done
Verified signature59fb5c1 -
Training in progress, epoch 14
Verified signature36d76aa -
Training in progress, epoch 13
Verified signature3319b75 -
Training in progress, epoch 12
Verified signature9c9386b -
Training in progress, epoch 11
Verified signature76c0ff8 -
Training in progress, epoch 10
Verified signatured468019 -
Training in progress, epoch 9
Verified signature8e85397 -
Training in progress, epoch 8
Verified signaturedf4b967 -
Training in progress, epoch 7
Verified signatureef52555 -
Training in progress, epoch 6
Verified signature34817ae -
Training in progress, epoch 5
Verified signature115bc7f -
Training in progress, epoch 4
Verified signature728d5ce -
Training in progress, epoch 3
Verified signaturece1f7bd -
Training in progress, epoch 2
Verified signature8f16eb3 -
Training in progress, epoch 1
Verified signature76fee87 -
Training in progress, epoch 0
Verified signatured6efc75 -
Training done
Verified signaturea3f1962 -
Training done
Verified signaturecd5d1f3 -
Training in progress, epoch 14
Verified signaturef281e91 -
Training in progress, epoch 13
Verified signature776af5d -
Training in progress, epoch 12
Verified signature8583619 -
Training in progress, epoch 11
Verified signature2e57c8c -
Training in progress, epoch 10
Verified signaturea67d8b1 -
Training in progress, epoch 9
Verified signature3e3c589 -
Training in progress, epoch 8
Verified signaturea577ed6 -
Training in progress, epoch 7
Verified signaturea38471f -
Training in progress, epoch 6
Verified signature36b91ed -
Training in progress, epoch 5
Verified signatureffe3ac6 -
Training in progress, epoch 4
Verified signature9c08323 -
Training in progress, epoch 3
Verified signature132d559 -
Training in progress, epoch 2
Verified signature9704e4a -
Training in progress, epoch 1
Verified signature7fcd93b -
Training in progress, epoch 0
Verified signature74a9899