Views
No views yet
| Bits | Format | Size (≈) |
|---|---|---|
| Q2_K | 2-bit | 3.4 GB |
| Q3_K_M | 3-bit | 4.4 GB |
| Q4_0 / Q4_K_M | 4-bit | 5.1 GB / 5.4 GB |
| Q5_0 / Q5_K_M | 5-bit | 6.1 GB / 6.3 GB |
| Q6_K | 6-bit | 8 GB* |
| Q8_0 | 8-bit | 9.3 GB |
| F16 / F32 | 16 / 32-bit | 17.6 GB |
1git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make -j
2./main -m Fanar-1-9B-Instruct.Q4_K_M.gguf -p "ما هي عاصمة قطر؟"1from llama_cpp import Llama
2llm = Llama(
3 model_path="Fanar-1-9B-Instruct.Q4_K_M.gguf",
4 n_ctx=4096,
5 chat_format="gemma" # Fanar follows Gemma chat template
6)
7print(llm.create_chat_completion(
8 messages=[{"role":"user","content":"Translate 'peace' to Arabic"}]
9).choices[0].message.content)QCRI/Fanar-1-9B-Instruct (please consult its model card for training data, evaluation results and limitations). (Hugging Face)