Instructions to use FahadIqbal5188/git-base-captionV3-FINAL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FahadIqbal5188/git-base-captionV3-FINAL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FahadIqbal5188/git-base-captionV3-FINAL")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FahadIqbal5188/git-base-captionV3-FINAL") model = AutoModelForMultimodalLM.from_pretrained("FahadIqbal5188/git-base-captionV3-FINAL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FahadIqbal5188/git-base-captionV3-FINAL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FahadIqbal5188/git-base-captionV3-FINAL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FahadIqbal5188/git-base-captionV3-FINAL", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FahadIqbal5188/git-base-captionV3-FINAL
- SGLang
How to use FahadIqbal5188/git-base-captionV3-FINAL 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 "FahadIqbal5188/git-base-captionV3-FINAL" \ --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": "FahadIqbal5188/git-base-captionV3-FINAL", "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 "FahadIqbal5188/git-base-captionV3-FINAL" \ --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": "FahadIqbal5188/git-base-captionV3-FINAL", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FahadIqbal5188/git-base-captionV3-FINAL with Docker Model Runner:
docker model run hf.co/FahadIqbal5188/git-base-captionV3-FINAL
Commit History
-
Epoch 10: METEOR=0.9887
Verified signatureb3b35e7 -
Epoch 9: METEOR=0.9882
Verified signature963b8c1 -
Epoch 8: METEOR=0.9837
Verified signatureed7c705 -
Epoch 7: METEOR=0.9829
Verified signatureef167e1 -
Upload 5 files
Verified signatureprocessor9fb850b -
Epoch 6: METEOR=0.9803
Verified signature8ee11c7 -
Epoch 5: METEOR=0.9802
Verified signature7efa777 -
Epoch 4: METEOR=0.9712
Verified signature313e284 -
Epoch 3: METEOR=0.9493
Verified signature6b957ef -
Epoch 2: METEOR=0.9490
Verified signature61dba3b -
Epoch 1: METEOR=0.9418
Verified signatureed75914 -
Epoch 0: METEOR=0.9209
Verified signaturee7017e0 -
Epoch 1: METEOR=0.6320
Verified signature3f239b7 -
Epoch 0: METEOR=0.6231
Verified signaturea5854af -
initial commit
Verified signature2050b89