CoolFace
Modelpublic

second-state/Mistral-Small-24B-Instruct-2501-GGUF

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes666downloads
Model Card

<!-- header start --> <!-- 200823 --> <div style="width: auto; margin-left: auto; margin-right: auto"> <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;"> </div> <hr style="margin-top: 1.0em; margin-bottom: 1.0em;"> <!-- header end -->

Mistral-Small-24B-Instruct-2501-GGUF

Original Model

mistralai/Mistral-Small-24B-Instruct-2501

Run with LlamaEdge

  • Prompt template
  • Chat
  • Prompt type: mistral-small-chat
  • Prompt string
text
      <s>[SYSTEM_PROMPT]<system prompt>[/SYSTEM_PROMPT][INST]<user message>[/INST]<assistant response></s>[INST]<user message>[/INST]
  • Chat + Tool Use
  • Prompt type: mistral-small-tool
  • Prompt string
text
      <s>[INST] {user_message_1}[/INST][TOOL_CALLS] [{tool_call_1},{tool_call_2}]</s>[TOOL_RESULTS] {tool_result_1}[/TOOL_RESULTS] {assistant_message_1}</s>[AVAILABLE_TOOLS] [{tool_1},{tool_2}][/AVAILABLE_TOOLS][INST] {system_message}<0x0A><0x0A>{user_message_2}[/INST]
  • Context size: 32000
  • Run as LlamaEdge service
  • Chat
bash
    wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-Small-24B-Instruct-2501-Q5_K_M.gguf \
        llama-api-server.wasm \
        --prompt-template mistral-small-chat \
        --ctx-size 32000 \
        --model-name Mistral-Small-24B-Instruct-2501
  • Chat + Tool Use
bash
    wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-Small-24B-Instruct-2501-Q5_K_M.gguf \
        llama-api-server.wasm \
        --prompt-template mistral-small-tool \
        --ctx-size 32000 \
        --model-name Mistral-Small-24B-Instruct-2501

Example:

image/png

  • Run as LlamaEdge command app
  • Chat
bash
    wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-Small-24B-Instruct-2501-Q5_K_M.gguf \
      llama-chat.wasm \
      --prompt-template mistral-small-chat \
      --ctx-size 32000

Quantized GGUF Models

NameQuant methodBitsSizeUse case
Mistral-Small-24B-Instruct-2501-Q2_K.ggufQ2_K28.89 GBsmallest, significant quality loss - not recommended for most purposes
Mistral-Small-24B-Instruct-2501-Q3_K_L.ggufQ3KL312.4 GBsmall, substantial quality loss
Mistral-Small-24B-Instruct-2501-Q3_K_M.ggufQ3KM311.5 GBvery small, high quality loss
Mistral-Small-24B-Instruct-2501-Q3_K_S.ggufQ3KS310.4 GBvery small, high quality loss
Mistral-Small-24B-Instruct-2501-Q4_0.ggufQ4_0413.4 GBlegacy; small, very high quality loss - prefer using Q3KM
Mistral-Small-24B-Instruct-2501-Q4_K_M.ggufQ4KM414.3 GBmedium, balanced quality - recommended
Mistral-Small-24B-Instruct-2501-Q4_K_S.ggufQ4KS413.5 GBsmall, greater quality loss
Mistral-Small-24B-Instruct-2501-Q5_0.ggufQ5_0516.3 GBlegacy; medium, balanced quality - prefer using Q4KM
Mistral-Small-24B-Instruct-2501-Q5_K_M.ggufQ5KM516.8 GBlarge, very low quality loss - recommended
Mistral-Small-24B-Instruct-2501-Q5_K_S.ggufQ5KS516.3 GBlarge, low quality loss - recommended
Mistral-Small-24B-Instruct-2501-Q6_K.ggufQ6_K619.3 GBvery large, extremely low quality loss
Mistral-Small-24B-Instruct-2501-Q8_0.ggufQ8_0825.1 GBvery large, extremely low quality loss - not recommended
Mistral-Small-24B-Instruct-2501-f16.gguff161647.2 GB

Quantized with llama.cpp b4595.