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

  • Log In
  • Sign Up

ACIDE
/
User-VLM-3B-base

Image-Text-to-Text
Transformers
Safetensors
English
paligemma
robotics
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use ACIDE/User-VLM-3B-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ACIDE/User-VLM-3B-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="ACIDE/User-VLM-3B-base")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("ACIDE/User-VLM-3B-base")
    model = AutoModelForImageTextToText.from_pretrained("ACIDE/User-VLM-3B-base")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use ACIDE/User-VLM-3B-base with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "ACIDE/User-VLM-3B-base"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "ACIDE/User-VLM-3B-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/ACIDE/User-VLM-3B-base
  • SGLang

    How to use ACIDE/User-VLM-3B-base 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 "ACIDE/User-VLM-3B-base" \
        --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": "ACIDE/User-VLM-3B-base",
    		"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 "ACIDE/User-VLM-3B-base" \
            --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": "ACIDE/User-VLM-3B-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use ACIDE/User-VLM-3B-base with Docker Model Runner:

    docker model run hf.co/ACIDE/User-VLM-3B-base
User-VLM-3B-base
6.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
hamedrahimi's picture
hamedrahimi
Update README.md
bcaffc1 verified 6 months ago
  • .gitattributes
    1.75 kB
    Rename result - final.pdf to result-final.pdf about 1 year ago
  • README.md
    4.98 kB
    Update README.md 6 months ago
  • config.json
    1.41 kB
    Upload PaliGemmaForConditionalGeneration over 1 year ago
  • generation_config.json
    173 Bytes
    Upload PaliGemmaForConditionalGeneration over 1 year ago
  • model-00001-of-00002.safetensors
    5 GB
    xet
    Upload PaliGemmaForConditionalGeneration over 1 year ago
  • model-00002-of-00002.safetensors
    1.07 GB
    xet
    Upload PaliGemmaForConditionalGeneration over 1 year ago
  • model.safetensors.index.json
    75.1 kB
    Upload PaliGemmaForConditionalGeneration over 1 year ago
  • pepper2.pdf
    1.14 MB
    xet
    Upload 2 files about 1 year ago
  • preprocessor_config.json
    425 Bytes
    Upload processor over 1 year ago
  • result-final.pdf
    419 kB
    xet
    Rename result - final.pdf to result-final.pdf about 1 year ago
  • special_tokens_map.json
    733 Bytes
    Upload processor over 1 year ago
  • tokenizer.json
    34.6 MB
    xet
    Upload processor over 1 year ago
  • tokenizer_config.json
    243 kB
    Upload processor over 1 year ago