Instructions to use minwook/git-base-cartoon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minwook/git-base-cartoon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="minwook/git-base-cartoon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("minwook/git-base-cartoon") model = AutoModelForMultimodalLM.from_pretrained("minwook/git-base-cartoon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minwook/git-base-cartoon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minwook/git-base-cartoon" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minwook/git-base-cartoon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minwook/git-base-cartoon
- SGLang
How to use minwook/git-base-cartoon 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 "minwook/git-base-cartoon" \ --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": "minwook/git-base-cartoon", "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 "minwook/git-base-cartoon" \ --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": "minwook/git-base-cartoon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minwook/git-base-cartoon with Docker Model Runner:
docker model run hf.co/minwook/git-base-cartoon
Commit History
-
Model save
Verified signaturec9e50f0 -
Model save
Verified signatureedc6ea3 -
Training in progress, step 50
Verified signature74bdbda -
Training in progress, step 50
Verified signature3b35b8c -
Model save
Verified signaturec42ffb5 -
Model save
Verified signaturee4ccd87 -
Training in progress, step 50
Verified signature5b6610c -
Model save
Verified signatureebacbbe -
Model save
Verified signaturea6069bb -
Model save
Verified signaturecd21949 -
Model save
Verified signatureeee32aa -
Model save
Verified signature87e6512 -
Model save
Verified signatured234156 -
Training in progress, step 50
Verified signatureec3e0a8 -
Training in progress, step 50
Verified signaturea8b6b8e -
Training in progress, step 50
Verified signature8564aac -
Training in progress, step 50
Verified signaturec8616fa -
Training in progress, step 50
Verified signature55dff5e -
Training in progress, step 50
Verified signature1d9bf11
-
Training in progress, step 280
Verified signature17e74e4 -
Training in progress, step 200
Verified signature2f006b5 -
Training in progress, step 50
Verified signaturee9c98ff -
Training in progress, step 50
Verified signature3ae497a