Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Adrien35
/
reverse_sd_pixel

Image-Text-to-Text
Transformers
TensorBoard
Safetensors
git
Model card Files Files and versions
xet
Metrics Training metrics Community

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")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("Adrien35/reverse_sd_pixel")
    model = AutoModelForImageTextToText.from_pretrained("Adrien35/reverse_sd_pixel")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • 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
reverse_sd_pixel / runs
155 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 124 commits
Adrien35's picture
Adrien35
Training in progress, step 2400
d5993d4 verified almost 2 years ago
  • Jun17_07-50-31_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_07-50-55_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_07-51-12_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_07-55-51_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_07-58-22_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_08-04-22_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_08-06-30_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_08-07-16_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_08-42-36_2cebd1462308
    Training in progress, step 50 almost 2 years ago
  • Jun17_08-44-50_2cebd1462308
    Training in progress, step 2350 almost 2 years ago
  • Jun17_11-11-25_91f47449a7de
    Training in progress, step 50 almost 2 years ago
  • Jun17_11-30-13_91f47449a7de
    Training in progress, step 2400 almost 2 years ago