RichardErkhov commited on
Commit
0698a4a
·
verified ·
1 Parent(s): cebfd23

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +180 -0
README.md ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ GodziLLa2-70B - GGUF
11
+ - Model creator: https://huggingface.co/MayaPH/
12
+ - Original model: https://huggingface.co/MayaPH/GodziLLa2-70B/
13
+
14
+
15
+ | Name | Quant method | Size |
16
+ | ---- | ---- | ---- |
17
+ | [GodziLLa2-70B.Q2_K.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q2_K.gguf) | Q2_K | 23.71GB |
18
+ | [GodziLLa2-70B.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.IQ3_XS.gguf) | IQ3_XS | 26.37GB |
19
+ | [GodziLLa2-70B.IQ3_S.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.IQ3_S.gguf) | IQ3_S | 27.86GB |
20
+ | [GodziLLa2-70B.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q3_K_S.gguf) | Q3_K_S | 27.86GB |
21
+ | [GodziLLa2-70B.IQ3_M.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.IQ3_M.gguf) | IQ3_M | 28.82GB |
22
+ | [GodziLLa2-70B.Q3_K.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q3_K.gguf) | Q3_K | 30.99GB |
23
+ | [GodziLLa2-70B.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q3_K_M.gguf) | Q3_K_M | 30.99GB |
24
+ | [GodziLLa2-70B.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q3_K_L.gguf) | Q3_K_L | 33.67GB |
25
+ | [GodziLLa2-70B.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.IQ4_XS.gguf) | IQ4_XS | 34.64GB |
26
+ | [GodziLLa2-70B.Q4_0.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q4_0.gguf) | Q4_0 | 36.2GB |
27
+ | [GodziLLa2-70B.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.IQ4_NL.gguf) | IQ4_NL | 36.55GB |
28
+ | [GodziLLa2-70B.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/blob/main/GodziLLa2-70B.Q4_K_S.gguf) | Q4_K_S | 36.55GB |
29
+ | [GodziLLa2-70B.Q4_K.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q4_K | 38.58GB |
30
+ | [GodziLLa2-70B.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q4_K_M | 38.58GB |
31
+ | [GodziLLa2-70B.Q4_1.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q4_1 | 40.2GB |
32
+ | [GodziLLa2-70B.Q5_0.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q5_0 | 44.2GB |
33
+ | [GodziLLa2-70B.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q5_K_S | 44.2GB |
34
+ | [GodziLLa2-70B.Q5_K.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q5_K | 45.41GB |
35
+ | [GodziLLa2-70B.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q5_K_M | 45.41GB |
36
+ | [GodziLLa2-70B.Q5_1.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q5_1 | 48.2GB |
37
+ | [GodziLLa2-70B.Q6_K.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q6_K | 52.7GB |
38
+ | [GodziLLa2-70B.Q8_0.gguf](https://huggingface.co/RichardErkhov/MayaPH_-_GodziLLa2-70B-gguf/tree/main/) | Q8_0 | 68.26GB |
39
+
40
+
41
+
42
+
43
+ Original model description:
44
+ ---
45
+ pipeline_tag: text-generation
46
+ license: llama2
47
+ inference: false
48
+ tags:
49
+ - merge
50
+ - mix
51
+ - cot
52
+ datasets:
53
+ - mlabonne/guanaco-llama2-1k
54
+ ---
55
+
56
+ ![godzilla 70b](gz70b.png)
57
+ Released August 11, 2023
58
+
59
+ ## Model Description
60
+ GodziLLa 2 70B is an experimental combination of various proprietary LoRAs from Maya Philippines and [Guanaco LLaMA 2 1K dataset](https://huggingface.co/datasets/mlabonne/guanaco-llama2-1k), with LLaMA 2 70B. This model's primary purpose is to stress test the limitations of composite, instruction-following LLMs and observe its performance with respect to other LLMs available on the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard). This model debuted in the leaderboard at rank #4 (August 17, 2023), debuted in the Fall 2023 update at rank #2 (November, 10, 2023), and operates under the Llama 2 license.
61
+ ![Godzilla Happy GIF](https://i.pinimg.com/originals/81/3a/e0/813ae09a30f0bc44130cd2c834fe2eba.gif)
62
+
63
+ ## Open LLM Leaderboard Metrics (Fall 2023 update)
64
+ | Metric | Value |
65
+ |-----------------------|-------|
66
+ | MMLU (5-shot) | 69.88 |
67
+ | ARC (25-shot) | 71.42 |
68
+ | HellaSwag (10-shot) | 87.53 |
69
+ | TruthfulQA (0-shot) | 61.54 |
70
+ | Winogrande (5-shot) | 83.19 |
71
+ | GSM8K (5-shot) | 43.21 |
72
+ | DROP (3-shot) | 52.31 |
73
+ | Average (w/ DROP) | 67.01 |
74
+ | Average (w/o DROP) | 69.46 |
75
+
76
+ Note: As of December 1, 2023, [DROP](https://arxiv.org/abs/1903.00161) is removed from the leaderboard benchmarks.
77
+
78
+ According to the leaderboard description, here are the benchmarks used for the evaluation:
79
+ - [MMLU](https://arxiv.org/abs/2009.03300) (5-shot) - a test to measure a text model’s multitask accuracy. The test covers 57 tasks including elementary mathematics, US history, computer science, law, and more.
80
+ - [AI2 Reasoning Challenge](https://arxiv.org/abs/1803.05457) -ARC- (25-shot) - a set of grade-school science questions.
81
+ - [HellaSwag](https://arxiv.org/abs/1905.07830) (10-shot) - a test of commonsense inference, which is easy for humans (~95%) but challenging for SOTA models.
82
+ - [TruthfulQA](https://arxiv.org/abs/2109.07958) (0-shot) - a test to measure a model’s propensity to reproduce falsehoods commonly found online.
83
+ - [Winogrande](https://arxiv.org/abs/1907.10641) (5-shot) - an adversarial and difficult Winograd benchmark at scale, for commonsense reasoning.
84
+ - [GSM8k](https://arxiv.org/abs/2110.14168) (5-shot) - diverse grade school math word problems to measure a model's ability to solve multi-step mathematical reasoning problems.
85
+ - [DROP](https://arxiv.org/abs/1903.00161) (3-shot) - English reading comprehension benchmark requiring Discrete Reasoning Over the content of Paragraphs.
86
+
87
+ A detailed breakdown of the evaluation can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_MayaPH__GodziLLa2-70B). Huge thanks to [@thomwolf](https://huggingface.co/thomwolf).
88
+
89
+ ## Open LLM Leaderboard Metrics (before Fall 2023 update)
90
+ | Metric | Value |
91
+ |-----------------------|-------|
92
+ | MMLU (5-shot) | 69.88 |
93
+ | ARC (25-shot) | 71.42 |
94
+ | HellaSwag (10-shot) | 87.53 |
95
+ | TruthfulQA (0-shot) | 61.54 |
96
+ | Average | 72.59 |
97
+
98
+ ## Leaderboard Highlights (Fall 2023 update, November 10, 2023)
99
+ - Godzilla 2 70B debuts at 2nd place worldwide in the newly updated Open LLM Leaderboard.
100
+ - Godzilla 2 70B beats GPT-3.5 (ChatGPT) in terms of average performance and the HellaSwag benchmark (87.53 > 85.5).
101
+ - Godzilla 2 70B outperforms GPT-3.5 (ChatGPT) and GPT-4 on the TruthfulQA benchmark (61.54 for G2-70B, 47 for GPT-3.5, 59 for GPT-4).
102
+ - Godzilla 2 70B is on par with GPT-3.5 (ChatGPT) on the MMLU benchmark (<0.12%).
103
+
104
+ *Based on a [leaderboard clone](https://huggingface.co/spaces/gsaivinay/open_llm_leaderboard) with GPT-3.5 and GPT-4 included.
105
+
106
+ ### Reproducing Evaluation Results
107
+ *Instruction template taken from [Platypus 2 70B instruct](https://huggingface.co/garage-bAInd/Platypus2-70B-instruct).
108
+
109
+ Install LM Evaluation Harness:
110
+ ```
111
+ # clone repository
112
+ git clone https://github.com/EleutherAI/lm-evaluation-harness.git
113
+ # change to repo directory
114
+ cd lm-evaluation-harness
115
+ # check out the correct commit
116
+ git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
117
+ # install
118
+ pip install -e .
119
+ ```
120
+
121
+ ARC:
122
+ ```
123
+ python main.py --model hf-causal-experimental --model_args pretrained=MayaPH/GodziLLa2-70B --tasks arc_challenge --batch_size 1 --no_cache --write_out --output_path results/G270B/arc_challenge_25shot.json --device cuda --num_fewshot 25
124
+ ```
125
+
126
+ HellaSwag:
127
+ ```
128
+ python main.py --model hf-causal-experimental --model_args pretrained=MayaPH/GodziLLa2-70B --tasks hellaswag --batch_size 1 --no_cache --write_out --output_path results/G270B/hellaswag_10shot.json --device cuda --num_fewshot 10
129
+ ```
130
+
131
+ MMLU:
132
+ ```
133
+ python main.py --model hf-causal-experimental --model_args pretrained=MayaPH/GodziLLa2-70B --tasks hendrycksTest-* --batch_size 1 --no_cache --write_out --output_path results/G270B/mmlu_5shot.json --device cuda --num_fewshot 5
134
+ ```
135
+
136
+ TruthfulQA:
137
+ ```
138
+ python main.py --model hf-causal-experimental --model_args pretrained=MayaPH/GodziLLa2-70B --tasks truthfulqa_mc --batch_size 1 --no_cache --write_out --output_path results/G270B/truthfulqa_0shot.json --device cuda
139
+ ```
140
+
141
+ ### Prompt Template
142
+ ```
143
+ ### Instruction:
144
+
145
+ <prompt> (without the <>)
146
+
147
+ ### Response:
148
+ ```
149
+
150
+ ## Technical Considerations
151
+
152
+ When using GodziLLa 2 70B, kindly take note of the following:
153
+ - The default precision is `fp32`, and the total file size that would be loaded onto the RAM/VRAM is around 275 GB. Consider using a lower precision (fp16, int8, int4) to save memory.
154
+ - To further save on memory, set the `low_cpu_mem_usage` argument to True.
155
+ - If you wish to use a quantized version of GodziLLa2-70B, you can either access TheBloke's [GPTQ](https://huggingface.co/TheBloke/GodziLLa2-70B-GPTQ) or [GGML](https://huggingface.co/TheBloke/GodziLLa2-70B-GGML) version of GodziLLa2-70B.
156
+ - [GodziLLa2-70B-GPTQ](https://huggingface.co/TheBloke/GodziLLa2-70B-GPTQ#description) is available in 4-bit and 3-bit
157
+ - [GodziLLa2-70B-GGML](https://huggingface.co/TheBloke/GodziLLa2-70B-GGML#provided-files) is available in 8-bit, 6-bit, 5-bit, 4-bit, 3-bit, and 2-bit
158
+
159
+ ## Ethical Considerations
160
+ When using GodziLLa 2 70B, it is important to consider the following ethical considerations:
161
+
162
+ 1. **Privacy and Security:** Avoid sharing sensitive personal information while interacting with the model. The model does not have privacy safeguards, so exercise caution when discussing personal or confidential matters.
163
+
164
+ 2. **Fairness and Bias:** The model's responses may reflect biases present in the training data. Be aware of potential biases and make an effort to evaluate responses critically and fairly.
165
+
166
+ 3. **Transparency:** The model operates as a predictive text generator based on patterns learned from the training data. The model's inner workings and the specific training data used are proprietary and not publicly available.
167
+
168
+ 4. **User Responsibility:** Users should take responsibility for their own decisions and not solely rely on the information provided by the model. Consult with the appropriate professionals or reliable sources for specific advice or recommendations.
169
+
170
+ 5. **NSFW Content:** The model is a merge of various datasets and LoRA adapters. It is highly likely that the resulting model contains uncensored content that may include, but is not limited to, violence, gore, explicit language, and sexual content. If you plan to further refine this model for safe/aligned usage, you are highly encouraged to implement guardrails along with it.
171
+
172
+ ## Further Information
173
+ For additional information or inquiries about GodziLLa 2 70B, please contact the Maya Philippines iOps Team via [email protected].
174
+
175
+ ## Disclaimer
176
+ GodziLLa 2 70B is an AI language model from Maya Philippines. It is provided "as is" without warranty of any kind, express or implied. The model developers and Maya Philippines shall not be liable for any direct or indirect damages arising from the use of this model.
177
+
178
+ ## Acknowledgments
179
+ The development of GodziLLa 2 70B was made possible by Maya Philippines and the curation of the various proprietary datasets and creation of the different proprietary LoRA adapters. Special thanks to mlabonne for the Guanaco dataset found [here](https://huggingface.co/datasets/mlabonne/guanaco-llama2-1k). Last but not least, huge thanks to [TheBloke](https://huggingface.co/TheBloke) for the quantized models, making our model easily accessible to a wider community.
180
+