CoolFace
Modelpublic

eltay89/ALLaM-7B-Instruct-GGUF

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

๐Ÿฆ™ ALLaM-7B-Instruct-GGUF

This repository provides quantized GGUF versions of ALLaM-7B-Instruct, optimized for efficient inference using llama.cpp.

โš ๏ธ Acknowledgment

The original model was developed by ALLaM-AI and is available here: ๐Ÿ”— ALLaM-7B-Instruct-Preview

This repository only provides quantized versions for improved performance on different hardware.


โœจ Overview

ALLaM-7B-Instruct is an Arabic-centric instruction-tuned model based on Metaโ€™s LLaMA architecture, designed for natural language understanding and generation in Arabic.

๐Ÿš€ Whatโ€™s New?

โœ… GGUF Format โ€“ Optimized for llama.cpp โœ… Multiple Quantization Levels โ€“ Balance between precision and efficiency โœ… Run on CPUs & Low-Resource Devices โ€“ No need for high-end GPUs!


๐Ÿ“‚ Available Model Quantizations

Model VariantPrecisionSizeBest For
ALLaM-7B-Instruct-f16.ggufFP16LargeHigh-precision tasks
ALLaM-7B-Instruct-Q8_0.gguf8-bitMediumBalanced quality & speed
ALLaM-7B-Instruct-Q6_K.gguf6-bitSmallGood trade-off
ALLaM-7B-Instruct-Q5_0.gguf5-bitSmallAlternative quantization
ALLaM-7B-Instruct-Q5_K_M.gguf5-bitSmallerFast inference
ALLaM-7B-Instruct-Q4_0.gguf4-bitVery SmallLegacy format
ALLaM-7B-Instruct-Q4_K_M.gguf4-bitVery SmallLow-memory devices
ALLaM-7B-Instruct-Q2_K.gguf2-bitSmallestExtreme efficiency

๐Ÿ“– Installation & Setup

1๏ธโƒฃ Install `llama.cpp`

Clone and build llama.cpp:

bash
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
make

2๏ธโƒฃ Download the Model

Choose and download a .gguf file from this repository.

3๏ธโƒฃ Run Inference

Use llama.cpp to generate responses:

bash
./main -m ALLaM-7B-Instruct-Q4_0.gguf -p "ูƒูŠู ุฃุฌู‡ุฒ ูƒูˆุจ ุดุงู‡ูŠุŸ"

Expected Output:

ู„ุชุญุถูŠุฑ ูƒูˆุจ ุดุงูŠุŒ ุงุบู„ูŠ ุงู„ู…ุงุกุŒ ุถุน ุงู„ุดุงูŠ ููŠ ุงู„ูƒูˆุจุŒ ูˆุงุณูƒุจ ุงู„ู…ุงุก ุงู„ุณุงุฎู† ููˆู‚ู‡. ุงุชุฑูƒู‡ ู„ุฏู‚ุงุฆู‚ ุซู… ุงุณุชู…ุชุน ุจู…ุฐุงู‚ู‡!

๐Ÿ“Š Benchmarks & Performance

Quantization FormatModel SizeCPU (Tokens/sec)GPU (Tokens/sec)
FP16Large~2~15
Q8_0Medium~4~30
Q6_KSmaller~6~40
Q5_0Small~7~42
Q5KMSmaller~8~45
Q4_0Very Small~9~48
Q4KMVery Small~10~50
Q2_KSmallest~12~55

Performance may vary based on hardware and configuration.


๐Ÿ“œ License

This model follows the ALLaM-AI license. Refer to their Hugging Face repository for details.

โค๏ธ Acknowledgments

  • โ€”ALLaM-AI for developing the original ALLaM-7B-Instruct model.
  • โ€”llama.cpp by ggerganov for optimized inference.

โญ Contributions & Feedback

If you find this quantized model useful, feel free to contribute, provide feedback, or share your results!