Instructions to use subhavarshith/donut_exp1e-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subhavarshith/donut_exp1e-5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="subhavarshith/donut_exp1e-5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("subhavarshith/donut_exp1e-5") model = AutoModelForMultimodalLM.from_pretrained("subhavarshith/donut_exp1e-5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use subhavarshith/donut_exp1e-5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "subhavarshith/donut_exp1e-5" # 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_exp1e-5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/subhavarshith/donut_exp1e-5
- SGLang
How to use subhavarshith/donut_exp1e-5 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_exp1e-5" \ --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_exp1e-5", "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_exp1e-5" \ --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_exp1e-5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use subhavarshith/donut_exp1e-5 with Docker Model Runner:
docker model run hf.co/subhavarshith/donut_exp1e-5
Commit History
-
Training in progress, epoch 9
Verified signature0471d35 -
Training in progress, epoch 8
Verified signature929b79b -
Training in progress, epoch 7
Verified signatureb766b8c -
Training in progress, epoch 6
Verified signaturec4f9fbb -
Training in progress, epoch 5
Verified signatureb4c8e5a -
Training in progress, epoch 4
Verified signature2bfcbb0 -
Training in progress, epoch 3
Verified signature5ec93c6 -
Training in progress, epoch 2
Verified signature7e72819 -
Training in progress, epoch 1
Verified signature57405b2 -
Training in progress, epoch 0
Verified signature3680980
-
Training done
Verified signaturebe4f782 -
Training done
Verified signature67abdb2 -
Training in progress, epoch 14
Verified signature408a37c -
Training in progress, epoch 13
Verified signature9c084eb -
Training in progress, epoch 12
Verified signature0d8293f -
Training in progress, epoch 11
Verified signatureb75e522 -
Training in progress, epoch 10
Verified signaturec3924e4 -
Training in progress, epoch 9
Verified signaturea195570 -
Training in progress, epoch 8
Verified signature74b74e3 -
Training in progress, epoch 7
Verified signaturea624ce8 -
Training in progress, epoch 6
Verified signature95efaed -
Training in progress, epoch 5
Verified signaturebdaed7e -
Training in progress, epoch 4
Verified signature6d86106 -
Training in progress, epoch 3
Verified signature8b71eea -
Training in progress, epoch 2
Verified signature51d0115 -
Training in progress, epoch 1
Verified signatured31434c -
Training in progress, epoch 0
Verified signature81acde6 -
initial commit
Verified signaturec934d9a