bedio commited on
Commit
e362d00
1 Parent(s): c6ee728

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -41
README.md CHANGED
@@ -6,6 +6,11 @@ tags: []
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
 
 
 
 
 
9
 
10
 
11
 
@@ -15,51 +20,50 @@ tags: []
15
 
16
  <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
 
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
  ### Model Sources [optional]
29
 
30
  <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
 
36
  ## Uses
37
 
38
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
 
40
- ### Direct Use
41
 
42
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
 
44
- [More Information Needed]
45
 
46
- ### Downstream Use [optional]
47
 
48
  <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
 
52
  ### Out-of-Scope Use
53
 
54
  <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
 
56
- [More Information Needed]
57
 
58
  ## Bias, Risks, and Limitations
59
 
60
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
 
62
- [More Information Needed]
 
63
 
64
  ### Recommendations
65
 
@@ -74,31 +78,29 @@ Use the code below to get started with the model.
74
  [More Information Needed]
75
 
76
  ## Training Details
 
 
 
 
 
77
 
78
  ### Training Data
 
79
 
80
  <!-- This should link to a Dataset 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. -->
81
 
82
- [More Information Needed]
83
 
84
  ### Training Procedure
85
 
86
  <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
 
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
 
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
 
99
  <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
 
101
- [More Information Needed]
102
 
103
  ## Evaluation
104
 
@@ -106,11 +108,10 @@ Use the code below to get started with the model.
106
 
107
  ### Testing Data, Factors & Metrics
108
 
109
- #### Testing Data
110
 
111
  <!-- This should link to a Dataset Card if possible. -->
112
 
113
- [More Information Needed]
114
 
115
  #### Factors
116
 
@@ -142,31 +143,37 @@ Use the code below to get started with the model.
142
 
143
  <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
 
 
 
145
  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).
146
 
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
 
153
  ## Technical Specifications [optional]
154
 
155
  ### Model Architecture and Objective
156
 
157
- [More Information Needed]
 
 
 
 
 
158
 
159
  ### Compute Infrastructure
160
 
161
- [More Information Needed]
162
 
163
  #### Hardware
164
 
165
- [More Information Needed]
166
 
167
  #### Software
168
 
169
- [More Information Needed]
170
 
171
  ## Citation [optional]
172
 
@@ -196,4 +203,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
196
 
197
  ## Model Card Contact
198
 
199
- [More Information Needed]
 
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
+ DeepAutoAI/Explore_Llama-3.1-8B-Inst is a customized variant of Llama-2.1-8B-Instruct. This customization is achieved by learning
10
+ the distribution of all normalization layer weights followed by the distribution of the last transformer block, 30, and 24th FFN layers of
11
+ the original Llama model.
12
+ A layer-conditional diffusion based weights generation model that enables sampling for performance enhancement by leveraging
13
+ the learned distributions to optimize the merging process is used to generate newly diverse weights
14
 
15
 
16
 
 
20
 
21
  <!-- Provide a longer summary of what this model is. -->
22
 
23
+ We trained a diffusion model to learn the distribution of subset of llama to enable generation weights that improve the performance.
24
+ We generate task specific weights on winogrande and arc_challenge then transfer the best model for leaderboard benchmarking.
25
 
26
+ - **Developed by:** DeepAuto.ai
27
+ - **Funded by [optional]:** DeepAuto.ai
28
+ - **Shared by [optional]:** DeepAuto.ai
29
+ - **Model type:** llama-3.1-8B
30
+ - **Language(s) (NLP):** English
31
+ - **License:** NA
32
+ - **Finetuned from model [optional]:** No fine-tuning
33
 
34
  ### Model Sources [optional]
35
 
36
  <!-- Provide the basic links for the model. -->
37
 
38
+ - **Repository:** Under construction
39
+ - **Paper [optional]:** To be announce
40
+
41
 
42
  ## Uses
43
 
44
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
 
 
46
 
47
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
 
49
+ The direct use case of our work is o improve existing model performance as well as generating task specific weights with no training.
50
 
 
51
 
52
  <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+ Performance improvement of existing large models with limited compute
 
54
 
55
  ### Out-of-Scope Use
56
 
57
  <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
58
 
59
+ No fine-tuning or architecture generalization
60
 
61
  ## Bias, Risks, and Limitations
62
 
63
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
64
 
65
+ Using a generative model to produce weights can potentially lead to unintended or undesirable outputs. However, the generated content
66
+ will still fall within the range of what the base model is inherently capable of producing.
67
 
68
  ### Recommendations
69
 
 
78
  [More Information Needed]
79
 
80
  ## Training Details
81
+ We employed a latent diffusion process on pretrained model weights, unlocking the ability to generate diverse, previously unseen neural networks.
82
+ Remarkably, even within the constraints of one-shot learning, our approach consistently produces a wide range of weight variations, each offering
83
+ distinct performance characteristics. These generated weights not only open opportunities for weight averaging and model merging but also have the
84
+ potential to significantly enhance model performance. Moreover, they enable the creation of task-specific weights, tailored to optimize performance
85
+ for specialized applications
86
 
87
  ### Training Data
88
+ The training data used to produced the current model is the base pretrained weights
89
 
90
  <!-- This should link to a Dataset 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. -->
91
 
 
92
 
93
  ### Training Procedure
94
 
95
  <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
96
 
97
+ - We selected a set of layers and combined their pretrained weights, then trained a Variational Autoencoder (VAE) to encode these weights into the layer dimension.
98
+ - We conditionally trained a diffusion model on this set of weights, allowing individual sampling of layer-specific weights.
99
+ - All selected layers were encoded into a 1024-dimensional space. This model exclusively contained the sampled weights for layer normalization."
 
 
 
100
 
 
 
 
101
 
102
  <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
103
 
 
104
 
105
  ## Evaluation
106
 
 
108
 
109
  ### Testing Data, Factors & Metrics
110
 
 
111
 
112
  <!-- This should link to a Dataset Card if possible. -->
113
 
114
+ We test our method on Winogrande and arc_challenge, and hellaswag
115
 
116
  #### Factors
117
 
 
143
 
144
  <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
145
 
146
+
147
+
148
  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).
149
 
150
+ - **Hardware Type:** Nvidia-A100-80Gb
151
+ - **Hours used:** VAE is trained for 4 hour and diffusion process 4 hours
152
+ - **Compute Region:** South Korea
153
+ - **Carbon Emitted:** 0.96kg
 
154
 
155
  ## Technical Specifications [optional]
156
 
157
  ### Model Architecture and Objective
158
 
159
+ We used Latent diffusion for weights generation, and llama3-1-8B as target architectures.
160
+
161
+ The primary objective of this weight generation process was to demonstrate that by learning only the distribution
162
+ of few layers weights9normlaization layers in this case) in an 8-billion-parameter model, it is possible to significantly enhance the
163
+ model's capabilities. Notably, this is achieved using a fraction of the computational resources and without the
164
+ need for fine-tuning, showcasing the efficiency and potential of this approach.
165
 
166
  ### Compute Infrastructure
167
 
168
+ Nvidia-A100 cluster
169
 
170
  #### Hardware
171
 
172
+ A single Nvidia-A100
173
 
174
  #### Software
175
 
176
+ Model is tested using lm-harness tool version 0.4.3
177
 
178
  ## Citation [optional]
179
 
 
203
 
204
  ## Model Card Contact
205
 
206
+ For any question contact deepauto.ai