CoolFace
Modelpublic

leafspark/Llama-3-8B-Instruct-Gradient-4194k-GGUF

sourceHugging Facellama3updated 2y agoView on Hugging Face
4likes1.5kdownloads
Model Card

Llama-3-8B-Instruct-Gradient-4194k-GGUF

Fixing prompt format issues

  • —~~Use iMatrix for Llama 3 prompt format on Q4 and below, or try Q4KM fixed~~
  • —~~Use ChatML for Q6 and below~~
  • —Use Llama 3, see issues

Issues

  • —~~Context length is not defined correctly in quant, not sure if this is a llama.cpp issue~~ Use RoPE settings
  • —Output ends with </s> or other EOS tokens, might be an issue with their training data

This model was converted to GGUF format from `gradientai/Llama-3-8B-Instruct-Gradient-4194k` using llama.cpp via the ggml.ai's GGUF-my-repo space. Refer to the original model card for more details on the model.

FilenameQuantSizeDescription
llama-3-8b-instruct-gradient-4194k.f16.gguff1614.9GBLossless
llama-3-8b-instruct-gradient-4194k.Q8_0.ggufQ8_08.54GBExtremely high quality
llama-3-8b-instruct-gradient-4194k.Q6_K.ggufQ6_K6.60GBVery high quality, near perfect, recommended.
llama-3-8b-instruct-gradient-4194k.Q5_K_M.ggufQ5KM5.73GBHigh quality
llama-3-8b-instruct-gradient-4194k.Q5_K_S.ggufQ5KS5.60GBEven higher quality
llama-3-8b-instruct-gradient-4194k.Q4_K_M.ggufQ4KM4.92GBRecommended, medium-high quality
llama-3-8b-instruct-gradient-4194k.Q4_K_M.fixed.ggufQ4KM (fixed)4.92GBFixed version (requanted)
llama-3-8b-instruct-gradient-4194k.Q4_K_S.ggufQ4KS4.69GBRecommended, medium quality
llama-3-8b-instruct-gradient-4194k.Q4_0.ggufQ4_04.66GBUsable, better than Q3 but worse than Q4
llama-3-8b-instruct-gradient-4194k.Q3_K_L.ggufQ3KL4.32GBUsable
llama-3-8b-instruct-gradient-4194k.Q3_K_M.ggufQ3KM4.02GBBad quality, use Q4
llama-3-8b-instruct-gradient-4194k.Q3_K_S.ggufQ3KS3.66GBNot recommended
llama-3-8b-instruct-gradient-4194k.Q2_K.ggufQ2_K2.95GBVery low quality, would not use on 8b models

Use with llama.cpp

Install llama.cpp through brew.

bash
brew install ggerganov/ggerganov/llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

bash
llama-cli --hf-repo leafspark/llama-3-8b-instruct-gradient-4194k.Q8_0-GGUF --model llama-3-8b-instruct-gradient-4194k.Q8_0.gguf -p "The meaning to life and the universe is"

Server:

bash
llama-server --hf-repo leafspark/llama-3-8b-instruct-gradient-4194k.Q8_0-GGUF --model llama-3-8b-instruct-gradient-4194k.Q8_0.gguf -c 2048

Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.

git clone https://github.com/ggerganov/llama.cpp &&             cd llama.cpp &&             make &&             ./main -m llama-3-8b-instruct-gradient-4194k.Q8_0.gguf -n 128