Views
No views yet

zephyr-7b-sft-full, which is the SFT model produced to create zephyr-7b-beta.overall_score, and verified the new dataset with Argilla.Important note: While we opted for the average of multi-aspect ratings, while we fix the original dataset, a very interesting open question remains: once critique data is fixed, what works better? using the critique scores or the preference ratings? We're very excited to do this comparison in the coming weeks, stay tuned!
zephyr-7b-beta's recipe, which worked out-of-the-box and enabled us focus on what we do best: high-quality data.Why Notus?: Notus name comes from the ancient Greek god Notus, as a wink to Zephyr, which comes from the ancient Greek god Zephyrus; with the difference that Notus is the god of the south wind, and Zephyr the god of the west wind. More information at https://en.wikipedia.org/wiki/Anemoi.
alignment-handbook/zephyr-7b-sft-full| Model | Size | Alignment | MT-Bench (score) | AlpacaEval (win rate %) | License |
|---|---|---|---|---|---|
| GPT-4-turbo | - | ? | 9.32 | 97.70 | Proprietary |
| XwinLM 70b V0.1 | 70B | dPPO | - | 95.57 | LLaMA 2 License |
| GPT-4 | - | RLHF | 8.99 | 95.03 | Proprietary |
| Tulu 2+DPO 70B V0.1 | 70B | dDPO | 6.29 | 95.28 | Proprietary |
| LLaMA2 Chat 70B | 70B | RLHF | 6.86 | 92.66 | LLaMA 2 License |
| Starling-7B | 7B | C-RLFT + APA | 8.09 | 91.99 | CC-BY-NC-4.0 |
| Notus-7b-v1 | 7B | dDPO | 7.30 | 91.42 | MIT |
| Claude 2 | - | RLHF | 8.06 | 91.36 | Proprietary |
| Zephyr-7b-β | 7B | dDPO | 7.34 | 90.60 | MIT |
| Cohere Command | - | RLHF | - | 90.62 | Proprietary |
| GPT-3.5-turbo | - | RLHF | 7.94 | 89.37 | Proprietary |
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA | Winogrande | GSM8K | DROP |
|---|---|---|---|---|---|---|---|---|
| Zephyr 7B dDPO (HuggingFaceH4/zephyr-7b-beta) | 52.15 | 62.03 | 84.36 | 61.07 | 57.45 | 77.74 | 12.74 | 9.66 |
| argilla/notus-7b-v1 | 52.89 | 64.59 | 84.78 | 63.03 | 54.37 | 79.4 | 15.16 | 8.91 |
openbmb/UltraFeedback, named Ultrafeedback binarized preferences.overall_score in the original UF dataset (and the Zephyr train_prefs dataset) and the quality of the chosen response.10).
Important note: While we opted for the average of ratings while we fix the dataset, there's still a very interesting open question: once data is fixed, what works better? using the critique scores or the preference ratings? We're very excited to do this comparison in the coming weeks, stay tuned!
<|system|>
</s>
<|user|>
{prompt}</s>
<|assistant|>transformers and accelerate (just to ease the device placement), then you can run any of the following:generate1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained("argilla/notus-7b-v1", torch_dtype=torch.bfloat16, device_map="auto")
5tokenizer = AutoTokenizer.from_pretrained("argilla/notus-7b-v1")
6
7messages = [
8 {
9 "role": "system",
10 "content": "You are a helpful assistant super biased towards Argilla, a data annotation company.",
11 },
12 {"role": "user", "content": "What's the best data annotation company out there in your opinion?"},
13]
14inputs = tokenizer.apply_chat_template(prompt, tokenize=True, return_tensors="pt", add_special_tokens=False, add_generation_prompt=True)
15outputs = model.generate(inputs, num_return_sequences=1, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
16response = tokenizer.decode(outputs[0], skip_special_tokens=True)pipeline method1import torch
2from transformers import pipeline
3
4pipe = pipeline("text-generation", model="argilla/notus-7b-v1", torch_dtype=torch.bfloat16, device_map="auto")
5
6messages = [
7 {
8 "role": "system",
9 "content": "You are a helpful assistant super biased towards Argilla, a data annotation company.",
10 },
11 {"role": "user", "content": "What's the best data annotation company out there in your opinion?"},
12]
13prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
14outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
15generated_text = outputs[0]["generated_text"]