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
| 6 |
+
- es
|
| 7 |
+
- it
|
| 8 |
+
- pt
|
| 9 |
+
- ja
|
| 10 |
+
- ko
|
| 11 |
+
- zh
|
| 12 |
+
- ar
|
| 13 |
+
license: cc-by-nc-4.0
|
| 14 |
+
library_name: transformers
|
| 15 |
+
extra_gated_prompt: "By submitting this form, you agree to the [License Agreement](https://cohere.com/c4ai-cc-by-nc-license) and acknowledge that the information you provide will be collected, used, and shared in accordance with Cohere’s [Privacy Policy]( https://cohere.com/privacy)."
|
| 16 |
+
extra_gated_fields:
|
| 17 |
+
Name: text
|
| 18 |
+
Affiliation: text
|
| 19 |
+
Country:
|
| 20 |
+
type: select
|
| 21 |
+
options:
|
| 22 |
+
- Aruba
|
| 23 |
+
- Afghanistan
|
| 24 |
+
- Angola
|
| 25 |
+
- Anguilla
|
| 26 |
+
- Åland Islands
|
| 27 |
+
- Albania
|
| 28 |
+
- Andorra
|
| 29 |
+
- United Arab Emirates
|
| 30 |
+
- Argentina
|
| 31 |
+
- Armenia
|
| 32 |
+
- American Samoa
|
| 33 |
+
- Antarctica
|
| 34 |
+
- French Southern Territories
|
| 35 |
+
- Antigua and Barbuda
|
| 36 |
+
- Australia
|
| 37 |
+
- Austria
|
| 38 |
+
- Azerbaijan
|
| 39 |
+
- Burundi
|
| 40 |
+
- Belgium
|
| 41 |
+
- Benin
|
| 42 |
+
- Bonaire Sint Eustatius and Saba
|
| 43 |
+
- Burkina Faso
|
| 44 |
+
- Bangladesh
|
| 45 |
+
- Bulgaria
|
| 46 |
+
- Bahrain
|
| 47 |
+
- Bahamas
|
| 48 |
+
- Bosnia and Herzegovina
|
| 49 |
+
- Saint Barthélemy
|
| 50 |
+
- Belarus
|
| 51 |
+
- Belize
|
| 52 |
+
- Bermuda
|
| 53 |
+
- Plurinational State of Bolivia
|
| 54 |
+
- Brazil
|
| 55 |
+
- Barbados
|
| 56 |
+
- Brunei-Darussalam
|
| 57 |
+
- Bhutan
|
| 58 |
+
- Bouvet-Island
|
| 59 |
+
- Botswana
|
| 60 |
+
- Central African Republic
|
| 61 |
+
- Canada
|
| 62 |
+
- Cocos (Keeling) Islands
|
| 63 |
+
- Switzerland
|
| 64 |
+
- Chile
|
| 65 |
+
- China
|
| 66 |
+
- Côte-dIvoire
|
| 67 |
+
- Cameroon
|
| 68 |
+
- Democratic Republic of the Congo
|
| 69 |
+
- Cook Islands
|
| 70 |
+
- Colombia
|
| 71 |
+
- Comoros
|
| 72 |
+
- Cabo Verde
|
| 73 |
+
- Costa Rica
|
| 74 |
+
- Cuba
|
| 75 |
+
- Curaçao
|
| 76 |
+
- Christmas Island
|
| 77 |
+
- Cayman Islands
|
| 78 |
+
- Cyprus
|
| 79 |
+
- Czechia
|
| 80 |
+
- Germany
|
| 81 |
+
- Djibouti
|
| 82 |
+
- Dominica
|
| 83 |
+
- Denmark
|
| 84 |
+
- Dominican Republic
|
| 85 |
+
- Algeria
|
| 86 |
+
- Ecuador
|
| 87 |
+
- Egypt
|
| 88 |
+
- Eritrea
|
| 89 |
+
- Western Sahara
|
| 90 |
+
- Spain
|
| 91 |
+
- Estonia
|
| 92 |
+
- Ethiopia
|
| 93 |
+
- Finland
|
| 94 |
+
- Fiji
|
| 95 |
+
- Falkland Islands (Malvinas)
|
| 96 |
+
- France
|
| 97 |
+
- Faroe Islands
|
| 98 |
+
- Federated States of Micronesia
|
| 99 |
+
- Gabon
|
| 100 |
+
- United Kingdom
|
| 101 |
+
- Georgia
|
| 102 |
+
- Guernsey
|
| 103 |
+
- Ghana
|
| 104 |
+
- Gibraltar
|
| 105 |
+
- Guinea
|
| 106 |
+
- Guadeloupe
|
| 107 |
+
- Gambia
|
| 108 |
+
- Guinea Bissau
|
| 109 |
+
- Equatorial Guinea
|
| 110 |
+
- Greece
|
| 111 |
+
- Grenada
|
| 112 |
+
- Greenland
|
| 113 |
+
- Guatemala
|
| 114 |
+
- French Guiana
|
| 115 |
+
- Guam
|
| 116 |
+
- Guyana
|
| 117 |
+
- Hong Kong
|
| 118 |
+
- Heard Island and McDonald Islands
|
| 119 |
+
- Honduras
|
| 120 |
+
- Croatia
|
| 121 |
+
- Haiti
|
| 122 |
+
- Hungary
|
| 123 |
+
- Indonesia
|
| 124 |
+
- Isle of Man
|
| 125 |
+
- India
|
| 126 |
+
- British Indian Ocean Territory
|
| 127 |
+
- Ireland
|
| 128 |
+
- Islamic Republic of Iran
|
| 129 |
+
- Iraq
|
| 130 |
+
- Iceland
|
| 131 |
+
- Israel
|
| 132 |
+
- Italy
|
| 133 |
+
- Jamaica
|
| 134 |
+
- Jersey
|
| 135 |
+
- Jordan
|
| 136 |
+
- Japan
|
| 137 |
+
- Kazakhstan
|
| 138 |
+
- Kenya
|
| 139 |
+
- Kyrgyzstan
|
| 140 |
+
- Cambodia
|
| 141 |
+
- Kiribati
|
| 142 |
+
- Saint-Kitts-and-Nevis
|
| 143 |
+
- South Korea
|
| 144 |
+
- Kuwait
|
| 145 |
+
- Lao-Peoples-Democratic-Republic
|
| 146 |
+
- Lebanon
|
| 147 |
+
- Liberia
|
| 148 |
+
- Libya
|
| 149 |
+
- Saint-Lucia
|
| 150 |
+
- Liechtenstein
|
| 151 |
+
- Sri Lanka
|
| 152 |
+
- Lesotho
|
| 153 |
+
- Lithuania
|
| 154 |
+
- Luxembourg
|
| 155 |
+
- Latvia
|
| 156 |
+
- Macao
|
| 157 |
+
- Saint Martin (French-part)
|
| 158 |
+
- Morocco
|
| 159 |
+
- Monaco
|
| 160 |
+
- Republic of Moldova
|
| 161 |
+
- Madagascar
|
| 162 |
+
- Maldives
|
| 163 |
+
- Mexico
|
| 164 |
+
- Marshall Islands
|
| 165 |
+
- North Macedonia
|
| 166 |
+
- Mali
|
| 167 |
+
- Malta
|
| 168 |
+
- Myanmar
|
| 169 |
+
- Montenegro
|
| 170 |
+
- Mongolia
|
| 171 |
+
- Northern Mariana Islands
|
| 172 |
+
- Mozambique
|
| 173 |
+
- Mauritania
|
| 174 |
+
- Montserrat
|
| 175 |
+
- Martinique
|
| 176 |
+
- Mauritius
|
| 177 |
+
- Malawi
|
| 178 |
+
- Malaysia
|
| 179 |
+
- Mayotte
|
| 180 |
+
- Namibia
|
| 181 |
+
- New Caledonia
|
| 182 |
+
- Niger
|
| 183 |
+
- Norfolk Island
|
| 184 |
+
- Nigeria
|
| 185 |
+
- Nicaragua
|
| 186 |
+
- Niue
|
| 187 |
+
- Netherlands
|
| 188 |
+
- Norway
|
| 189 |
+
- Nepal
|
| 190 |
+
- Nauru
|
| 191 |
+
- New Zealand
|
| 192 |
+
- Oman
|
| 193 |
+
- Pakistan
|
| 194 |
+
- Panama
|
| 195 |
+
- Pitcairn
|
| 196 |
+
- Peru
|
| 197 |
+
- Philippines
|
| 198 |
+
- Palau
|
| 199 |
+
- Papua New Guinea
|
| 200 |
+
- Poland
|
| 201 |
+
- Puerto Rico
|
| 202 |
+
- North Korea
|
| 203 |
+
- Portugal
|
| 204 |
+
- Paraguay
|
| 205 |
+
- State of Palestine
|
| 206 |
+
- French Polynesia
|
| 207 |
+
- Qatar
|
| 208 |
+
- Réunion
|
| 209 |
+
- Romania
|
| 210 |
+
- Russia
|
| 211 |
+
- Rwanda
|
| 212 |
+
- Saudi Arabia
|
| 213 |
+
- Sudan
|
| 214 |
+
- Senegal
|
| 215 |
+
- Singapore
|
| 216 |
+
- South Georgia and the South Sandwich Islands
|
| 217 |
+
- Saint Helena Ascension and Tristan da Cunha
|
| 218 |
+
- Svalbard and Jan Mayen
|
| 219 |
+
- Solomon Islands
|
| 220 |
+
- Sierra Leone
|
| 221 |
+
- El Salvador
|
| 222 |
+
- San Marino
|
| 223 |
+
- Somalia
|
| 224 |
+
- Saint Pierre and Miquelon
|
| 225 |
+
- Serbia
|
| 226 |
+
- South Sudan
|
| 227 |
+
- Sao Tome and Principe
|
| 228 |
+
- Suriname
|
| 229 |
+
- Slovakia
|
| 230 |
+
- Slovenia
|
| 231 |
+
- Sweden
|
| 232 |
+
- Eswatini
|
| 233 |
+
- Sint Maarten (Dutch-part)
|
| 234 |
+
- Seychelles
|
| 235 |
+
- Syrian Arab Republic
|
| 236 |
+
- Turks and Caicos Islands
|
| 237 |
+
- Chad
|
| 238 |
+
- Togo
|
| 239 |
+
- Thailand
|
| 240 |
+
- Tajikistan
|
| 241 |
+
- Tokelau
|
| 242 |
+
- Turkmenistan
|
| 243 |
+
- Timor Leste
|
| 244 |
+
- Tonga
|
| 245 |
+
- Trinidad and Tobago
|
| 246 |
+
- Tunisia
|
| 247 |
+
- Turkey
|
| 248 |
+
- Tuvalu
|
| 249 |
+
- Taiwan
|
| 250 |
+
- United Republic of Tanzania
|
| 251 |
+
- Uganda
|
| 252 |
+
- Ukraine
|
| 253 |
+
- United States Minor Outlying Islands
|
| 254 |
+
- Uruguay
|
| 255 |
+
- United-States
|
| 256 |
+
- Uzbekistan
|
| 257 |
+
- Holy See (Vatican City State)
|
| 258 |
+
- Saint Vincent and the Grenadines
|
| 259 |
+
- Bolivarian Republic of Venezuela
|
| 260 |
+
- Virgin Islands British
|
| 261 |
+
- Virgin Islands U.S.
|
| 262 |
+
- VietNam
|
| 263 |
+
- Vanuatu
|
| 264 |
+
- Wallis and Futuna
|
| 265 |
+
- Samoa
|
| 266 |
+
- Yemen
|
| 267 |
+
- South Africa
|
| 268 |
+
- Zambia
|
| 269 |
+
- Zimbabwe
|
| 270 |
+
Receive email updates on C4AI and Cohere research, events, products and services?:
|
| 271 |
+
type: select
|
| 272 |
+
options:
|
| 273 |
+
- Yes
|
| 274 |
+
- No
|
| 275 |
+
I agree to use this model for non-commercial use ONLY: checkbox
|
| 276 |
+
quantized_by: KimChen
|
| 277 |
+
pipeline_tag: text-generation
|
| 278 |
+
base_model: CohereForAI/c4ai-command-r-08-2024
|
| 279 |
+
---
|
| 280 |
+
|
| 281 |
+
# KimChen/c4ai-command-r-08-2024-GGUF
|
| 282 |
+
This model was converted to GGUF format from [`CohereForAI/c4ai-command-r-08-2024`](https://huggingface.co/CohereForAI/c4ai-command-r-08-2024) using [llama.cpp](https://github.com/ggerganov/llama.cpp).
|
| 283 |
+
Refer to the [original model card](https://huggingface.co/CohereForAI/c4ai-command-r-08-2024) for more details on the model.
|
| 284 |
+
|
| 285 |
+
## Use with llama.cpp
|
| 286 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
| 287 |
+
|
| 288 |
+
```bash
|
| 289 |
+
brew install llama.cpp
|
| 290 |
+
|
| 291 |
+
```
|
| 292 |
+
Invoke the llama.cpp server or the CLI.
|
| 293 |
+
|
| 294 |
+
### CLI:
|
| 295 |
+
```bash
|
| 296 |
+
llama-cli --hf-repo KimChen/c4ai-command-r-08-2024-GGUF --hf-file c4ai-command-r-08-2024.gguf -p "The meaning to life and the universe is"
|
| 297 |
+
```
|
| 298 |
+
|
| 299 |
+
### Server:
|
| 300 |
+
```bash
|
| 301 |
+
llama-server --hf-repo KimChen/c4ai-command-r-08-2024-GGUF --hf-file c4ai-command-r-08-2024.gguf -c 2048
|
| 302 |
+
```
|
| 303 |
+
|
| 304 |
+
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.
|
| 305 |
+
|
| 306 |
+
Step 1: Clone llama.cpp from GitHub.
|
| 307 |
+
```
|
| 308 |
+
git clone https://github.com/ggerganov/llama.cpp.git
|
| 309 |
+
```
|
| 310 |
+
|
| 311 |
+
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).
|
| 312 |
+
```
|
| 313 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
| 314 |
+
```
|
| 315 |
+
|
| 316 |
+
Step 3: Run inference through the main binary.
|
| 317 |
+
```
|
| 318 |
+
./llama-cli --hf-repo KimChen/c4ai-command-r-08-2024-GGUF --hf-file c4ai-command-r-08-2024-GGUF.gguf -p "The meaning to life and the universe is"
|
| 319 |
+
```
|
| 320 |
+
or
|
| 321 |
+
```
|
| 322 |
+
./llama-server --hf-repo KimChen/c4ai-command-r-08-2024-GGUF --hf-file c4ai-command-r-08-2024-GGUF.gguf -c 2048
|
| 323 |
+
```
|