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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
gemma-7b-zephyr-sft - bnb 4bits
|
| 11 |
+
- Model creator: https://huggingface.co/wandb/
|
| 12 |
+
- Original model: https://huggingface.co/wandb/gemma-7b-zephyr-sft/
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
Original model description:
|
| 18 |
+
---
|
| 19 |
+
license: other
|
| 20 |
+
library_name: transformers
|
| 21 |
+
datasets:
|
| 22 |
+
- HuggingFaceH4/ultrachat_200k
|
| 23 |
+
base_model: google/gemma-7b
|
| 24 |
+
license_name: gemma-terms-of-use
|
| 25 |
+
license_link: https://ai.google.dev/gemma/terms
|
| 26 |
+
model-index:
|
| 27 |
+
- name: gemma-7b-zephyr-sft
|
| 28 |
+
results:
|
| 29 |
+
- task:
|
| 30 |
+
type: text-generation
|
| 31 |
+
name: Text Generation
|
| 32 |
+
dataset:
|
| 33 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
| 34 |
+
type: ai2_arc
|
| 35 |
+
config: ARC-Challenge
|
| 36 |
+
split: test
|
| 37 |
+
args:
|
| 38 |
+
num_few_shot: 25
|
| 39 |
+
metrics:
|
| 40 |
+
- type: acc_norm
|
| 41 |
+
value: 61.43
|
| 42 |
+
name: normalized accuracy
|
| 43 |
+
source:
|
| 44 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 45 |
+
name: Open LLM Leaderboard
|
| 46 |
+
- task:
|
| 47 |
+
type: text-generation
|
| 48 |
+
name: Text Generation
|
| 49 |
+
dataset:
|
| 50 |
+
name: HellaSwag (10-Shot)
|
| 51 |
+
type: hellaswag
|
| 52 |
+
split: validation
|
| 53 |
+
args:
|
| 54 |
+
num_few_shot: 10
|
| 55 |
+
metrics:
|
| 56 |
+
- type: acc_norm
|
| 57 |
+
value: 80.73
|
| 58 |
+
name: normalized accuracy
|
| 59 |
+
source:
|
| 60 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 61 |
+
name: Open LLM Leaderboard
|
| 62 |
+
- task:
|
| 63 |
+
type: text-generation
|
| 64 |
+
name: Text Generation
|
| 65 |
+
dataset:
|
| 66 |
+
name: MMLU (5-Shot)
|
| 67 |
+
type: cais/mmlu
|
| 68 |
+
config: all
|
| 69 |
+
split: test
|
| 70 |
+
args:
|
| 71 |
+
num_few_shot: 5
|
| 72 |
+
metrics:
|
| 73 |
+
- type: acc
|
| 74 |
+
value: 60.33
|
| 75 |
+
name: accuracy
|
| 76 |
+
source:
|
| 77 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 78 |
+
name: Open LLM Leaderboard
|
| 79 |
+
- task:
|
| 80 |
+
type: text-generation
|
| 81 |
+
name: Text Generation
|
| 82 |
+
dataset:
|
| 83 |
+
name: TruthfulQA (0-shot)
|
| 84 |
+
type: truthful_qa
|
| 85 |
+
config: multiple_choice
|
| 86 |
+
split: validation
|
| 87 |
+
args:
|
| 88 |
+
num_few_shot: 0
|
| 89 |
+
metrics:
|
| 90 |
+
- type: mc2
|
| 91 |
+
value: 43.35
|
| 92 |
+
source:
|
| 93 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 94 |
+
name: Open LLM Leaderboard
|
| 95 |
+
- task:
|
| 96 |
+
type: text-generation
|
| 97 |
+
name: Text Generation
|
| 98 |
+
dataset:
|
| 99 |
+
name: Winogrande (5-shot)
|
| 100 |
+
type: winogrande
|
| 101 |
+
config: winogrande_xl
|
| 102 |
+
split: validation
|
| 103 |
+
args:
|
| 104 |
+
num_few_shot: 5
|
| 105 |
+
metrics:
|
| 106 |
+
- type: acc
|
| 107 |
+
value: 74.19
|
| 108 |
+
name: accuracy
|
| 109 |
+
source:
|
| 110 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 111 |
+
name: Open LLM Leaderboard
|
| 112 |
+
- task:
|
| 113 |
+
type: text-generation
|
| 114 |
+
name: Text Generation
|
| 115 |
+
dataset:
|
| 116 |
+
name: GSM8k (5-shot)
|
| 117 |
+
type: gsm8k
|
| 118 |
+
config: main
|
| 119 |
+
split: test
|
| 120 |
+
args:
|
| 121 |
+
num_few_shot: 5
|
| 122 |
+
metrics:
|
| 123 |
+
- type: acc
|
| 124 |
+
value: 49.81
|
| 125 |
+
name: accuracy
|
| 126 |
+
source:
|
| 127 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=wandb/gemma-7b-zephyr-sft
|
| 128 |
+
name: Open LLM Leaderboard
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/llm_surgery/gemma-zephyr)
|
| 132 |
+
|
| 133 |
+
# Gemma 7B Zephyr SFT
|
| 134 |
+
|
| 135 |
+
The [Zephyr](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) SFT recipe applied on top of Gemma 7B
|
| 136 |
+
|
| 137 |
+
## Model description
|
| 138 |
+
|
| 139 |
+
- **Model type:** A 8.5B parameter GPT-like model fine-tuned on a mix of publicly available, synthetic datasets.
|
| 140 |
+
- **Language(s) (NLP):** Primarily English
|
| 141 |
+
- **Finetuned from model:** [google/gemma-7b](https://huggingface.co/google/gemma-7b)
|
| 142 |
+
|
| 143 |
+
## Recipe
|
| 144 |
+
|
| 145 |
+
We trained using the [alignment handbook recipe](https://github.com/huggingface/alignment-handbook/blob/main/scripts/run_sft.py) and logging to W&B
|
| 146 |
+
|
| 147 |
+
Visit the [W&B workspace here](https://wandb.ai/llm_surgery/gemma-zephyr?nw=nwusercapecape)
|
| 148 |
+
|
| 149 |
+
## License
|
| 150 |
+
This model has the same license as the [original Gemma model collection](https://ai.google.dev/gemma/terms)
|
| 151 |
+
|
| 152 |
+
## Compute provided by Lambda Labs - 8xA100 80GB node
|
| 153 |
+
|
| 154 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 155 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_wandb__gemma-7b-zephyr-sft)
|
| 156 |
+
|
| 157 |
+
| Metric |Value|
|
| 158 |
+
|---------------------------------|----:|
|
| 159 |
+
|Avg. |61.64|
|
| 160 |
+
|AI2 Reasoning Challenge (25-Shot)|61.43|
|
| 161 |
+
|HellaSwag (10-Shot) |80.73|
|
| 162 |
+
|MMLU (5-Shot) |60.33|
|
| 163 |
+
|TruthfulQA (0-shot) |43.35|
|
| 164 |
+
|Winogrande (5-shot) |74.19|
|
| 165 |
+
|GSM8k (5-shot) |49.81|
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
|