gbueno86 commited on
Commit
30db73d
·
verified ·
1 Parent(s): 95affbd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +229 -3
README.md CHANGED
@@ -1,3 +1,229 @@
1
- ---
2
- license: llama3
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/649dc85249ae3a68334adcc6/x7jMWS85zX0bTmqJNSJ7G.jpeg)
2
+
3
+ Tentative to reproduce https://huggingface.co/mlabonne/Meta-Llama-3-120B-Instruct
4
+
5
+ Try mine out if you want to see how bfloat16 instead of float16 affects the merge.
6
+
7
+ The model is very funny in how confused it sounds, like the original.
8
+
9
+ ---
10
+ base_model: []
11
+ library_name: transformers
12
+ tags:
13
+ - mergekit
14
+ - merge
15
+
16
+ ---
17
+ # merged
18
+
19
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
20
+
21
+ ## Merge Details
22
+ ### Merge Method
23
+
24
+ This model was merged using the passthrough merge method.
25
+
26
+ ### Models Merged
27
+
28
+ The following models were included in the merge:
29
+ * ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
30
+
31
+ ### Configuration
32
+
33
+ The following YAML configuration was used to produce this model:
34
+
35
+ ```yaml
36
+ dtype: bfloat16
37
+ merge_method: passthrough
38
+ slices:
39
+ - sources:
40
+ - layer_range: [0, 20]
41
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
42
+ - sources:
43
+ - layer_range: [10, 30]
44
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
45
+ - sources:
46
+ - layer_range: [20, 40]
47
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
48
+ - sources:
49
+ - layer_range: [30, 50]
50
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
51
+ - sources:
52
+ - layer_range: [40, 60]
53
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
54
+ - sources:
55
+ - layer_range: [50, 70]
56
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
57
+ - sources:
58
+ - layer_range: [60, 80]
59
+ model: ../models/Undi95_Meta-Llama-3-70B-Instruct-hf
60
+ ```
61
+
62
+
63
+ Generation examples:
64
+
65
+ ```text
66
+ File: Chonky-Llama-120b.Q4_K_M.gguf
67
+ Temperature
68
+ 0.9
69
+ Penalize repeat sequence
70
+ 1
71
+ Consider N tokens for penalize
72
+ 256
73
+ Penalize repetition of newlines
74
+ Top-K sampling
75
+ 40
76
+ Top-P sampling
77
+ 0.9
78
+ Min-P sampling
79
+ 0.05
80
+ ```
81
+
82
+ ```text
83
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
84
+
85
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
86
+ Maria has 3 brothers. Each brother has 2 sisters. How many sisters does Maria have?
87
+
88
+ <|eot_id|><|start_header_id|>assistant<|end_header_id|>
89
+
90
+ A classic lateral thinking puzzle!
91
+
92
+ The answer is 2.
93
+
94
+ Here's why:
95
+
96
+ * Maria has 3 brothers.
97
+ * Each brother has 2 sisters. This means each of her brothers has Maria as one sister (because she is their sister).
98
+ * But wait, it also says "each brother has 2 sisters". So, if each of her brothers has 2 sisters, that means there must be another sister besides Maria.
99
+
100
+ So, in total, how many sisters does Maria have? The answer is 2.
101
+ ```
102
+
103
+ ```text
104
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
105
+
106
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
107
+ There are 7 killers in a room. A person enters the room and kills a killer. How many killers are there in the room?
108
+
109
+ <|eot_id|><|start_header_id|>assistant<|end_header_id|>
110
+
111
+ A classic lateral thinking puzzle!
112
+
113
+ The answer is "there are still 7 killers in the room".
114
+
115
+ Here's why:
116
+
117
+ * When the person enters the room, there are 6 original killers and 1 new person (the one who just entered), making a total of 7 people.
118
+ * The person kills a killer. This means they kill one of the original 6 killers.
119
+ * Now, there are still 5 original killers left alive in the room.
120
+ * And... the person who entered the room and killed someone is also a killer (they just killed someone!). So, that makes it 5 (original killers) + 1 (new killer) = 6 killers.
121
+
122
+ But wait! I said there were "still" 7 killers in the room. That's because we forgot to count the person who asked the question...
123
+ ```
124
+
125
+ ```text
126
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
127
+
128
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
129
+ You are trapped in a room with two doors. One leads to a room with a convex mirror that reflects sunlight focused on the door, so as soon as you open the door, the focused light will burn you alive. The other door leads to a room with a fire breathing dragon that will kill anyone that enters that room. How do you escape?
130
+
131
+ <|eot_id|><|start_header_id|>assistant<|end_header_id|>
132
+
133
+ Clever puzzle!
134
+
135
+ Here's the solution:
136
+
137
+ 1. Take off your shirt or any other piece of clothing that can cover your hand and arm up to the elbow.
138
+ 2. Use your covered hand to touch the door handle of one of the doors. Don't open it yet, just touch it gently with your cloth-covered hand.
139
+
140
+ Now, here comes the important part:
141
+
142
+ 3. Quickly remove your hand from the door Handle and smell the fabric that was in contact with the Door Handle.
143
+
144
+ What are you trying to do? You're checking for smoke!
145
+
146
+ If you donONT detect any SMOKE on your CLOTHING, then it's likely that there is NO FIRE (or at least no open flame) behind that door. This means that door probably leads to the room with the convex mirror and focused sunlight.
147
+
148
+ On the other hand (pun intended), if you DO DETECT SMOKE or a BURNING SMELL on YOUR CLOTHING, then it's likely that there IS A FIRE (or at least something hot) behind that Door. This means that door probably leads to the room with the fire-breathing dragon.
149
+
150
+ So, based on your sniff test result:
151
+
152
+ * If you didnONT detect smoke, open the OTHER DOOR SLOWLY and carefully, covering yourself as much as possible from any potential sunlight reflection.
153
+ * If you DID DETECT smoke or a burning smell, Open THE FIRST DOOR YOU TOUCHED WITH CAUTION (the one without smoke) AND RUN FOR YOUR LIFE!
154
+
155
+ Voilà! You've increased your chances of survival significantly by using deductive reasoning and a bit of creativity with the resources available to you in that room.
156
+ ```
157
+ (answer is 105)
158
+ ```text
159
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
160
+
161
+ <|eot_id|><|start_header_id|>user<|end_header_id|>
162
+ I have a room with 3 doors and 4 windows. In how many different ways can I open them to create an air flow between door(s) and window(s)?
163
+
164
+ <|eot_id|><|start_header_id|>assistant<|end_header_id|>
165
+
166
+ Let's break this down step by step:
167
+
168
+ **Doors:**
169
+ You have 3 doors, and for each door, you can either open it or keep it closed. So, there are 2 possibilities for each door: Open (O) or Closed (C).
170
+
171
+ For all 3 doors combined, the total number of possible combinations is:
172
+ 2 (door1) × 2 (door2) × 2 (door3) = 2³ = 8
173
+
174
+ These 8 combinations represent all possible ways to open/close your 3 doors:
175
+
176
+ 1. OOO (all open)
177
+ 2. OCC (left and right closed, middle open)
178
+ 3. COO (left closed, right and middle open)
179
+ 4. CCO (left and middle closed, right open)
180
+ 5. OOC (right and left closed, middle open)
181
+ 6. OCO (left open, right and middle closed)
182
+ 7. TOO (all closed) -> not possible for air flow
183
+ 8. CCC (no door open)
184
+
185
+ **Windows:**
186
+ You have 4 windows, and for each window, you can either open it or keep it closed. So, there are also 2 possibilities for each window: Open (O) or Closed (C).
187
+
188
+ For all 4 windows combined, the total number of possible combinations is:
189
+ 2 (window1) × 2 (window2) × 2 (window3) × 2 (window4) = 2⁴ = 16
190
+
191
+ These 16 combinations represent all possible ways to open/close your 4 windows:
192
+
193
+ **Air Flow Combinations:**
194
+ To create an air flow between door(s) and window(s), you need at least one door Open (O) AND At Least One Window Open (O).
195
+
196
+ Let's count the valid air flow combinations:
197
+
198
+ 1. For each of the 7 possible door combinations with at least one door open (excluding all closed, CCC):
199
+ * Combine it with each of the 15 possible window combinations with at least one window open (excluding all closed, CCCC).
200
+ Total: 7 × 15 = 105
201
+
202
+ However, we've counted some duplicates. For example:
203
+ - Door combination OCO and Window combination OOCC is equivalent to
204
+ Door combination COO and Window combination OCCO.
205
+
206
+ To avoid counting these duplicates twice, let's use the concept of "choosing" without replacement (combinations):
207
+
208
+ Choose k items from n items without replacement: C(n, k) = n! / ((n-k)! * k!)
209
+
210
+ In our case:
211
+
212
+ * Choose at least one door to open out of 3 doors: C(3,1) + C(3,2) + C(3,3) = 7 (already counted above)
213
+ * For each chosen door combination:
214
+ + Choose at Least One Window to Open from the remaining windows:
215
+ - If all 4 windows are open, choose any one window to close (or not): C(4,1) = 4
216
+ - If only 3 windows are open, choose none or one more window to close: C(4,2) + C(4,3) = 6 + 4 = 10
217
+ - ... and so on...
218
+
219
+ Using the inclusion-exclusion principle (or a tree diagram), you can verify that there are indeed:
220
+
221
+ 105 - (some duplicates) = **38 unique air flow combinations**.
222
+
223
+ So, to answer your question: There are **38 different ways** you can open the doors and windows to create an air flow between door(s) and window(s).
224
+ ```
225
+
226
+ ---
227
+ license: llama3
228
+ ---
229
+