CoolFace
Modelpublic

second-state/Llama3-8B-Chinese-Chat-GGUF

sourceHugging Faceotherupdated 2y agoView on Hugging Face
0likes563downloads
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 -->

Llama3-8B-Chinese-Chat-GGUF

Original Model

shenzhi-wang/Llama3-8B-Chinese-Chat

Run with LlamaEdge

  • LlamaEdge version: v0.8.6 and above
  • Prompt template
  • Prompt type: llama-3-chat
  • Prompt string
text
    <|begin_of_text|><|start_header_id|>system<|end_header_id|>

    {{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>

    {{ user_message_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>

    {{ model_answer_1 }}<|eot_id|><|start_header_id|>user<|end_header_id|>

    {{ user_message_2 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
  • Context size: 4096
  • Run as LlamaEdge service
bash
  wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama3-8B-Chinese-Chat-Q5_K_M.gguf \
    llama-api-server.wasm \
    --prompt-template llama-3-chat \
    --ctx-size 4096 \
    --model-name Llama-3-8b-Chinese-Chat \
  • Run as LlamaEdge command app
bash
  wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama3-8B-Chinese-Chat-Q5_K_M.gguf \
    llama-chat.wasm \
    --prompt-template Llama-3-8b-Chinese-Chat \
    --ctx-size 4096 \

Quantized GGUF Models

NameQuant methodBitsSizeUse case
Llama3-8B-Chinese-Chat-Q2_K.ggufQ2_K23.18 GBsmallest, significant quality loss - not recommended for most purposes
Llama3-8B-Chinese-Chat-Q3_K_L.ggufQ3KL34.32 GBsmall, substantial quality loss
Llama3-8B-Chinese-Chat-Q3_K_M.ggufQ3KM34.02 GBvery small, high quality loss
Llama3-8B-Chinese-Chat-Q3_K_S.ggufQ3KS33.66 GBvery small, high quality loss
Llama3-8B-Chinese-Chat-Q4_0.ggufQ4_044.66 GBlegacy; small, very high quality loss - prefer using Q3KM
Llama3-8B-Chinese-Chat-Q4_K_M.ggufQ4KM44.92 GBmedium, balanced quality - recommended
Llama3-8B-Chinese-Chat-Q4_K_S.ggufQ4KS44.69 GBsmall, greater quality loss
Llama3-8B-Chinese-Chat-Q5_0.ggufQ5_055.6 GBlegacy; medium, balanced quality - prefer using Q4KM
Llama3-8B-Chinese-Chat-Q5_K_M.ggufQ5KM55.73 GBlarge, very low quality loss - recommended
Llama3-8B-Chinese-Chat-Q5_K_S.ggufQ5KS55.6 GBlarge, low quality loss - recommended
Llama3-8B-Chinese-Chat-Q6_K.ggufQ6_K66.6 GBvery large, extremely low quality loss
Llama3-8B-Chinese-Chat-Q8_0.ggufQ8_088.54 GBvery large, extremely low quality loss - not recommended
Llama3-8B-Chinese-Chat-f16.gguff161616.1 GB

Quantized with llama.cpp b2734.