Update README.md
Browse files
README.md
CHANGED
@@ -8,101 +8,69 @@ extra_gated_prompt: >-
|
|
8 |
Google’s usage license. To do this, please ensure you’re logged in to Hugging
|
9 |
Face and click below. Requests are processed immediately.
|
10 |
extra_gated_button_content: Acknowledge license
|
|
|
|
|
11 |
quantized_by: bartowski
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
-
##
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
|
|
|
|
19 |
|
20 |
-
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
<start_of_turn>model
|
28 |
-
<end_of_turn>
|
29 |
-
<start_of_turn>model
|
30 |
-
|
31 |
-
```
|
32 |
-
|
33 |
-
Note that this model does not support a System prompt.
|
34 |
-
|
35 |
-
## Download a file (not the whole branch) from below:
|
36 |
-
|
37 |
-
| Filename | Quant type | File Size | Description |
|
38 |
-
| -------- | ---------- | --------- | ----------- |
|
39 |
-
| [gemma-2-27b-it-Q8_0_L.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q8_1.gguf) | Q8_0_L | 30.04GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Extremely high quality, generally unneeded but max available quant. |
|
40 |
-
| [gemma-2-27b-it-Q8_0.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q8_0.gguf) | Q8_0 | 28.93GB | Extremely high quality, generally unneeded but max available quant. |
|
41 |
-
| [gemma-2-27b-it-Q6_K_L.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q6_K_L.gguf) | Q6_K_L | 23.73GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Very high quality, near perfect, *recommended*. |
|
42 |
-
| [gemma-2-27b-it-Q6_K.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q6_K.gguf) | Q6_K | 22.34GB | Very high quality, near perfect, *recommended*. |
|
43 |
-
| [gemma-2-27b-it-Q5_K_L.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q5_K_L.gguf) | Q5_K_L | 20.79GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
|
44 |
-
| [gemma-2-27b-it-Q5_K_M.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q5_K_M.gguf) | Q5_K_M | 19.40GB | High quality, *recommended*. |
|
45 |
-
| [gemma-2-27b-it-Q5_K_S.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q5_K_S.gguf) | Q5_K_S | 18.88GB | High quality, *recommended*. |
|
46 |
-
| [gemma-2-27b-it-Q4_K_L.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q4_K_L.gguf) | Q4_K_L | 18.03GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
|
47 |
-
| [gemma-2-27b-it-Q4_K_M.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q4_K_M.gguf) | Q4_K_M | 16.64GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
48 |
-
| [gemma-2-27b-it-Q4_K_S.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q4_K_S.gguf) | Q4_K_S | 15.73GB | Slightly lower quality with more space savings, *recommended*. |
|
49 |
-
| [gemma-2-27b-it-IQ4_XS.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ4_XS.gguf) | IQ4_XS | 14.81GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
50 |
-
| [gemma-2-27b-it-Q3_K_XL.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q3_K_XL.gguf) | Q3_K_XL | 15.91GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Lower quality but usable, good for low RAM availability. |
|
51 |
-
| [gemma-2-27b-it-Q3_K_L.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q3_K_L.gguf) | Q3_K_L | 14.51GB | Lower quality but usable, good for low RAM availability. |
|
52 |
-
| [gemma-2-27b-it-Q3_K_M.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q3_K_M.gguf) | Q3_K_M | 13.42GB | Even lower quality. |
|
53 |
-
| [gemma-2-27b-it-IQ3_M.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ3_M.gguf) | IQ3_M | 12.45GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
54 |
-
| [gemma-2-27b-it-Q3_K_S.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q3_K_S.gguf) | Q3_K_S | 12.16GB | Low quality, not recommended. |
|
55 |
-
| [gemma-2-27b-it-IQ3_XS.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ3_XS.gguf) | IQ3_XS | 11.55GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
56 |
-
| [gemma-2-27b-it-IQ3_XXS.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ3_XXS.gguf) | IQ3_XXS | 10.75GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
57 |
-
| [gemma-2-27b-it-Q2_K.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-Q2_K.gguf) | Q2_K | 10.44GB | Very low quality but surprisingly usable. |
|
58 |
-
| [gemma-2-27b-it-IQ2_M.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ2_M.gguf) | IQ2_M | 9.39GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
59 |
-
| [gemma-2-27b-it-IQ2_S.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ2_S.gguf) | IQ2_S | 8.65GB | Very low quality, uses SOTA techniques to be usable. |
|
60 |
-
| [gemma-2-27b-it-IQ2_XS.gguf](https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/blob/main/gemma-2-27b-it-IQ2_XS.gguf) | IQ2_XS | 8.39GB | Very low quality, uses SOTA techniques to be usable. |
|
61 |
-
|
62 |
-
## Downloading using huggingface-cli
|
63 |
-
|
64 |
-
First, make sure you have hugginface-cli installed:
|
65 |
-
|
66 |
-
```
|
67 |
-
pip install -U "huggingface_hub[cli]"
|
68 |
-
```
|
69 |
|
70 |
-
|
71 |
|
72 |
-
|
73 |
-
huggingface-cli download bartowski/gemma-2-27b-it-GGUF --include "gemma-2-27b-it-Q4_K_M.gguf" --local-dir ./
|
74 |
-
```
|
75 |
|
76 |
-
|
77 |
|
78 |
```
|
79 |
-
|
|
|
|
|
80 |
```
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
## Which file should I choose?
|
85 |
-
|
86 |
-
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
87 |
-
|
88 |
-
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.
|
89 |
|
90 |
-
|
91 |
|
92 |
-
|
93 |
|
94 |
-
|
95 |
|
96 |
-
|
|
|
|
|
97 |
|
98 |
-
|
99 |
|
100 |
-
|
101 |
|
102 |
-
|
103 |
|
104 |
-
|
105 |
|
106 |
-
|
107 |
|
108 |
-
|
|
|
8 |
Google’s usage license. To do this, please ensure you’re logged in to Hugging
|
9 |
Face and click below. Requests are processed immediately.
|
10 |
extra_gated_button_content: Acknowledge license
|
11 |
+
tags:
|
12 |
+
- conversational
|
13 |
quantized_by: bartowski
|
14 |
+
lm_studio:
|
15 |
+
param_count: 27b
|
16 |
+
use_case: general
|
17 |
+
release_date: 27-06-2024
|
18 |
+
model_creator: google
|
19 |
+
prompt_template: Google Gemma Instruct
|
20 |
+
system_prompt: none
|
21 |
+
base_model: gemma
|
22 |
+
original_repo: google/gemma-2-27b-it
|
23 |
+
base_model: google/gemma-2-27b-it
|
24 |
---
|
25 |
|
26 |
+
## 💫 Community Model> Gemma 2 27b Instruct by Google
|
27 |
|
28 |
+
*👾 [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)*.
|
29 |
|
30 |
+
**Model creator:** [Google](https://huggingface.co/google)<br>
|
31 |
+
**Original model**: [gemma-2-27b-it](https://huggingface.co/google/gemma-2-27b-it)<br>
|
32 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` PR [8156](https://github.com/ggerganov/llama.cpp/pull/8156)<br>
|
33 |
|
34 |
+
## Model Settings:
|
35 |
|
36 |
+
Requires LM Studio 0.2.26, update can be downloaded from here: https://lmstudio.ai
|
37 |
|
38 |
+
## Model Summary:
|
39 |
+
Gemma 2 instruct is a a brand new model from Google in the Gemma family based on the technology from Gemini. Trained on a combination of web documents, code, and mathematics, this model should excel at anything you throw at it.<br>
|
40 |
+
With 27B parameters, this fills in a really great gap between the typical ~8B and 70B models, and should be great for anyone with moderate VRAM availability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
+
## Prompt Template:
|
43 |
|
44 |
+
Choose the 'Google Gemma Instruct' preset in your LM Studio.
|
|
|
|
|
45 |
|
46 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
47 |
|
48 |
```
|
49 |
+
<start_of_turn>user
|
50 |
+
{prompt}<end_of_turn>
|
51 |
+
<start_of_turn>model
|
52 |
```
|
53 |
|
54 |
+
Note that this model does not support a System prompt.
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
+
## Technical Details
|
57 |
|
58 |
+
Gemma 2 features the same extremely large vocabulary from release 1.1, which tends to help with multilingual and coding proficiency.
|
59 |
|
60 |
+
Gemma 2 27B was trained on a wide dataset of 13 trillion tokens, more than twice as many as Gemma 1.1, and an extra 60% over the 9B model, using similar datasets including:
|
61 |
|
62 |
+
- Web Documents: A diverse collection of web text ensures the model is exposed to a broad range of linguistic styles, topics, and vocabulary. Primarily English-language content.
|
63 |
+
- Code: Exposing the model to code helps it to learn the syntax and patterns of programming languages, which improves its ability to generate code or understand code-related questions.
|
64 |
+
- Mathematics: Training on mathematical text helps the model learn logical reasoning, symbolic representation, and to address mathematical queries.
|
65 |
|
66 |
+
For more details check out their blog post here: https://huggingface.co/blog/gemma2
|
67 |
|
68 |
+
## Special thanks
|
69 |
|
70 |
+
🙏 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.
|
71 |
|
72 |
+
🙏 Special thanks to [Kalomaze](https://github.com/kalomaze) and [Dampf](https://github.com/Dampfinchen) for their work on the dataset (linked [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)) that was used for calculating the imatrix for all sizes.
|
73 |
|
74 |
+
## Disclaimers
|
75 |
|
76 |
+
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.
|