Instructions to use iamirulofficial/id_marksheet_donut with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamirulofficial/id_marksheet_donut with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="iamirulofficial/id_marksheet_donut")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("iamirulofficial/id_marksheet_donut") model = AutoModelForMultimodalLM.from_pretrained("iamirulofficial/id_marksheet_donut", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use iamirulofficial/id_marksheet_donut with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "iamirulofficial/id_marksheet_donut" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "iamirulofficial/id_marksheet_donut", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/iamirulofficial/id_marksheet_donut
- SGLang
How to use iamirulofficial/id_marksheet_donut 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 "iamirulofficial/id_marksheet_donut" \ --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": "iamirulofficial/id_marksheet_donut", "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 "iamirulofficial/id_marksheet_donut" \ --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": "iamirulofficial/id_marksheet_donut", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use iamirulofficial/id_marksheet_donut with Docker Model Runner:
docker model run hf.co/iamirulofficial/id_marksheet_donut
Commit History
-
Training in progress, epoch 20
8874e0b -
Training in progress, epoch 19
359676c -
Training in progress, epoch 18
4c17180 -
Training in progress, epoch 17
773bbfa -
Training in progress, epoch 16
0b207dc -
Training in progress, epoch 15
fc1b316 -
Training in progress, epoch 14
a92aa66 -
Training in progress, epoch 13
e8fc57c -
Training in progress, epoch 12
8437f45 -
Training in progress, epoch 11
0a4c27b -
Training in progress, epoch 10
2980a5d -
Training in progress, epoch 9
bfba94e -
Training in progress, epoch 8
723e10a -
Training in progress, epoch 7
875378e -
Training in progress, epoch 6
2f599b4 -
Training in progress, epoch 5
56e45e3 -
Training in progress, epoch 4
aa0e619 -
Training in progress, epoch 3
9a4f405 -
Training in progress, epoch 2
8843252 -
Training in progress, epoch 1
e749df2 -
Training in progress, epoch 0
b7e3265 -
Training in progress, epoch 0
755e18f
-
Training in progress, epoch 8
6caa2d0 -
Training in progress, epoch 7
fdb31f5 -
Training in progress, epoch 6
621f08a -
Training in progress, epoch 5
6f89acc -
Training in progress, epoch 4
d36df15 -
Training in progress, epoch 3
c033094 -
Training in progress, epoch 2
da7fb25 -
Training in progress, epoch 1
a052fb7 -
Training in progress, epoch 0
8db8193 -
Training done
ca9039e -
Training done
9cb8515 -
Training in progress, epoch 3
d61b131 -
Training in progress, epoch 2
a7200d8 -
Training in progress, epoch 1
e4c7167 -
Training in progress, epoch 0
798fc68 -
Training in progress, epoch 2
024a3a2 -
Training in progress, epoch 1
3b27389 -
Training in progress, epoch 0
36afd68 -
Training done
7a202b4 -
Training done
1771d75 -
Training in progress, epoch 3
847a87e -
Training in progress, epoch 2
a4e1003 -
Training in progress, epoch 1
31eb5a2 -
Training in progress, epoch 0
92e618f -
initial commit
ec81884