Update README.md
Browse files
README.md
CHANGED
@@ -1,202 +1,99 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
---
|
3 |
|
4 |
-
# una-xaberius-34b-v1-beta (UNA: Uniform Neural Alignment)
|
5 |
|
|
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
- **Shared by [optional]:** [More Information Needed]
|
17 |
-
- **Model type:** [More Information Needed]
|
18 |
-
- **Language(s) (NLP):** [More Information Needed]
|
19 |
-
- **License:** [More Information Needed]
|
20 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
21 |
-
|
22 |
-
### Model Sources [optional]
|
23 |
-
|
24 |
-
<!-- Provide the basic links for the model. -->
|
25 |
-
|
26 |
-
- **Repository:** [More Information Needed]
|
27 |
-
- **Paper [optional]:** [More Information Needed]
|
28 |
-
- **Demo [optional]:** [More Information Needed]
|
29 |
-
|
30 |
-
## Uses
|
31 |
-
|
32 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
33 |
-
|
34 |
-
### Direct Use
|
35 |
-
|
36 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
37 |
-
|
38 |
-
[More Information Needed]
|
39 |
-
|
40 |
-
### Downstream Use [optional]
|
41 |
-
|
42 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
43 |
-
|
44 |
-
[More Information Needed]
|
45 |
-
|
46 |
-
### Out-of-Scope Use
|
47 |
-
|
48 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
49 |
-
|
50 |
-
[More Information Needed]
|
51 |
-
|
52 |
-
## Bias, Risks, and Limitations
|
53 |
-
|
54 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
55 |
-
|
56 |
-
[More Information Needed]
|
57 |
-
|
58 |
-
### Recommendations
|
59 |
-
|
60 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
61 |
-
|
62 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
63 |
-
|
64 |
-
## How to Get Started with the Model
|
65 |
-
|
66 |
-
Use the code below to get started with the model.
|
67 |
-
|
68 |
-
[More Information Needed]
|
69 |
-
|
70 |
-
## Training Details
|
71 |
-
|
72 |
-
### Training Data
|
73 |
-
|
74 |
-
<!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
75 |
-
|
76 |
-
[More Information Needed]
|
77 |
-
|
78 |
-
### Training Procedure
|
79 |
-
|
80 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
81 |
-
|
82 |
-
#### Preprocessing [optional]
|
83 |
-
|
84 |
-
[More Information Needed]
|
85 |
-
|
86 |
-
|
87 |
-
#### Training Hyperparameters
|
88 |
-
|
89 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
90 |
-
|
91 |
-
#### Speeds, Sizes, Times [optional]
|
92 |
-
|
93 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
94 |
-
|
95 |
-
[More Information Needed]
|
96 |
-
|
97 |
-
## Evaluation
|
98 |
-
|
99 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
100 |
-
|
101 |
-
### Testing Data, Factors & Metrics
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
<!-- This should link to a Data Card if possible. -->
|
106 |
-
|
107 |
-
[More Information Needed]
|
108 |
-
|
109 |
-
#### Factors
|
110 |
-
|
111 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
112 |
-
|
113 |
-
[More Information Needed]
|
114 |
-
|
115 |
-
#### Metrics
|
116 |
-
|
117 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
118 |
-
|
119 |
-
[More Information Needed]
|
120 |
-
|
121 |
-
### Results
|
122 |
-
|
123 |
-
[More Information Needed]
|
124 |
-
|
125 |
-
#### Summary
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
## Model Examination [optional]
|
130 |
-
|
131 |
-
<!-- Relevant interpretability work for the model goes here -->
|
132 |
-
|
133 |
-
[More Information Needed]
|
134 |
-
|
135 |
-
## Environmental Impact
|
136 |
-
|
137 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
138 |
-
|
139 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
140 |
-
|
141 |
-
- **Hardware Type:** [More Information Needed]
|
142 |
-
- **Hours used:** [More Information Needed]
|
143 |
-
- **Cloud Provider:** [More Information Needed]
|
144 |
-
- **Compute Region:** [More Information Needed]
|
145 |
-
- **Carbon Emitted:** [More Information Needed]
|
146 |
-
|
147 |
-
## Technical Specifications [optional]
|
148 |
-
|
149 |
-
### Model Architecture and Objective
|
150 |
-
|
151 |
-
[More Information Needed]
|
152 |
-
|
153 |
-
### Compute Infrastructure
|
154 |
-
|
155 |
-
[More Information Needed]
|
156 |
-
|
157 |
-
#### Hardware
|
158 |
-
|
159 |
-
[More Information Needed]
|
160 |
-
|
161 |
-
#### Software
|
162 |
-
|
163 |
-
[More Information Needed]
|
164 |
-
|
165 |
-
## Citation [optional]
|
166 |
-
|
167 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
168 |
-
|
169 |
-
**BibTeX:**
|
170 |
-
|
171 |
-
[More Information Needed]
|
172 |
-
|
173 |
-
**APA:**
|
174 |
-
|
175 |
-
[More Information Needed]
|
176 |
-
|
177 |
-
## Glossary [optional]
|
178 |
-
|
179 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
180 |
-
|
181 |
-
[More Information Needed]
|
182 |
-
|
183 |
-
## More Information [optional]
|
184 |
-
|
185 |
-
[More Information Needed]
|
186 |
-
|
187 |
-
## Model Card Authors [optional]
|
188 |
-
|
189 |
-
[More Information Needed]
|
190 |
-
|
191 |
-
## Model Card Contact
|
192 |
|
193 |
-
|
|
|
|
|
|
|
194 |
|
|
|
195 |
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
|
198 |
|
199 |
### Framework versions
|
200 |
|
201 |
-
|
202 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
datasets:
|
4 |
+
- allenai/ultrafeedback_binarized_cleaned
|
5 |
+
- fblgit/tree-of-knowledge
|
6 |
+
- garage-bAInd/Open-Platypus
|
7 |
+
- Open-Orca/OpenOrca
|
8 |
+
library_name: transformers
|
9 |
+
tags:
|
10 |
+
- UNA
|
11 |
+
- juanako
|
12 |
+
- cybertron
|
13 |
+
- xaberius
|
14 |
---
|
15 |
|
16 |
+
# Model Card for una-xaberius-34b-v1-beta (UNA: Uniform Neural Alignment)
|
17 |
|
18 |
+
Introducing THE MODEL: **XABERIUS 34B v1-BETA** an *experimental* 34B LLaMa-Yi-34B based model, best on it's series. Trained on SFT, DPO and UNA (Unified Neural Alignment) on multiple datasets.
|
19 |
|
20 |
+
Timeline:
|
21 |
+
* 05-Dec-2023 **v1-beta released**
|
22 |
+
*
|
23 |
+
|
24 |
+
| Model | Average | ARC (25-s) | HellaSwag (10-s) | MMLU (5-s) | TruthfulQA (MC) (0-s) | Winogrande (5-s) | GSM8K (5-s) |
|
25 |
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
26 |
+
| [fblgit/una-cybertron-7b-v1-fp16](https://huggingface.co/fblgit/una-cybertron-7b-v1-fp16) | **69.49** | **68.43** | **85.85** | 63.34 | **63.28** | **80.90** | **55.12** |
|
27 |
+
| [fblgit/una-cybertron-7b-v2-bf16](https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16) | **69.67** | **68.26** | **85.?4** | 63.23 | **64.63** | **81.37** | **55.04** |
|
28 |
+
.. xaberius results will come out soon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
+
## Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
+
Adiestrated with UNA: Uniform Neural Alignment technique (paper going out soon).
|
33 |
+
* What is **NOT** UNA? Its not a merged layers model. Is not SLERP or SLURP or similar.
|
34 |
+
* What **is** UNA? A formula & A technique to *TAME* models
|
35 |
+
* When will be released the code and paper? When have time, contribute and it'll be faster.
|
36 |
|
37 |
+
### Model Description
|
38 |
|
39 |
+
- **Developed by:** [juanako.ai](https://juanako.ai)
|
40 |
+
- **Author:** [Xavier M.]([email protected])
|
41 |
+
- **Investors** [CONTACT HERE]([email protected])
|
42 |
+
- **Model type:** LLaMa YI-34B
|
43 |
+
- **Funded by Cybertron's H100's** with few hours training.
|
44 |
+
|
45 |
+
### Prompt
|
46 |
+
The model is very good, works well on almost any prompt but ChatML format and Alpaca System gets the best
|
47 |
+
```
|
48 |
+
<|im_start|>system
|
49 |
+
- You are a helpful assistant chatbot trained by MosaicML.
|
50 |
+
- You answer questions.
|
51 |
+
- You are excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.
|
52 |
+
- You are more than just an information source, you are also able to write poetry, short stories, and make jokes.<|im_end|>
|
53 |
+
<|im_start|>user
|
54 |
+
Explain QKV<|im_end|>
|
55 |
+
<|im_start|>assistant
|
56 |
+
```
|
57 |
+
```
|
58 |
+
### Assistant: I am StableVicuna, a large language model created by CarperAI. I am here to chat!
|
59 |
+
|
60 |
+
### Human: Explain QKV
|
61 |
+
### Assistant:
|
62 |
+
```
|
63 |
+
```
|
64 |
+
[Round <|round|>]
|
65 |
+
问:Explain QKV
|
66 |
+
答:
|
67 |
+
```
|
68 |
+
```
|
69 |
+
[Round <|round|>]
|
70 |
+
Question:Explain QKV
|
71 |
+
Answer:
|
72 |
+
```
|
73 |
+
```
|
74 |
+
Question:Explain QKV
|
75 |
+
Answer:
|
76 |
+
```
|
77 |
|
78 |
|
79 |
### Framework versions
|
80 |
|
81 |
+
- Transformers 4.35.2-UNA
|
82 |
+
- Pytorch 2.1.0
|
83 |
+
- Datasets 2.14.6
|
84 |
+
- Tokenizers 0.14.1
|
85 |
+
|
86 |
+
### Citations
|
87 |
+
If you find Cybertron, Juanako or any of our models useful, specially if you use it for your big brand.. or you clone/merge my modelsm, cite please:
|
88 |
+
```
|
89 |
+
@misc{unaxaberius34b,
|
90 |
+
title={Xaberius 34B: Uniform Neural Alignment},
|
91 |
+
author={Xavier Murias},
|
92 |
+
year={2023},
|
93 |
+
publisher = {HuggingFace},
|
94 |
+
journal = {HuggingFace repository},
|
95 |
+
howpublished = {\url{https://huggingface.co/fblgit/una-xaberius-34b-v1beta}},
|
96 |
+
}
|
97 |
+
```
|
98 |
+
|
99 |
+
Special thanks to @TheBloke & @bartowski for converting the models and their support to the community. Thank you!
|