bartowski commited on
Commit
284cc00
·
verified ·
1 Parent(s): 48cd030

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -32
README.md CHANGED
@@ -275,52 +275,55 @@ extra_gated_fields:
275
  I agree to use this model for non-commercial use ONLY: checkbox
276
  quantized_by: bartowski
277
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
278
  ---
 
279
 
280
- ## Llamacpp Static (no imatrix) Quantizations of c4ai-command-r-08-2024
281
 
282
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3634">b3634</a> for quantization.
 
 
283
 
284
- Original model: https://huggingface.co/CohereForAI/c4ai-command-r-08-2024
 
 
285
 
286
- ## Prompt format
287
 
288
- No prompt format
289
 
290
- ## Download a file (not the whole branch) from below:
291
 
292
- | Filename | Quant type | File Size | Description |
293
- | -------- | ---------- | --------- | ----------- |
294
- | [c4ai-command-r-08-2024-Q8_0.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF/blob/main/c4ai-command-r-08-2024-Q8_0.gguf) | Q8_0 | 34.32GB | Extremely high quality, generally unneeded but max available quant. |
295
- | [c4ai-command-r-08-2024-Q6_K.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF/blob/main/c4ai-command-r-08-2024-Q6_K.gguf) | Q6_K | 26.50GB | Very high quality, near perfect, *recommended*. |
296
- | [c4ai-command-r-08-2024-Q5_K_M.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF//main/c4ai-command-r-08-2024-Q5_K_M.gguf) | Q5_K_M | | High quality, *recommended*. |
297
- | [c4ai-command-r-08-2024-Q4_K_M.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF/blob/main/c4ai-command-r-08-2024-Q4_K_M.gguf) | Q4_K_M | 19.80GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
298
- | [c4ai-command-r-08-2024-IQ4_NL.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF//main/c4ai-command-r-08-2024-IQ4_NL.gguf) | IQ4_NL | | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
299
- | [c4ai-command-r-08-2024-Q3_K_L.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF/blob/main/c4ai-command-r-08-2024-Q3_K_L.gguf) | Q3_K_L | 17.56GB | Lower quality but usable, good for low RAM availability. |
300
- | [c4ai-command-r-08-2024-Q2_K.gguf](https://huggingface.co/bartowski/c4ai-command-r-08-2024-GGUF//main/c4ai-command-r-08-2024-Q2_K.gguf) | Q2_K | | Very low quality but surprisingly usable. |
301
 
302
- ## Which file should I choose?
303
 
304
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
 
305
 
306
- The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
307
 
308
- If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
309
 
310
- If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
311
 
312
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
313
 
314
- If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
315
 
316
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
317
 
318
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
319
-
320
- But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
321
-
322
- These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
323
-
324
- The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
325
-
326
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
275
  I agree to use this model for non-commercial use ONLY: checkbox
276
  quantized_by: bartowski
277
  pipeline_tag: text-generation
278
+ base_model: CohereForAI/c4ai-command-r-08-2024
279
+ lm_studio:
280
+ param_count: 35b
281
+ use_case: general
282
+ release_date: 30-08-2024
283
+ model_creator: CohereForAI
284
+ prompt_template: cohere_command_r
285
+ base_model: Cohere
286
+ system_prompt: You are a large language model called Command R built by the company Cohere. You act as a brilliant, sophisticated, AI-assistant chatbot trained to assist human users by providing thorough responses.
287
+ original_repo: CohereForAI/c4ai-command-r-08-2024
288
  ---
289
+ ## 💫 Community Model> C4AI Command R 08-2024 by Cohere For AI
290
 
291
+ *👾 [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
292
 
293
+ **Model creator:** [CohereForAI](https://huggingface.co/CohereForAI)<br>
294
+ **Original model**: [c4ai-command-r-08-2024](https://huggingface.co/CohereForAI/c4ai-command-r-08-2024)<br>
295
+ **GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b3634](https://github.com/ggerganov/llama.cpp/releases/tag/b3634)<br>
296
 
297
+ ## Model Summary:
298
+ C4AI Command R 08-2024 is an update to the originally released 35B paramater Command R. The original Command R model received sweeping praise for its incredible RAG and multilingual abilities, and this model is no different.<br>
299
+ Not for commercial use, must adhere to [C4AI's Acceptable Use Policy](https://docs.cohere.com/docs/c4ai-acceptable-use-policy).
300
 
301
+ ## Prompt Template:
302
 
303
+ Choose the `Cohere Command R` preset in your LM Studio.
304
 
305
+ Under the hood, the model will see a prompt that's formatted like so:
306
 
307
+ ```
308
+ <BOS_TOKEN><|START_OF_TURN_TOKEN|><|USER_TOKEN|>{prompt}<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>
309
+ ```
 
 
 
 
 
 
310
 
311
+ This model also supports tool use and RAG prompt formats. For details on formatting for those use cases, view [tool use here](https://huggingface.co/CohereForAI/c4ai-command-r-08-2024#tool-use--agent-capabilities) and [RAG capabilities here](https://huggingface.co/CohereForAI/c4ai-command-r-08-2024#grounded-generation-and-rag-capabilities)
312
 
313
+ ## Technical Details
314
+ C4AI Command R 08-2024 has been trained on 23 languages (English, French, Spanish, Italian, German, Portuguese, Japanese, Korean, Arabic, Simplified Chinese, Russian, Polish, Turkish, Vietnamese, Dutch, Czech, Indonesian, Ukrainian, Romanian, Greek, Hindi, Hebrew, and Persian).
315
 
316
+ Due to this multilingual training, it excels in multilingual tasks.
317
 
318
+ Command R 08-2024 supports a context length of 128K.
319
 
320
+ ## Special thanks
321
 
322
+ 🙏 Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
323
 
324
+ ## Disclaimers
325
 
326
+ LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.
327
 
328
+ ### Terms of Use (directly from Cohere For AI)
329
+ We hope that the release of this model will make community-based research efforts more accessible, by releasing the weights of a highly performant 35 billion parameter model to researchers all over the world. This model is governed by a [CC-BY-NC](https://cohere.com/c4ai-cc-by-nc-license) License with an acceptable use addendum, and also requires adhering to [C4AI's Acceptable Use Policy](https://docs.cohere.com/docs/c4ai-acceptable-use-policy).