Instructions to use ChiJuiChen/GenerativeImage2Text-naruto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChiJuiChen/GenerativeImage2Text-naruto with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ChiJuiChen/GenerativeImage2Text-naruto")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ChiJuiChen/GenerativeImage2Text-naruto") model = AutoModelForMultimodalLM.from_pretrained("ChiJuiChen/GenerativeImage2Text-naruto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ChiJuiChen/GenerativeImage2Text-naruto with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ChiJuiChen/GenerativeImage2Text-naruto" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ChiJuiChen/GenerativeImage2Text-naruto", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ChiJuiChen/GenerativeImage2Text-naruto
- SGLang
How to use ChiJuiChen/GenerativeImage2Text-naruto 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 "ChiJuiChen/GenerativeImage2Text-naruto" \ --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": "ChiJuiChen/GenerativeImage2Text-naruto", "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 "ChiJuiChen/GenerativeImage2Text-naruto" \ --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": "ChiJuiChen/GenerativeImage2Text-naruto", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ChiJuiChen/GenerativeImage2Text-naruto with Docker Model Runner:
docker model run hf.co/ChiJuiChen/GenerativeImage2Text-naruto
Commit History
-
Training in progress, step 50
Verified signaturef3bb95a -
Training in progress, step 450
Verified signature3d0f513 -
Training in progress, step 300
Verified signature0273f73 -
Training in progress, step 200
Verified signature2c9a59e -
Training in progress, step 50
Verified signature783b576 -
Training in progress, step 200
Verified signaturec5c8fe3 -
Training in progress, step 50
Verified signatureefdd4e5 -
End of training
Verified signature71f579e -
Training in progress, step 1200
Verified signaturea30a3e2 -
Training in progress, step 1050
Verified signatureab53019 -
Training in progress, step 900
Verified signature00db517 -
Training in progress, step 700
Verified signatured85df1e -
Training in progress, step 550
Verified signature121a9d5 -
Training in progress, step 400
Verified signature42c8018 -
Training in progress, step 250
Verified signatured44b136 -
Training in progress, step 50
Verified signatureef455ac -
Training in progress, step 400
Verified signature1534ed3 -
Training in progress, step 350
Verified signaturef7a8d5c -
Training in progress, step 300
Verified signature105376f -
Training in progress, step 250
Verified signature0504b55 -
Training in progress, step 200
Verified signatureabbd789 -
Training in progress, step 150
Verified signatureb73fa64 -
Training in progress, step 50
Verified signature552f499 -
Training in progress, step 50
Verified signaturea8cd671 -
Training in progress, step 50
Verified signaturef6d0b78 -
End of training
Verified signature9b82740 -
Training in progress, step 600
Verified signatureebda5b3 -
Training in progress, step 400
Verified signature579fa76 -
Training in progress, step 250
Verified signature4f14cdb -
Training in progress, step 50
Verified signatured0d0bbf -
initial commit
Verified signature136a70a