Instructions to use Adesh696/git-base-flickr8k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adesh696/git-base-flickr8k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Adesh696/git-base-flickr8k")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Adesh696/git-base-flickr8k") model = AutoModelForMultimodalLM.from_pretrained("Adesh696/git-base-flickr8k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Adesh696/git-base-flickr8k with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Adesh696/git-base-flickr8k" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Adesh696/git-base-flickr8k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Adesh696/git-base-flickr8k
- SGLang
How to use Adesh696/git-base-flickr8k 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 "Adesh696/git-base-flickr8k" \ --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": "Adesh696/git-base-flickr8k", "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 "Adesh696/git-base-flickr8k" \ --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": "Adesh696/git-base-flickr8k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Adesh696/git-base-flickr8k with Docker Model Runner:
docker model run hf.co/Adesh696/git-base-flickr8k
Commit History
-
Training in progress, epoch 30
Verified signatureead15cb -
Training in progress, epoch 29
Verified signature56c7eaa -
Training in progress, epoch 28
Verified signature3500ec7 -
Training in progress, epoch 27
Verified signature98a953c -
Training in progress, epoch 26
Verified signatureb973f4a -
Training in progress, epoch 25
Verified signature006c81e -
Training in progress, epoch 24
Verified signatureca00cf7 -
Training in progress, epoch 23
Verified signature97dce42 -
Training in progress, epoch 22
Verified signaturec0b0639 -
Training in progress, epoch 21
Verified signature618c89f -
Training in progress, epoch 20
Verified signature370a265 -
Training in progress, epoch 19
Verified signaturece29d83 -
Training in progress, epoch 18
Verified signature3a8bb1d -
Training in progress, epoch 17
Verified signatured112aa3 -
Training in progress, epoch 16
Verified signatureebaf737 -
Training in progress, epoch 15
Verified signature21b6aee -
Training in progress, epoch 14
Verified signaturef71a548 -
Training in progress, epoch 13
Verified signature8557db2 -
Training in progress, epoch 12
Verified signature25c8872 -
Training in progress, epoch 11
Verified signature470d2d6 -
Training in progress, epoch 10
Verified signature0c6e6ec -
Training in progress, epoch 9
Verified signatured45b63c -
Training in progress, epoch 8
Verified signaturef7d9ccc -
Training in progress, epoch 7
Verified signature2a0176e -
Training in progress, epoch 6
Verified signaturee232fa6 -
Training in progress, epoch 5
Verified signature1f5e43e -
Training in progress, epoch 4
Verified signaturef9ab565 -
Training in progress, epoch 3
Verified signature701c93a -
Training in progress, epoch 2
Verified signature600399e -
Training in progress, epoch 1
Verified signature4e22556
-
Training in progress, epoch 21
Verified signature6c0e42f -
Training in progress, epoch 20
Verified signaturee9e222f -
Training in progress, epoch 19
Verified signaturec3a4500 -
Training in progress, epoch 18
Verified signature70eeb62 -
Training in progress, epoch 17
Verified signatureb102223 -
Training in progress, epoch 16
Verified signature1318962 -
Training in progress, epoch 15
Verified signature5959fc1 -
Training in progress, epoch 14
Verified signature2ccec6f -
Training in progress, epoch 13
Verified signature1d3fe35 -
Training in progress, epoch 12
Verified signature2bea3e4 -
Training in progress, epoch 11
Verified signaturef466b19 -
Training in progress, epoch 10
Verified signature4256756 -
Training in progress, epoch 9
Verified signaturee7f14ec -
Training in progress, epoch 8
Verified signature2ce77d8 -
Training in progress, epoch 7
Verified signatureb2d04b4 -
Training in progress, epoch 6
Verified signature7a3f473 -
Training in progress, epoch 5
Verified signature5be2142 -
Training in progress, epoch 4
Verified signaturef26352a -
Training in progress, epoch 3
Verified signature804d1f5 -
Training in progress, epoch 2
Verified signature78464c5