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 2400
Verified signatured5993d4 -
Training in progress, step 2350
Verified signature3897127 -
Training in progress, step 2300
Verified signatureae69cf7 -
Training in progress, step 2250
Verified signatureeb3f52c -
Training in progress, step 2150
Verified signatured50a50f -
Training in progress, step 2050
Verified signature1e905ec -
Training in progress, step 2000
Verified signatured3eee6f -
Training in progress, step 1950
Verified signaturec50eb0b -
Training in progress, step 1900
Verified signaturebd12c4b -
Training in progress, step 1850
Verified signature031ee7c -
Training in progress, step 1800
Verified signature556df15 -
Training in progress, step 1750
Verified signature76426ae -
Training in progress, step 1650
Verified signaturea16118b -
Training in progress, step 1600
Verified signature6546d70 -
Training in progress, step 1550
Verified signaturec6e65eb -
Training in progress, step 1500
Verified signature04cb5b1 -
Training in progress, step 1450
Verified signature42bb9de -
Training in progress, step 1400
Verified signaturec50e18a -
Training in progress, step 1350
Verified signatureca5e256 -
Training in progress, step 1250
Verified signatured6004ea -
Training in progress, step 1200
Verified signaturec579a79 -
Training in progress, step 1100
Verified signature21fcba3 -
Training in progress, step 1050
Verified signatureddd529b -
Training in progress, step 1000
Verified signature3038ad6 -
Training in progress, step 950
Verified signature09f73cf -
Training in progress, step 900
Verified signature3433f87 -
Training in progress, step 850
Verified signatured767704 -
Training in progress, step 750
Verified signature59ef86e -
Training in progress, step 700
Verified signaturee493824 -
Training in progress, step 650
Verified signaturea39027c -
Training in progress, step 600
Verified signature61b4a4c -
Training in progress, step 500
Verified signature14da217 -
Training in progress, step 450
Verified signature645902a -
Training in progress, step 400
Verified signaturec35b842 -
Training in progress, step 350
Verified signature018bb0c -
Training in progress, step 250
Verified signaturea94eb10 -
Training in progress, step 200
Verified signature22ae43b -
Training in progress, step 150
Verified signature70b9e38 -
Training in progress, step 50
Verified signature412b4ba -
Training in progress, step 400
Verified signature380b8d6 -
Training in progress, step 350
Verified signaturee619cb9 -
Training in progress, step 250
Verified signature48f087f -
Training in progress, step 200
Verified signaturea91d0f0 -
Training in progress, step 150
Verified signature2cb212b -
Training in progress, step 50
Verified signature174a1cc -
Training in progress, step 2350
Verified signaturebf3d1f2 -
Training in progress, step 2300
Verified signature3962a90 -
Training in progress, step 2200
Verified signature685a4d8 -
Training in progress, step 2100
Verified signature8619379 -
Training in progress, step 2000
Verified signature71a383f