Instructions to use subhavarshith/donut_table_data_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subhavarshith/donut_table_data_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="subhavarshith/donut_table_data_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("subhavarshith/donut_table_data_model") model = AutoModelForMultimodalLM.from_pretrained("subhavarshith/donut_table_data_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use subhavarshith/donut_table_data_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "subhavarshith/donut_table_data_model" # 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_table_data_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/subhavarshith/donut_table_data_model
- SGLang
How to use subhavarshith/donut_table_data_model 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_table_data_model" \ --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_table_data_model", "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_table_data_model" \ --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_table_data_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use subhavarshith/donut_table_data_model with Docker Model Runner:
docker model run hf.co/subhavarshith/donut_table_data_model
Commit History
-
Training in progress, epoch 5
Verified signature29f783b -
Training in progress, epoch 4
Verified signaturec69da44 -
Training in progress, epoch 3
Verified signaturee8d949b -
Training in progress, epoch 2
Verified signature9f70fc7 -
Training in progress, epoch 1
Verified signature6861427 -
Training in progress, epoch 0
Verified signature3af9505 -
Training in progress, epoch 1
Verified signaturef843c12 -
Training in progress, epoch 0
Verified signature2459036 -
Training done
Verified signature129d021 -
Training done
Verified signature5771364 -
Training in progress, epoch 14
Verified signature2bf9805 -
Training in progress, epoch 13
Verified signature77891d8 -
Training in progress, epoch 12
Verified signature7aa645c -
Training in progress, epoch 11
Verified signature6ac962e -
Training in progress, epoch 10
Verified signaturea71134c -
Training in progress, epoch 9
Verified signaturebd7f6d7 -
Training in progress, epoch 8
Verified signatureca1819f -
Training in progress, epoch 7
Verified signature85f7abf -
Training in progress, epoch 6
Verified signature01198bc -
Training in progress, epoch 5
Verified signaturedbc96bb -
Training in progress, epoch 4
Verified signature9bf1cb6 -
Training in progress, epoch 3
Verified signaturea54008a -
Training in progress, epoch 2
Verified signature2e4fb5e -
Training in progress, epoch 1
Verified signature8946700 -
Training in progress, epoch 0
Verified signature2787554 -
initial commit
Verified signature588dbb5