Instructions to use subhavarshith/donut_table_data_u with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subhavarshith/donut_table_data_u 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_u")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("subhavarshith/donut_table_data_u") model = AutoModelForMultimodalLM.from_pretrained("subhavarshith/donut_table_data_u", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use subhavarshith/donut_table_data_u 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_u" # 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_u", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/subhavarshith/donut_table_data_u
- SGLang
How to use subhavarshith/donut_table_data_u 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_u" \ --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_u", "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_u" \ --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_u", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use subhavarshith/donut_table_data_u with Docker Model Runner:
docker model run hf.co/subhavarshith/donut_table_data_u
Commit History
-
Training done
Verified signature7ac5084 -
Training done
Verified signature7653a88 -
Training in progress, epoch 14
Verified signature2e1f9f1 -
Training in progress, epoch 13
Verified signature862a2ee -
Training in progress, epoch 12
Verified signature2317afd -
Training in progress, epoch 11
Verified signaturecdcfafc -
Training in progress, epoch 10
Verified signature63cab88 -
Training in progress, epoch 9
Verified signature473ea56 -
Training in progress, epoch 8
Verified signature02d9e28 -
Training in progress, epoch 7
Verified signaturec4fc47a -
Training in progress, epoch 6
Verified signature0274ff4 -
Training in progress, epoch 5
Verified signature95fe04b -
Training in progress, epoch 4
Verified signatured061c8d -
Training in progress, epoch 3
Verified signaturea89f753 -
Training in progress, epoch 2
Verified signature928e501 -
Training in progress, epoch 1
Verified signature303c1cb -
Training in progress, epoch 0
Verified signatureca284fe -
Training in progress, epoch 14
Verified signature9f662d5 -
Training in progress, epoch 13
Verified signaturee7adb70 -
Training in progress, epoch 12
Verified signaturec91a094 -
Training in progress, epoch 11
Verified signature26659bc -
Training in progress, epoch 10
Verified signaturef00dfb9 -
Training in progress, epoch 9
Verified signaturea8c2db7 -
Training in progress, epoch 8
Verified signature13eb2cd -
Training in progress, epoch 7
Verified signatureb83ceb1 -
Training in progress, epoch 6
Verified signature0b2e738 -
Training in progress, epoch 5
Verified signature983beb3 -
Training in progress, epoch 4
Verified signature85ba4a4 -
Training in progress, epoch 3
Verified signature1e16ca4 -
Training in progress, epoch 2
Verified signature088765a -
Training in progress, epoch 1
Verified signature8222d0d -
Training in progress, epoch 0
Verified signatured5ba17c -
initial commit
Verified signature1e5f2d8