CoolFace
Modelpublic

second-state/Yi-Coder-1.5B-Chat-GGUF

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes813downloads
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 -->

Yi-Coder-1.5B-Chat-GGUF

Original Model

01-ai/Yi-Coder-1.5B-Chat

Run with LlamaEdge

  • LlamaEdge version: v0.14.2 and above
  • Prompt template
  • Prompt type: chatml
  • Prompt string
text
    <|im_start|>system
    {system_message}<|im_end|>
    <|im_start|>user
    {prompt}<|im_end|>
    <|im_start|>assistant
  • Reverse prompt: <|im_end|>
  • Context size: 128000
  • Run as LlamaEdge service
bash
  wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-Coder-1.5B-Chat-Q5_K_M.gguf \
    llama-api-server.wasm \
    --prompt-template chatml \
    --reverse-prompt "<|im_end|>" \
    --ctx-size 128000 \
    --model-name Yi-Coder-1.5B-Chat
  • Run as LlamaEdge command app
bash
  wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-Coder-1.5B-Chat-Q5_K_M.gguf \
    llama-chat.wasm \
    --prompt-template chatml \
    --reverse-prompt "<|im_end|>" \
    --ctx-size 128000

Quantized GGUF Models

NameQuant methodBitsSizeUse case
Yi-Coder-1.5B-Chat-Q2_K.ggufQ2_K2635 MBsmallest, significant quality loss - not recommended for most purposes
Yi-Coder-1.5B-Chat-Q3_K_L.ggufQ3KL3826 MBsmall, substantial quality loss
Yi-Coder-1.5B-Chat-Q3_K_M.ggufQ3KM3768 MBvery small, high quality loss
Yi-Coder-1.5B-Chat-Q3_K_S.ggufQ3KS3723 MBvery small, high quality loss
Yi-Coder-1.5B-Chat-Q4_0.ggufQ4_04866 MBlegacy; small, very high quality loss - prefer using Q3KM
Yi-Coder-1.5B-Chat-Q4_K_M.ggufQ4KM4964 MBmedium, balanced quality - recommended
Yi-Coder-1.5B-Chat-Q4_K_S.ggufQ4KS4904 MBsmall, greater quality loss
Yi-Coder-1.5B-Chat-Q5_0.ggufQ5_051.03 GBlegacy; medium, balanced quality - prefer using Q4KM
Yi-Coder-1.5B-Chat-Q5_K_M.ggufQ5KM51.10 GBlarge, very low quality loss - recommended
Yi-Coder-1.5B-Chat-Q5_K_S.ggufQ5KS51.05 GBlarge, low quality loss - recommended
Yi-Coder-1.5B-Chat-Q6_K.ggufQ6_K61.28 GBvery large, extremely low quality loss
Yi-Coder-1.5B-Chat-Q8_0.ggufQ8_081.57 GBvery large, extremely low quality loss - not recommended
Yi-Coder-1.5B-Chat-f16.gguff16162.95 GB

Quantized with llama.cpp b3664