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

peasantsmith
/
Hy4-Flash-Maya-GGUF

Image-Text-to-Text
GGUF
hunyuan
hy4-flash
hy_v4_flash
Mixture of Experts
mixture-of-experts
multimodal
instruct
project-maya
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use peasantsmith/Hy4-Flash-Maya-GGUF 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 peasantsmith/Hy4-Flash-Maya-GGUF 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 peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    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 peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Use Docker
    docker model run hf.co/peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
  • Llama new
  • LM Studio
  • Jan
  • vLLM

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "peasantsmith/Hy4-Flash-Maya-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": "peasantsmith/Hy4-Flash-Maya-GGUF",
    		"messages": [
    			{
    				"role": "user",
    				"content": [
    					{
    						"type": "text",
    						"text": "Describe this image in one sentence."
    					},
    					{
    						"type": "image_url",
    						"image_url": {
    							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
    						}
    					}
    				]
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
  • Ollama

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with Ollama:

    ollama run hf.co/peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
  • Unsloth Desktop
  • Pi

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with Pi:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Configure the model in Pi
    # Install Pi:
    npm install -g @earendil-works/pi-coding-agent
    # Add to ~/.pi/agent/models.json:
    {
      "providers": {
        "llama-cpp": {
          "baseUrl": "http://localhost:9931/v1",
          "api": "openai-completions",
          "apiKey": "none",
          "models": [
            {
              "id": "peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS"
            }
          ]
        }
      }
    }
    Run Pi
    # Start Pi in your project directory:
    pi
  • Docker Model Runner

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with Docker Model Runner:

    docker model run hf.co/peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
  • Lemonade

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Run and chat with the model
    lemonade run user.Hy4-Flash-Maya-GGUF-IQ4_XS
    List all available models
    lemonade list
  • Hermes Agent

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with Hermes Agent:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Configure Hermes
    # Install Hermes:
    curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
    hermes setup
    # Point Hermes at the local server:
    hermes config set model.provider custom
    hermes config set model.base_url http://127.0.0.1:9931/v1
    hermes config set model.default peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Run Hermes
    hermes
  • Atomic Chat
  • OpenClaw

    How to use peasantsmith/Hy4-Flash-Maya-GGUF with OpenClaw:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS
    Configure OpenClaw
    # Install OpenClaw:
    npm install -g openclaw@latest
    # Register the local server and set it as the default model:
    openclaw onboard --non-interactive --mode local \
      --auth-choice custom-api-key \
      --custom-base-url http://127.0.0.1:9931/v1 \
      --custom-model-id "peasantsmith/Hy4-Flash-Maya-GGUF:IQ4_XS" \
      --custom-provider-id llama-cpp \
      --custom-compatibility openai \
      --custom-text-input \
      --accept-risk \
      --skip-health
    Run OpenClaw
    openclaw agent --local --agent main --message "Hello from Hugging Face"
Hy4-Flash-Maya-GGUF
567 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 38 commits
peasantsmith's picture
peasantsmith
Card: quality charts
61b46da verified 5 days ago
  • Maya-L
    Add Maya-L/Hy4-Flash-Maya-L-IQ4_XS-00002-of-00002.gguf 5 days ago
  • Maya-M
    Add Maya-M/Hy4-Flash-Maya-M-IQ3_XXS-00002-of-00002.gguf 5 days ago
  • Maya-S
    Add Maya-S/Hy4-Flash-Maya-S-IQ2_S-00002-of-00002.gguf 5 days ago
  • Maya-XS-8GB
    Maya-XS for 8 GB cards (used by Project Maya's setup) 5 days ago
  • Maya-XS
    Drafter files renamed so the Hub reads the model's details from the model file 5 days ago
  • images
    Card: quality charts 5 days ago
  • mtp
    MTP draft block for Hy4-Flash (Tencent's, from AngelSlim's GGUF set), used by Project Maya 5 days ago
  • .gitattributes
    3.58 kB
    Card: quality charts 5 days ago
  • LICENSE
    13.9 kB
    Model card and license 5 days ago
  • README.md
    8.13 kB
    Card: quality charts 5 days ago