Instructions to use Adrien35/reverse_sd_pixel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adrien35/reverse_sd_pixel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Adrien35/reverse_sd_pixel")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Adrien35/reverse_sd_pixel") model = AutoModelForMultimodalLM.from_pretrained("Adrien35/reverse_sd_pixel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Adrien35/reverse_sd_pixel with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Adrien35/reverse_sd_pixel" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Adrien35/reverse_sd_pixel", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Adrien35/reverse_sd_pixel
- SGLang
How to use Adrien35/reverse_sd_pixel 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 "Adrien35/reverse_sd_pixel" \ --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": "Adrien35/reverse_sd_pixel", "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 "Adrien35/reverse_sd_pixel" \ --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": "Adrien35/reverse_sd_pixel", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Adrien35/reverse_sd_pixel with Docker Model Runner:
docker model run hf.co/Adrien35/reverse_sd_pixel
Commit History
-
Training in progress, step 1750
Verified signature4aaf7c6 -
Training in progress, step 1650
Verified signatureb352378 -
Training in progress, step 1550
Verified signature2315cc5 -
Training in progress, step 1450
Verified signatureccb8d11 -
Training in progress, step 1350
Verified signature6ba40c4 -
Training in progress, step 1300
Verified signature7c2236d -
Training in progress, step 1250
Verified signature64c7f6f -
Training in progress, step 1200
Verified signature5ffd61e -
Training in progress, step 1100
Verified signature59de717 -
Training in progress, step 1050
Verified signature9d08ee0 -
Training in progress, step 950
Verified signature6292107 -
Training in progress, step 900
Verified signature48c22ec -
Training in progress, step 850
Verified signature44d7a06 -
Training in progress, step 800
Verified signaturea83a383 -
Training in progress, step 700
Verified signatureb0fb82b -
Training in progress, step 600
Verified signature9edfb0c -
Training in progress, step 500
Verified signature420a36b -
Training in progress, step 400
Verified signaturee60cec0 -
Training in progress, step 350
Verified signaturedd88a7c -
Training in progress, step 300
Verified signature497df49 -
Training in progress, step 250
Verified signatureed57649 -
Training in progress, step 200
Verified signature9e6c8d8 -
Training in progress, step 150
Verified signature980320b -
Training in progress, step 50
Verified signature8b9b322 -
initial commit
Verified signature3937aa0