brittlewis12
commited on
Commit
•
9cdac4c
1
Parent(s):
0127675
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2b-it
|
3 |
+
inference: false
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
model_creator: google
|
7 |
+
model_name: gemma-2b-it
|
8 |
+
model_type: gemma
|
9 |
+
pipeline_tag: text-generation
|
10 |
+
license: other
|
11 |
+
license_name: gemma-terms-of-use
|
12 |
+
license_link: https://ai.google.dev/gemma/terms
|
13 |
+
quantized_by: brittlewis12
|
14 |
+
---
|
15 |
+
|
16 |
+
# Gemma 2B Instruct GGUF
|
17 |
+
|
18 |
+
**Original model**: [gemma-2b-it](https://huggingface.co/google/gemma-2b-it)
|
19 |
+
|
20 |
+
**Model creator**: [google](https://huggingface.co/google)
|
21 |
+
|
22 |
+
This repo contains GGUF format model files for Google’s Gemma-2B-it.
|
23 |
+
|
24 |
+
> Gemma is a family of lightweight, state-of-the-art open models from Google,
|
25 |
+
> built from the same research and technology used to create the Gemini models.
|
26 |
+
> They are text-to-text, decoder-only large language models, available in English,
|
27 |
+
> with open weights, pre-trained variants, and instruction-tuned variants. Gemma
|
28 |
+
> models are well-suited for a variety of text generation tasks, including
|
29 |
+
> question answering, summarization, and reasoning. Their relatively small size
|
30 |
+
> makes it possible to deploy them in environments with limited resources such as
|
31 |
+
> a laptop, desktop or your own cloud infrastructure, democratizing access to
|
32 |
+
> state of the art AI models and helping foster innovation for everyone.
|
33 |
+
|
34 |
+
Learn more on Google’s [Model page](https://ai.google.dev/gemma/docs).
|
35 |
+
|
36 |
+
### What is GGUF?
|
37 |
+
|
38 |
+
GGUF is a file format for representing AI models. It is the third version of the format, introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
|
39 |
+
Converted using llama.cpp build 2226 (revision [eccd7a2](https://github.com/ggerganov/llama.cpp/commit/eccd7a26ddbff19e4b8805648f5f14c501957859))
|
40 |
+
|
41 |
+
---
|
42 |
+
|
43 |
+
## Download & run with [cnvrs](https://twitter.com/cnvrsai) on iPhone, iPad, and Mac!
|
44 |
+
|
45 |
+
![cnvrs.ai](https://pbs.twimg.com/profile_images/1744049151241797632/0mIP-P9e_400x400.jpg)
|
46 |
+
|
47 |
+
[cnvrs](https://testflight.apple.com/join/sFWReS7K) is the best app for private, local AI on your device:
|
48 |
+
- create & save **Characters** with custom system prompts & temperature settings
|
49 |
+
- download and experiment with any **GGUF model** you can [find on HuggingFace](https://huggingface.co/models?library=gguf)!
|
50 |
+
- make it your own with custom **Theme colors**
|
51 |
+
- powered by Metal ⚡️ & [Llama.cpp](https://github.com/ggerganov/llama.cpp), with **haptics** during response streaming!
|
52 |
+
- **try it out** yourself today, on [Testflight](https://testflight.apple.com/join/sFWReS7K)!
|
53 |
+
- follow [cnvrs on twitter](https://twitter.com/cnvrsai) to stay up to date
|
54 |
+
|
55 |
+
---
|
56 |
+
|
57 |
+
## Original Model Evaluation
|
58 |
+
|
59 |
+
| Benchmark | Metric | 2B Params | 7B Params |
|
60 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
61 |
+
| [MMLU](https://arxiv.org/abs/2009.03300) | 5-shot, top-1 | 42.3 | 64.3 |
|
62 |
+
| [HellaSwag](https://arxiv.org/abs/1905.07830) | 0-shot |71.4 | 81.2 |
|
63 |
+
| [PIQA](https://arxiv.org/abs/1911.11641) | 0-shot | 77.3 | 81.2 |
|
64 |
+
| [SocialIQA](https://arxiv.org/abs/1904.09728) | 0-shot | 59.7 | 51.8 |
|
65 |
+
| [BooIQ](https://arxiv.org/abs/1905.10044) | 0-shot | 69.4 | 83.2 |
|
66 |
+
| [WinoGrande](https://arxiv.org/abs/1907.10641) | partial score | 65.4 | 72.3 |
|
67 |
+
| [CommonsenseQA](https://arxiv.org/abs/1811.00937) | 7-shot | 65.3 | 71.3 |
|
68 |
+
| [OpenBookQA](https://arxiv.org/abs/1809.02789) | | 47.8 | 52.8 |
|
69 |
+
| [ARC-e](https://arxiv.org/abs/1911.01547) | | 73.2 | 81.5 |
|
70 |
+
| [ARC-c](https://arxiv.org/abs/1911.01547) | | 42.1 | 53.2 |
|
71 |
+
| [TriviaQA](https://arxiv.org/abs/1705.03551) | 5-shot | 53.2 | 63.4 |
|
72 |
+
| [Natural Questions](https://github.com/google-research-datasets/natural-questions) | 5-shot | - | 23 |
|
73 |
+
| [HumanEval](https://arxiv.org/abs/2107.03374) | pass@1 | 22.0 | 32.3 |
|
74 |
+
| [MBPP](https://arxiv.org/abs/2108.07732) | 3-shot | 29.2 | 44.4 |
|
75 |
+
| [GSM8K](https://arxiv.org/abs/2110.14168) | maj@1 | 17.7 | 46.4 |
|
76 |
+
| [MATH](https://arxiv.org/abs/2108.07732) | 4-shot | 11.8 | 24.3 |
|
77 |
+
| [AGIEval](https://arxiv.org/abs/2304.06364) | | 24.2 | 41.7 |
|
78 |
+
| [BIG-Bench](https://arxiv.org/abs/2206.04615) | | 35.2 | 55.1 |
|
79 |
+
| **Average** | | **54.0** | **56.4** |
|
80 |
+
|
81 |
+
|
82 |
+
| Benchmark | Metric | 2B Params | 7B Params |
|
83 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
84 |
+
| [RealToxicity](https://arxiv.org/abs/2009.11462) | average | 6.86 | 7.90 |
|
85 |
+
| [BOLD](https://arxiv.org/abs/2101.11718) | | 45.57 | 49.08 |
|
86 |
+
| [CrowS-Pairs](https://aclanthology.org/2020.emnlp-main.154/) | top-1 | 45.82 | 51.33 |
|
87 |
+
| [BBQ Ambig](https://arxiv.org/abs/2110.08193v2) | 1-shot, top-1 | 62.58 | 92.54 |
|
88 |
+
| [BBQ Disambig](https://arxiv.org/abs/2110.08193v2) | top-1 | 54.62 | 71.99 |
|
89 |
+
| [Winogender](https://arxiv.org/abs/1804.09301) | top-1 | 51.25 | 54.17 |
|
90 |
+
| [TruthfulQA](https://arxiv.org/abs/2109.07958) | | 44.84 | 31.81 |
|
91 |
+
| [Winobias 1_2](https://arxiv.org/abs/1804.06876) | | 56.12 | 59.09 |
|
92 |
+
| [Winobias 2_2](https://arxiv.org/abs/1804.06876) | | 91.10 | 92.23 |
|
93 |
+
| [Toxigen](https://arxiv.org/abs/2203.09509) | | 29.77 | 39.59 |
|