Instructions to use Jamil4321/PurchaseOrder_v6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jamil4321/PurchaseOrder_v6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Jamil4321/PurchaseOrder_v6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Jamil4321/PurchaseOrder_v6") model = AutoModelForMultimodalLM.from_pretrained("Jamil4321/PurchaseOrder_v6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jamil4321/PurchaseOrder_v6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jamil4321/PurchaseOrder_v6" # 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_v6", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Jamil4321/PurchaseOrder_v6
- SGLang
How to use Jamil4321/PurchaseOrder_v6 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_v6" \ --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_v6", "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_v6" \ --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_v6", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Jamil4321/PurchaseOrder_v6 with Docker Model Runner:
docker model run hf.co/Jamil4321/PurchaseOrder_v6
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.8a562a2
-
Training done
Verified signatureca6d9ae -
Training done
Verified signature2713d2d -
Training in progress, epoch 29
Verified signaturea033989 -
Training in progress, epoch 28
Verified signaturea3846d8 -
Training in progress, epoch 27
Verified signature732ce5e -
Training in progress, epoch 26
Verified signature64d5ad9 -
Training in progress, epoch 25
Verified signaturef3c56db -
Training in progress, epoch 24
Verified signature10790e3 -
Training in progress, epoch 23
Verified signature976d34e -
Training in progress, epoch 22
Verified signaturec2bbfd8
-
Training in progress, epoch 21
Verified signature004ff84 -
Training in progress, epoch 20
Verified signature4057218 -
Training in progress, epoch 19
Verified signature1b41999 -
Training in progress, epoch 18
Verified signature775e08d -
Training in progress, epoch 17
Verified signature661f41d -
Training in progress, epoch 16
Verified signature17e15ee -
Training in progress, epoch 15
Verified signature3af668d -
Training in progress, epoch 14
Verified signature2b33d0a -
Training in progress, epoch 13
Verified signatureb800b3c -
Training in progress, epoch 12
Verified signaturecc54639 -
Training in progress, epoch 11
Verified signatured58725e -
Training in progress, epoch 10
Verified signaturef392cb0 -
Training in progress, epoch 9
Verified signatureac6dba2
-
Training in progress, epoch 8
Verified signature067e71f -
Training in progress, epoch 7
Verified signature4a02909 -
Training in progress, epoch 6
Verified signature7af2a7e -
Training in progress, epoch 5
Verified signaturecbe3842 -
Training in progress, epoch 4
Verified signature091a0d9 -
Training in progress, epoch 3
Verified signature8bbc18f -
Training in progress, epoch 2
Verified signature341618f -
Training in progress, epoch 1
Verified signature4f11fed -
Training in progress, epoch 0
Verified signaturebcf207e -
initial commit
Verified signature45190f2