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

MaziyarPanahi
/
mergekit-passthrough-dmirwnd-GGUF

Text Generation
Transformers
GGUF
Safetensors
mistral
quantized
2-bit
3-bit
4-bit precision
5-bit
6-bit
8-bit precision
GGUF
llama
mergekit
Merge
conversational
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF", dtype="auto")
  • llama-cpp-python

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF",
    	filename="mergekit-passthrough-dmirwnd.Q2_K.gguf",
    )
    
    llm.create_chat_completion(
    	messages = [
    		{
    			"role": "user",
    			"content": "What is the capital of France?"
    		}
    	]
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama-cli -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama-cli -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    Use Docker
    docker model run hf.co/MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
  • LM Studio
  • Jan
  • vLLM

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
  • SGLang

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF 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 "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Ollama

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with Ollama:

    ollama run hf.co/MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
  • Unsloth Studio

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF to start chatting
  • Docker Model Runner

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with Docker Model Runner:

    docker model run hf.co/MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
  • Lemonade

    How to use MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull MaziyarPanahi/mergekit-passthrough-dmirwnd-GGUF:Q4_K_M
    Run and chat with the model
    lemonade run user.mergekit-passthrough-dmirwnd-GGUF-Q4_K_M
    List all available models
    lemonade list
mergekit-passthrough-dmirwnd-GGUF
58 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
MaziyarPanahi's picture
MaziyarPanahi
035dbae8b173c700f8eefa63c8d54c63d768e7f376434155bb2a733812783c0f
968b07f verified almost 2 years ago
  • .gitattributes
    2.13 kB
    035dbae8b173c700f8eefa63c8d54c63d768e7f376434155bb2a733812783c0f almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q2_K.gguf
    5.02 GB
    xet
    83294daf0ac960e5a6f62b6bf4342de300c3b5f6eebb388adffda7b2f03f3517 almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q3_K_L.gguf
    6.95 GB
    xet
    6e711056166bc471796894e6cd984c2a390e4b97bbcba03d62871ba57d6892cf almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q3_K_M.gguf
    6.43 GB
    xet
    d2d7df8ebb584e5a59c4d588c13132d81d85d189f407e60137154dbb741b160c almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q3_K_S.gguf
    5.82 GB
    xet
    320987c5c1d8b648f73d9c42d924f97ff6901346adf02e2aad2fe2468d77799c almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q4_K_M.gguf
    7.92 GB
    xet
    3db322aa88cc6a04523e28a5509980ef6c0e0baabf94aeae94cc2c0a0012d517 almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q4_K_S.gguf
    7.53 GB
    xet
    d5aa132226fffa048da4e4251dff12721344cdcc43698b768f85fa8d3c76fb0b almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q5_K_M.gguf
    9.27 GB
    xet
    7d280178961ec125f51a44451a0e1e605eb3be201952c09436be49eb080894f7 almost 2 years ago
  • mergekit-passthrough-dmirwnd.Q5_K_S.gguf
    9.05 GB
    xet
    035dbae8b173c700f8eefa63c8d54c63d768e7f376434155bb2a733812783c0f almost 2 years ago