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 1950
Verified signaturefbb6a0a -
Training in progress, step 1900
Verified signaturef70fab3 -
Training in progress, step 1850
Verified signaturef172e63 -
Training in progress, step 1750
Verified signatureda02faa -
Training in progress, step 1700
Verified signatureadf46a5 -
Training in progress, step 1650
Verified signature91d269a -
Training in progress, step 1550
Verified signaturefeed2aa -
Training in progress, step 1450
Verified signature40b0b6e -
Training in progress, step 1400
Verified signature5728430 -
Training in progress, step 1350
Verified signature0cc6ae0 -
Training in progress, step 1250
Verified signature9762e0d -
Training in progress, step 1200
Verified signature4bc2b07 -
Training in progress, step 1100
Verified signature687d064 -
Training in progress, step 1050
Verified signature3eec12c -
Training in progress, step 1000
Verified signature3a7511a -
Training in progress, step 900
Verified signature567d811 -
Training in progress, step 850
Verified signatureaab74b6 -
Training in progress, step 800
Verified signaturebd89694 -
Training in progress, step 750
Verified signature9269ee5 -
Training in progress, step 700
Verified signature999f2f7 -
Training in progress, step 650
Verified signature90928b6 -
Training in progress, step 600
Verified signature8e2a882 -
Training in progress, step 500
Verified signaturec586d4f -
Training in progress, step 450
Verified signature98d8f61 -
Training in progress, step 400
Verified signature5844f52 -
Training in progress, step 350
Verified signature15861f6 -
Training in progress, step 250
Verified signature2c56d14 -
Training in progress, step 200
Verified signature72ea17b -
Training in progress, step 150
Verified signature2b9a2c5 -
Training in progress, step 50
Verified signature85e219f -
Training in progress, step 3050
Verified signatureb3b4eda -
Training in progress, step 3000
Verified signature451015f -
Training in progress, step 2900
Verified signaturebf053ab -
Training in progress, step 2850
Verified signatured842693 -
Training in progress, step 2800
Verified signaturecf7fd4b -
Training in progress, step 2700
Verified signature6d0ceb4 -
Training in progress, step 2650
Verified signature8601d59 -
Training in progress, step 2600
Verified signature30fbf7b -
Training in progress, step 2550
Verified signatured82ef35 -
Training in progress, step 2500
Verified signaturec941736 -
Training in progress, step 2400
Verified signature935f940 -
Training in progress, step 2300
Verified signature92daf51 -
Training in progress, step 2200
Verified signature922e562 -
Training in progress, step 2100
Verified signature34dede1 -
Training in progress, step 2050
Verified signatureb15aa0f -
Training in progress, step 2000
Verified signature2ae6be7 -
Training in progress, step 1950
Verified signature206f2e3 -
Training in progress, step 1900
Verified signaturef7e4c12 -
Training in progress, step 1850
Verified signaturee89f496 -
Training in progress, step 1800
Verified signaturea65080e