oncu commited on
Commit
3d85005
·
verified ·
1 Parent(s): 41c63d8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: CohereForAI/c4ai-command-r7b-arabic-02-2025
3
+ language:
4
+ - en
5
+ - fr
6
+ - de
7
+ - es
8
+ - it
9
+ - pt
10
+ - ja
11
+ - ko
12
+ - zh
13
+ - ar
14
+ - el
15
+ - fa
16
+ - pl
17
+ - id
18
+ - cs
19
+ - he
20
+ - hi
21
+ - nl
22
+ - ro
23
+ - ru
24
+ - tr
25
+ - uk
26
+ - vi
27
+ library_name: transformers
28
+ license: cc-by-nc-4.0
29
+ tags:
30
+ - llama-cpp
31
+ - gguf-my-repo
32
+ inference: false
33
+ extra_gated_prompt: By submitting this form, you agree to the [License Agreement](https://cohere.com/c4ai-cc-by-nc-license) and
34
+ acknowledge that the information you provide will be collected, used, and shared
35
+ in accordance with Cohere’s [Privacy Policy]( https://cohere.com/privacy). You’ll
36
+ receive email updates about C4AI and Cohere research, events, products and services.
37
+ You can unsubscribe at any time.
38
+ extra_gated_fields:
39
+ Name: text
40
+ Affiliation: text
41
+ Country: country
42
+ I agree to use this model for non-commercial use ONLY: checkbox
43
+ ---
44
+
45
+ # oncu/c4ai-command-r7b-arabic-02-2025-Q4_K_M-GGUF
46
+ This model was converted to GGUF format from [`CohereForAI/c4ai-command-r7b-arabic-02-2025`](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
47
+ Refer to the [original model card](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) for more details on the model.
48
+
49
+ ## Use with llama.cpp
50
+ Install llama.cpp through brew (works on Mac and Linux)
51
+
52
+ ```bash
53
+ brew install llama.cpp
54
+
55
+ ```
56
+ Invoke the llama.cpp server or the CLI.
57
+
58
+ ### CLI:
59
+ ```bash
60
+ llama-cli --hf-repo oncu/c4ai-command-r7b-arabic-02-2025-Q4_K_M-GGUF --hf-file c4ai-command-r7b-arabic-02-2025-q4_k_m.gguf -p "The meaning to life and the universe is"
61
+ ```
62
+
63
+ ### Server:
64
+ ```bash
65
+ llama-server --hf-repo oncu/c4ai-command-r7b-arabic-02-2025-Q4_K_M-GGUF --hf-file c4ai-command-r7b-arabic-02-2025-q4_k_m.gguf -c 2048
66
+ ```
67
+
68
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
69
+
70
+ Step 1: Clone llama.cpp from GitHub.
71
+ ```
72
+ git clone https://github.com/ggerganov/llama.cpp
73
+ ```
74
+
75
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
76
+ ```
77
+ cd llama.cpp && LLAMA_CURL=1 make
78
+ ```
79
+
80
+ Step 3: Run inference through the main binary.
81
+ ```
82
+ ./llama-cli --hf-repo oncu/c4ai-command-r7b-arabic-02-2025-Q4_K_M-GGUF --hf-file c4ai-command-r7b-arabic-02-2025-q4_k_m.gguf -p "The meaning to life and the universe is"
83
+ ```
84
+ or
85
+ ```
86
+ ./llama-server --hf-repo oncu/c4ai-command-r7b-arabic-02-2025-Q4_K_M-GGUF --hf-file c4ai-command-r7b-arabic-02-2025-q4_k_m.gguf -c 2048
87
+ ```