Instructions to use mohsinshah/git-base-coco-dummy-temp12 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohsinshah/git-base-coco-dummy-temp12 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="mohsinshah/git-base-coco-dummy-temp12")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("mohsinshah/git-base-coco-dummy-temp12") model = AutoModelForMultimodalLM.from_pretrained("mohsinshah/git-base-coco-dummy-temp12", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mohsinshah/git-base-coco-dummy-temp12 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mohsinshah/git-base-coco-dummy-temp12" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mohsinshah/git-base-coco-dummy-temp12", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/mohsinshah/git-base-coco-dummy-temp12
- SGLang
How to use mohsinshah/git-base-coco-dummy-temp12 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 "mohsinshah/git-base-coco-dummy-temp12" \ --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": "mohsinshah/git-base-coco-dummy-temp12", "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 "mohsinshah/git-base-coco-dummy-temp12" \ --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": "mohsinshah/git-base-coco-dummy-temp12", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use mohsinshah/git-base-coco-dummy-temp12 with Docker Model Runner:
docker model run hf.co/mohsinshah/git-base-coco-dummy-temp12
Commit History
-
update model card README.md
b4732e3 -
End of training
9eff853 -
Training in progress, step 750
e53a71d -
Training in progress, step 700
daa2dcd -
Training in progress, step 650
9de7c21 -
Training in progress, step 600
2f72e88 -
Training in progress, step 550
472f39b -
Training in progress, step 500
5ade484 -
Training in progress, step 450
a5d90be -
Training in progress, step 400
6c04cbc -
Training in progress, step 350
b87d758 -
Training in progress, step 300
f63022a -
Training in progress, step 250
8e89564 -
Training in progress, step 200
e6506ad -
Training in progress, step 150
d92d5a1 -
Training in progress, step 100
b1ee42d -
Training in progress, step 50
45660d0 -
initial commit
7373825