Instructions to use leejuhyoeng/batch16_5e_5_blip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leejuhyoeng/batch16_5e_5_blip with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="leejuhyoeng/batch16_5e_5_blip")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("leejuhyoeng/batch16_5e_5_blip") model = AutoModelForMultimodalLM.from_pretrained("leejuhyoeng/batch16_5e_5_blip", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use leejuhyoeng/batch16_5e_5_blip with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "leejuhyoeng/batch16_5e_5_blip" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "leejuhyoeng/batch16_5e_5_blip", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/leejuhyoeng/batch16_5e_5_blip
- SGLang
How to use leejuhyoeng/batch16_5e_5_blip 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 "leejuhyoeng/batch16_5e_5_blip" \ --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": "leejuhyoeng/batch16_5e_5_blip", "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 "leejuhyoeng/batch16_5e_5_blip" \ --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": "leejuhyoeng/batch16_5e_5_blip", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use leejuhyoeng/batch16_5e_5_blip with Docker Model Runner:
docker model run hf.co/leejuhyoeng/batch16_5e_5_blip
Commit History
-
Training in progress, step 21300
Verified signatureaa52577 -
Training in progress, step 21087
Verified signature95bb2a1 -
Training in progress, step 20874
Verified signaturef358ee4 -
Training in progress, step 20661
Verified signature5c49a24 -
Training in progress, step 20448
Verified signaturee3744a4 -
Training in progress, step 20235
Verified signature899230d -
Training in progress, step 20022
Verified signaturef8daffa -
Training in progress, step 19809
Verified signature17d280e -
Training in progress, step 19596
Verified signature8e4f6a6 -
Training in progress, step 19383
Verified signature9a18d87 -
Training in progress, step 19170
Verified signature2c9798f -
Training in progress, step 18957
Verified signatureda3d95c -
Training in progress, step 18744
Verified signature853110f -
Training in progress, step 18531
Verified signature1f60a1f -
Training in progress, step 18318
Verified signature6c4f122 -
Training in progress, step 18105
Verified signaturea16e5fc -
Training in progress, step 17892
Verified signature0e5c674 -
Training in progress, step 17679
Verified signatureeaa9ed0 -
Training in progress, step 17466
Verified signature7c7d747 -
Training in progress, step 17253
Verified signature68a772c -
Training in progress, step 17040
Verified signature8060b2e -
Training in progress, step 16827
Verified signature8029447 -
Training in progress, step 16614
Verified signature2317ed6 -
Training in progress, step 16401
Verified signatureef54c87 -
Training in progress, step 16188
Verified signature3986e79 -
Training in progress, step 15975
Verified signaturec22423f -
Training in progress, step 15762
Verified signature514b685 -
Training in progress, step 15549
Verified signatured239a6f -
Training in progress, step 15336
Verified signaturebd3405e -
Training in progress, step 15123
Verified signatureb424cd5 -
Training in progress, step 14910
Verified signature1f56082 -
Training in progress, step 14697
Verified signaturede3d736 -
Training in progress, step 14484
Verified signatureb8928c9 -
Training in progress, step 14271
Verified signature398a129 -
Training in progress, step 14058
Verified signature8a50224 -
Training in progress, step 13845
Verified signature1c0360a -
Training in progress, step 13632
Verified signature5252e04 -
Training in progress, step 13419
Verified signature205f18c -
Training in progress, step 13206
Verified signature8868625 -
Training in progress, step 12993
Verified signature70ad50d -
Training in progress, step 12780
Verified signaturef9937a1 -
Training in progress, step 12567
Verified signature23d29b7 -
Training in progress, step 12354
Verified signature73a7c31 -
Training in progress, step 12141
Verified signature57fbbd1 -
Training in progress, step 11928
Verified signaturebca26fd -
Training in progress, step 11715
Verified signature7fdd8e3 -
Training in progress, step 11502
Verified signature7742eef -
Training in progress, step 11289
Verified signature335901f -
Training in progress, step 11076
Verified signature19fe8d0 -
Training in progress, step 10863
Verified signature8a2bd69