GGUF
Inference Endpoints
fearlessdots commited on
Commit
b150939
β€’
1 Parent(s): 7afdf76

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +116 -3
README.md CHANGED
@@ -1,3 +1,116 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # WizardLM-2-7B-abliterated
6
+
7
+ This is the **WizardLM-2-7B** model with orthogonalized bfloat16 safetensor weights, based on the implementation by `@failspy`. For more info:
8
+
9
+ - Original paper preview presenting the methodology: <https://www.alignmentforum.org/posts/jGuXSZgv6qfdhMCuJ/refusal-in-llms-is-mediated-by-a-single-direction>
10
+ - Jupyter notebook containing a implementation of the methodology, by `@failspy`: <https://huggingface.co/failspy/llama-3-70B-Instruct-abliterated/blob/main/ortho_cookbook.ipynb>
11
+
12
+ ## Prompt Template
13
+
14
+ This model uses the prompt format from **Vicuna** and supports **multi-turn** conversation.
15
+
16
+ ---
17
+
18
+ # Original model card:
19
+
20
+ <p style="font-size:20px;" align="center">
21
+ 🏠 <a href="https://wizardlm.github.io/WizardLM2" target="_blank">WizardLM-2 Release Blog</a> </p>
22
+ <p align="center">
23
+ πŸ€— <a href="https://huggingface.co/collections/microsoft/wizardlm-2-661d403f71e6c8257dbd598a" target="_blank">HF Repo</a> β€’πŸ± <a href="https://github.com/victorsungo/WizardLM/tree/main/WizardLM-2" target="_blank">Github Repo</a> β€’ 🐦 <a href="https://twitter.com/WizardLM_AI" target="_blank">Twitter</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a> <br>
24
+ </p>
25
+ <p align="center">
26
+ πŸ‘‹ Join our <a href="https://discord.gg/VZjjHtWrKs" target="_blank">Discord</a>
27
+ </p>
28
+
29
+
30
+
31
+ ## News πŸ”₯πŸ”₯πŸ”₯ [2024/04/15]
32
+
33
+ We introduce and opensource WizardLM-2, our next generation state-of-the-art large language models,
34
+ which have improved performance on complex chat, multilingual, reasoning and agent.
35
+ New family includes three cutting-edge models: WizardLM-2 8x22B, WizardLM-2 70B, and WizardLM-2 7B.
36
+
37
+ - WizardLM-2 8x22B is our most advanced model, demonstrates highly competitive performance compared to those leading proprietary works
38
+ and consistently outperforms all the existing state-of-the-art opensource models.
39
+ - WizardLM-2 70B reaches top-tier reasoning capabilities and is the first choice in the same size.
40
+ - WizardLM-2 7B is the fastest and achieves comparable performance with existing 10x larger opensource leading models.
41
+
42
+ For more details of WizardLM-2 please read our [release blog post](https://wizardlm.github.io/WizardLM2) and upcoming paper.
43
+
44
+
45
+ ## Model Details
46
+
47
+ * **Model name**: WizardLM-2 7B
48
+ * **Developed by**: WizardLM@Microsoft AI
49
+ * **Base model**: [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
50
+ * **Parameters**: 7B
51
+ * **Language(s)**: Multilingual
52
+ * **Blog**: [Introducing WizardLM-2](https://wizardlm.github.io/WizardLM2)
53
+ * **Repository**: [https://github.com/nlpxucan/WizardLM](https://github.com/nlpxucan/WizardLM)
54
+ * **Paper**: WizardLM-2 (Upcoming)
55
+ * **License**: Apache2.0
56
+
57
+
58
+
59
+ ## Model Capacities
60
+
61
+
62
+ **MT-Bench**
63
+
64
+ We also adopt the automatic MT-Bench evaluation framework based on GPT-4 proposed by lmsys to assess the performance of models.
65
+ The WizardLM-2 8x22B even demonstrates highly competitive performance compared to the most advanced proprietary models.
66
+ Meanwhile, WizardLM-2 7B and WizardLM-2 70B are all the top-performing models among the other leading baselines at 7B to 70B model scales.
67
+
68
+ <p align="center" width="100%">
69
+ <a ><img src="https://raw.githubusercontent.com/WizardLM/WizardLM2/main/static/images/mtbench.png" alt="MTBench" style="width: 96%; min-width: 300px; display: block; margin: auto;"></a>
70
+ </p>
71
+
72
+
73
+ **Human Preferences Evaluation**
74
+
75
+ We carefully collected a complex and challenging set consisting of real-world instructions, which includes main requirements of humanity, such as writing, coding, math, reasoning, agent, and multilingual.
76
+ We report the win:loss rate without tie:
77
+
78
+ - WizardLM-2 8x22B is just slightly falling behind GPT-4-1106-preview, and significantly stronger than Command R Plus and GPT4-0314.
79
+ - WizardLM-2 70B is better than GPT4-0613, Mistral-Large, and Qwen1.5-72B-Chat.
80
+ - WizardLM-2 7B is comparable with Qwen1.5-32B-Chat, and surpasses Qwen1.5-14B-Chat and Starling-LM-7B-beta.
81
+
82
+ <p align="center" width="100%">
83
+ <a ><img src="https://raw.githubusercontent.com/WizardLM/WizardLM2/main/static/images/winall.png" alt="Win" style="width: 96%; min-width: 300px; display: block; margin: auto;"></a>
84
+ </p>
85
+
86
+
87
+
88
+
89
+
90
+ ## Method Overview
91
+ We built a **fully AI powered synthetic training system** to train WizardLM-2 models, please refer to our [blog](https://wizardlm.github.io/WizardLM2) for more details of this system.
92
+
93
+ <p align="center" width="100%">
94
+ <a ><img src="https://raw.githubusercontent.com/WizardLM/WizardLM2/main/static/images/exp_1.png" alt="Method" style="width: 96%; min-width: 300px; display: block; margin: auto;"></a>
95
+ </p>
96
+
97
+
98
+
99
+
100
+
101
+ ## Usage
102
+
103
+ ❗<b>Note for model system prompts usage:</b>
104
+
105
+
106
+ <b>WizardLM-2</b> adopts the prompt format from <b>Vicuna</b> and supports **multi-turn** conversation. The prompt should be as following:
107
+
108
+ ```
109
+ A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful,
110
+ detailed, and polite answers to the user's questions. USER: Hi ASSISTANT: Hello.</s>
111
+ USER: Who are you? ASSISTANT: I am WizardLM.</s>......
112
+ ```
113
+
114
+ <b> Inference WizardLM-2 Demo Script</b>
115
+
116
+ We provide a WizardLM-2 inference demo [code](https://github.com/nlpxucan/WizardLM/tree/main/demo) on our github.