CoolFace
Modelpublic

second-state/llm-compiler-13b-GGUF

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

llm-compiler-13b-GGUF

Original Model

facebook/llm-compiler-13b

License A custom commercial license is available at: https://ai.meta.com/resources/models-and-libraries/llama-downloads/

Run with LlamaEdge

<!-- - LlamaEdge version: v0.2.8 and above -->

  • LlamaEdge version: coming soon

<!-- - Prompt template

  • Prompt type: codellama-instruct
  • Prompt string
text
    [INST] {system_message}

    <code>
    {user_message}
    </code>[/INST]

Note that the system_message should be Tell me how to optimize this LLVM-IR for object file size: or Disassemble this code to LLVM-IR:.

  • Context size: 4096
  • Run as LlamaEdge command app
bash
  wasmedge --dir .:. --nn-preload default:GGML:AUTO:llm-compiler-13b-Q5_K_M.gguf llama-chat.wasm -p codellama-instruct

Quantized GGUF Models

NameQuant methodBitsSizeUse case
llm-compiler-13b-Q2_K.ggufQ2_K24.85 GBsmallest, significant quality loss - not recommended for most purposes
llm-compiler-13b-Q3_K_L.ggufQ3KL36.93 GBsmall, substantial quality loss
llm-compiler-13b-Q3_K_M.ggufQ3KM36.34 GBvery small, high quality loss
llm-compiler-13b-Q3_K_S.ggufQ3KS35.66 GBvery small, high quality loss
llm-compiler-13b-Q4_0.ggufQ4_047.37 GBlegacy; small, very high quality loss - prefer using Q3KM
llm-compiler-13b-Q4_K_M.ggufQ4KM47.87 GBmedium, balanced quality - recommended
llm-compiler-13b-Q4_K_S.ggufQ4KS47.42 GBsmall, greater quality loss
llm-compiler-13b-Q5_0.ggufQ5_058.97 GBlegacy; medium, balanced quality - prefer using Q4KM
llm-compiler-13b-Q5_K_M.ggufQ5KM59.23 GBlarge, very low quality loss - recommended
llm-compiler-13b-Q5_K_S.ggufQ5KS58.97 GBlarge, low quality loss - recommended
llm-compiler-13b-Q6_K.ggufQ6_K610.7 GBvery large, extremely low quality loss
llm-compiler-13b-Q8_0.ggufQ8_0813.8 GBvery large, extremely low quality loss - not recommended
llm-compiler-13b-f16.gguff16f1626 GB

Quantized with llama.cpp b3259