Instructions to use Jamil4321/PurchaseOrder_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jamil4321/PurchaseOrder_v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Jamil4321/PurchaseOrder_v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Jamil4321/PurchaseOrder_v4") model = AutoModelForMultimodalLM.from_pretrained("Jamil4321/PurchaseOrder_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jamil4321/PurchaseOrder_v4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jamil4321/PurchaseOrder_v4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jamil4321/PurchaseOrder_v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Jamil4321/PurchaseOrder_v4
- SGLang
How to use Jamil4321/PurchaseOrder_v4 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 "Jamil4321/PurchaseOrder_v4" \ --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": "Jamil4321/PurchaseOrder_v4", "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 "Jamil4321/PurchaseOrder_v4" \ --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": "Jamil4321/PurchaseOrder_v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Jamil4321/PurchaseOrder_v4 with Docker Model Runner:
docker model run hf.co/Jamil4321/PurchaseOrder_v4
Commit History
-
Training in progress, epoch 20
Verified signaturef62e976 -
Training in progress, epoch 19
Verified signature53a7745 -
Training in progress, epoch 18
Verified signaturef978823 -
Training in progress, epoch 17
Verified signature831efe4 -
Training in progress, epoch 16
Verified signature69837d5 -
Training in progress, epoch 15
Verified signatureff554c0 -
Training in progress, epoch 14
Verified signature370fbac -
Training in progress, epoch 13
Verified signature6a799a6 -
Training in progress, epoch 12
Verified signatured86a985 -
Training in progress, epoch 11
Verified signaturee1e08e0 -
Training in progress, epoch 10
Verified signature5f5846b -
Training in progress, epoch 9
Verified signature8297844 -
Training in progress, epoch 8
Verified signature528096d -
Training in progress, epoch 7
Verified signaturee1e4b37 -
Training in progress, epoch 6
Verified signature47f7a2e -
Training in progress, epoch 5
Verified signatureed0111d -
Training in progress, epoch 4
Verified signature97f8c71 -
Training in progress, epoch 3
Verified signature68397d6 -
Training in progress, epoch 2
Verified signatureb6eb2e5 -
Training in progress, epoch 1
Verified signature6946f8e -
Training in progress, epoch 0
Verified signature8168b84 -
Training done
Verified signature11713c6 -
Training done
Verified signaturebe9f781 -
Training in progress, epoch 14
Verified signaturef2f8c02 -
Training in progress, epoch 13
Verified signature7ba86dd -
Training in progress, epoch 12
Verified signature71149fe -
Training in progress, epoch 11
Verified signature7252b87 -
Training in progress, epoch 10
Verified signaturee76b988 -
Training in progress, epoch 9
Verified signature89606ab -
Training in progress, epoch 8
Verified signature878bc4c -
Training in progress, epoch 7
Verified signaturececf0f3 -
Training in progress, epoch 6
Verified signature47d7a30 -
Training in progress, epoch 5
Verified signature7c4c67a -
Training in progress, epoch 4
Verified signature5f7b0cb -
Training in progress, epoch 3
Verified signature0ac7f6b -
Training in progress, epoch 2
Verified signature86fd8f9 -
Training in progress, epoch 1
Verified signature5966866 -
Training in progress, epoch 0
Verified signature1a2691d -
initial commit
Verified signature469ae90