Image-Text-to-Text
Transformers
TensorBoard
Safetensors
paligemma
Generated from Trainer
text-generation-inference
Instructions to use pepijn223/output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pepijn223/output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="pepijn223/output")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("pepijn223/output") model = AutoModelForMultimodalLM.from_pretrained("pepijn223/output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pepijn223/output with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pepijn223/output" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pepijn223/output", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pepijn223/output
- SGLang
How to use pepijn223/output 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 "pepijn223/output" \ --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": "pepijn223/output", "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 "pepijn223/output" \ --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": "pepijn223/output", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use pepijn223/output with Docker Model Runner:
docker model run hf.co/pepijn223/output
Download training_args.bin from pepijn223/output: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/pepijn223/output/resolve/main/training_args.bin
- Command line
-
hf download hf://pepijn223/output/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/pepijn223/output/resolve/main/training_args.bin
5.3 kB
- Xet hash:
- 8b52bd241dd6e45e54cbb14f2c0e901e3f704e1dc4bb41381b34c87fce53c0dc
- Size of remote file:
- 5.3 kB
- SHA256:
- b6141fdd0f3c26a9f6588a8882970ebcb37912eed8b28bba60e9d47e757f3419
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.