Lucy-in-the-Sky commited on
Commit
3481371
·
verified ·
1 Parent(s): d69bf29

Upload README.md with huggingface_hub

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