Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PanocularAI
/
PanoVLM-500M

Image-Text-to-Text
Transformers
Safetensors
English
panovlm
fastvit
vision-language
linear-attention
custom_code
Model card Files Files and versions
xet
Community

Instructions to use PanocularAI/PanoVLM-500M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use PanocularAI/PanoVLM-500M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="PanocularAI/PanoVLM-500M", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForImageTextToText
    model = AutoModelForImageTextToText.from_pretrained("PanocularAI/PanoVLM-500M", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use PanocularAI/PanoVLM-500M with vLLM:

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

    How to use PanocularAI/PanoVLM-500M 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 "PanocularAI/PanoVLM-500M" \
        --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": "PanocularAI/PanoVLM-500M",
    		"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 "PanocularAI/PanoVLM-500M" \
            --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": "PanocularAI/PanoVLM-500M",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use PanocularAI/PanoVLM-500M with Docker Model Runner:

    docker model run hf.co/PanocularAI/PanoVLM-500M
PanoVLM-500M
4.11 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
sd24's picture
sd24
Upload folder using huggingface_hub
f344ae3 verified 25 days ago
  • sharded
    Upload folder using huggingface_hub 25 days ago
  • .gitattributes
    1.52 kB
    initial commit 26 days ago
  • README.md
    1.82 kB
    Upload folder using huggingface_hub 25 days ago
  • config.json
    2.49 kB
    Upload folder using huggingface_hub 25 days ago
  • configuration_panovlm.py
    4.01 kB
    Upload folder using huggingface_hub 26 days ago
  • generation_config.json
    111 Bytes
    Upload folder using huggingface_hub 26 days ago
  • image_processing_panovlm.py
    3.63 kB
    Upload folder using huggingface_hub 26 days ago
  • model-00001-of-00001.safetensors
    2.05 GB
    xet
    Upload folder using huggingface_hub 25 days ago
  • model.safetensors.index.json
    107 kB
    Upload folder using huggingface_hub 26 days ago
  • modeling_panovlm.py
    17.4 kB
    Upload folder using huggingface_hub 25 days ago
  • preprocessor_config.json
    298 Bytes
    Upload folder using huggingface_hub 26 days ago
  • processing_panovlm.py
    3.12 kB
    Upload folder using huggingface_hub 26 days ago
  • processor_config.json
    150 Bytes
    Upload folder using huggingface_hub 26 days ago
  • special_tokens_map.json
    414 Bytes
    Upload folder using huggingface_hub 26 days ago
  • tokenizer.json
    3.51 MB
    Upload folder using huggingface_hub 25 days ago
  • tokenizer.model
    493 kB
    xet
    Upload folder using huggingface_hub 26 days ago
  • tokenizer_config.json
    566 Bytes
    Upload folder using huggingface_hub 25 days ago