Instructions to use pandafm/donutES with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pandafm/donutES with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="pandafm/donutES")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("pandafm/donutES") model = AutoModelForMultimodalLM.from_pretrained("pandafm/donutES", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pandafm/donutES with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pandafm/donutES" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pandafm/donutES", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pandafm/donutES
- SGLang
How to use pandafm/donutES 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 "pandafm/donutES" \ --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": "pandafm/donutES", "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 "pandafm/donutES" \ --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": "pandafm/donutES", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use pandafm/donutES with Docker Model Runner:
docker model run hf.co/pandafm/donutES
Commit History
-
Training done
Verified signatured5871c1 -
Training done
Verified signature01c41da -
Training in progress, epoch 29
Verified signaturecbe3c46 -
Training in progress, epoch 28
Verified signature19b53aa -
Training in progress, epoch 27
Verified signatured3c4dfc -
Training in progress, epoch 26
Verified signature9242d58 -
Training in progress, epoch 25
Verified signatured9cb71a -
Training in progress, epoch 24
Verified signature2efc160 -
Training in progress, epoch 23
Verified signature1a59db1 -
Training in progress, epoch 22
Verified signature183631b -
Training in progress, epoch 21
Verified signaturef22124b -
Training in progress, epoch 20
Verified signaturebe2f9df -
Training in progress, epoch 19
Verified signaturea3d28bb -
Training in progress, epoch 18
Verified signaturedc2aaf3 -
Training in progress, epoch 17
Verified signature6083be8 -
Training in progress, epoch 16
Verified signature6826610 -
Training in progress, epoch 15
Verified signature3974190 -
Training in progress, epoch 14
Verified signaturefd18d75 -
Training in progress, epoch 13
Verified signature24040ee -
Training in progress, epoch 12
Verified signaturef1d3153 -
Training in progress, epoch 11
Verified signature15a3b3a -
Training in progress, epoch 10
Verified signature84a6106 -
Training in progress, epoch 9
Verified signaturea929922 -
Training in progress, epoch 8
Verified signature6d6124b -
Training in progress, epoch 7
Verified signatureb70c12a -
Training in progress, epoch 6
Verified signature3846672 -
Training in progress, epoch 5
Verified signature26a06e9 -
Training in progress, epoch 4
Verified signatureeff4e2e -
Training in progress, epoch 3
Verified signature700e19d -
Training in progress, epoch 2
Verified signature2f8fc11 -
Training in progress, epoch 1
Verified signaturee49d6c5 -
Training in progress, epoch 0
Verified signatured9ba36e
-
Training done
Verified signature1f2cde1 -
Training done
Verified signatureb30aa2a -
Training in progress, epoch 0
Verified signature5da0609
-
Training done
Verified signaturec7a015c -
Training done
Verified signature771ba87 -
Training in progress, epoch 0
Verified signature3c1c4ab -
initial commit
Verified signatureced66aa