Text Generation
Transformers
llama
Merge
mix
cot
TheBloke commited on
Commit
e7724e1
·
1 Parent(s): 5c32d63

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +102 -4
README.md CHANGED
@@ -1,11 +1,13 @@
1
  ---
2
  inference: false
3
  license: llama2
 
 
 
4
  model_creator: MayaPH
5
  model_link: https://huggingface.co/MayaPH/GodziLLa2-70B
6
  model_name: GodziLLa2 70B
7
  model_type: llama
8
- pipeline_tag: text-generation
9
  quantized_by: TheBloke
10
  tags:
11
  - merge
@@ -191,10 +193,106 @@ Thank you to all my generous patrons and donaters!
191
 
192
  # Original model card: MayaPH's GodziLLa2 70B
193
 
194
-
195
  <img src="https://drive.google.com/uc?export=view&id=1D8wxXkS1nsq3uqbOzOLwgx1cLJhY1nvN" alt="GodziLLa2-70B">
196
  Released August 11, 2023
197
 
198
- <b>Model card coming soon!</b>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
 
200
- GodziLLa-30B can be found [here](https://huggingface.co/MayaPH/GodziLLa-30B).
 
 
1
  ---
2
  inference: false
3
  license: llama2
4
+ pipeline_tag: text-generation
5
+ datasets:
6
+ - mlabonne/guanaco-llama2-1k
7
  model_creator: MayaPH
8
  model_link: https://huggingface.co/MayaPH/GodziLLa2-70B
9
  model_name: GodziLLa2 70B
10
  model_type: llama
 
11
  quantized_by: TheBloke
12
  tags:
13
  - merge
 
193
 
194
  # Original model card: MayaPH's GodziLLa2 70B
195
 
 
196
  <img src="https://drive.google.com/uc?export=view&id=1D8wxXkS1nsq3uqbOzOLwgx1cLJhY1nvN" alt="GodziLLa2-70B">
197
  Released August 11, 2023
198
 
199
+ ## Model Description
200
+ 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).
201
+ ![Godzilla Happy GIF](https://i.pinimg.com/originals/81/3a/e0/813ae09a30f0bc44130cd2c834fe2eba.gif)
202
+
203
+ ## Open LLM Leaderboard Metrics
204
+ | Metric | Value |
205
+ |-----------------------|-------|
206
+ | MMLU (5-shot) | 69.88 |
207
+ | ARC (25-shot) | 71.42 |
208
+ | HellaSwag (10-shot) | 87.53 |
209
+ | TruthfulQA (0-shot) | 61.54 |
210
+ | Average | 72.59 |
211
+
212
+ According to the leaderboard description, here are the benchmarks used for the evaluation:
213
+ - [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.
214
+ - [AI2 Reasoning Challenge](https://arxiv.org/abs/1803.05457) -ARC- (25-shot) - a set of grade-school science questions.
215
+ - [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.
216
+ - [TruthfulQA](https://arxiv.org/abs/2109.07958) (0-shot) - a test to measure a model’s propensity to reproduce falsehoods commonly found online.
217
+
218
+ ## Leaderboard Highlights (as of August 17, 2023)
219
+ - Godzilla 2 70B ranks 4th worldwide in the Open LLM Leaderboard.
220
+ - Godzilla 2 70B ranks #3 in the ARC challenge.
221
+ - Godzilla 2 70B ranks #5 in the TruthfulQA benchmark.
222
+ - *Godzilla 2 70B beats GPT-3.5 (ChatGPT) in terms of average performance and the HellaSwag benchmark (87.53 > 85.5).
223
+ - *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).
224
+ - *Godzilla 2 70B is on par with GPT-3.5 (ChatGPT) on the MMLU benchmark (<0.12%).
225
+
226
+ *Based on a [leaderboard clone](https://huggingface.co/spaces/gsaivinay/open_llm_leaderboard) with GPT-3.5 and GPT-4 included.
227
+
228
+ ### Reproducing Evaluation Results
229
+ *Instruction template taken from [Platypus 2 70B instruct](https://huggingface.co/garage-bAInd/Platypus2-70B-instruct).
230
+
231
+ Install LM Evaluation Harness:
232
+ ```
233
+ # clone repository
234
+ git clone https://github.com/EleutherAI/lm-evaluation-harness.git
235
+ # change to repo directory
236
+ cd lm-evaluation-harness
237
+ # check out the correct commit
238
+ git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
239
+ # install
240
+ pip install -e .
241
+ ```
242
+
243
+ ARC:
244
+ ```
245
+ 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
246
+ ```
247
+
248
+ HellaSwag:
249
+ ```
250
+ 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
251
+ ```
252
+
253
+ MMLU:
254
+ ```
255
+ 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
256
+ ```
257
+
258
+ TruthfulQA:
259
+ ```
260
+ 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
261
+ ```
262
+
263
+ ### Prompt Template
264
+ ```
265
+ ### Instruction:
266
+
267
+ <prompt> (without the <>)
268
+
269
+ ### Response:
270
+ ```
271
+
272
+ ## Technical Considerations
273
+
274
+ When using GodziLLa 2 70B, kindly take note of the following:
275
+ - 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.
276
+ - To further save on memory, set the `low_cpu_mem_usage` argument to True.
277
+
278
+ ## Ethical Considerations
279
+ When using GodziLLa 2 70B, it is important to consider the following ethical considerations:
280
+
281
+ 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.
282
+
283
+ 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.
284
+
285
+ 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.
286
+
287
+ 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.
288
+
289
+ 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.
290
+
291
+ ## Further Information
292
+ For additional information or inquiries about GodziLLa 2 70B, please contact the Maya Philippines iOps Team via [email protected].
293
+
294
+ ## Disclaimer
295
+ 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.
296
 
297
+ ## Acknowledgments
298
+ 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).