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

  • Log In
  • Sign Up

WeReCooking
/
MiniGPT4-7B-WebGPU

Image-Text-to-Text
ONNX
GGUF
minigpt4
vicuna
webgpu
wllama
onnxruntime-web
Model card Files Files and versions
xet
Community

Instructions to use WeReCooking/MiniGPT4-7B-WebGPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use WeReCooking/MiniGPT4-7B-WebGPU with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    # Run inference directly in the terminal:
    llama cli -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    # Run inference directly in the terminal:
    llama cli -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf WeReCooking/MiniGPT4-7B-WebGPU:BF16
    Use Docker
    docker model run hf.co/WeReCooking/MiniGPT4-7B-WebGPU:BF16
  • Llama new
  • LM Studio
  • Jan
  • vLLM

    How to use WeReCooking/MiniGPT4-7B-WebGPU with vLLM:

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

    How to use WeReCooking/MiniGPT4-7B-WebGPU with Ollama:

    ollama run hf.co/WeReCooking/MiniGPT4-7B-WebGPU:BF16
  • Unsloth Desktop
  • Docker Model Runner

    How to use WeReCooking/MiniGPT4-7B-WebGPU with Docker Model Runner:

    docker model run hf.co/WeReCooking/MiniGPT4-7B-WebGPU:BF16
  • Lemonade

    How to use WeReCooking/MiniGPT4-7B-WebGPU with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull WeReCooking/MiniGPT4-7B-WebGPU:BF16
    Run and chat with the model
    lemonade run user.MiniGPT4-7B-WebGPU-BF16
    List all available models
    lemonade list
  • Atomic Chat
MiniGPT4-7B-WebGPU / vision
1.17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Nekochu's picture
Nekochu
MiniGPT-4 7B for the browser: vision ONNX (q8) + Vicuna Q4_0 GGUF with F16 embeddings
4eb815f verified 3 days ago
  • vision_q8b64.onnx
    609 kB
    xet
    MiniGPT-4 7B for the browser: vision ONNX (q8) + Vicuna Q4_0 GGUF with F16 embeddings 3 days ago
  • vision_q8b64.onnx.data
    1.17 GB
    xet
    MiniGPT-4 7B for the browser: vision ONNX (q8) + Vicuna Q4_0 GGUF with F16 embeddings 3 days ago