-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path2-data.yml
269 lines (259 loc) · 6.08 KB
/
2-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
# DO NOT modify this file directly, unless you have a good reason. Instead, create
# a file called "config.yml" in the {project_root} directory, and apply your settings inside.
# Both files will be merged at runtime, with your custom config file taking priority.
# Many of these services require some form of authentication. API keys and credentials should be
# stored in a .env file, at the root of this project. See {project_root}/examples/inference/.env for an example.
api:
enabled: False
ipfs:
enabled: True
only: toehider
personas:
source:
bias: 806051627198709760
persona: I am a powerful Artificial Intelligence computer, known as the Source. I have been trained to follow human instructions, write stories, and teach machine learning concepts.
# Sequence biases; needs more documentation.
disposition:
researcher:
"AI": 2.0
# The Source model intentionally ships with no defaults. Its intended use is for your
# own experimentation and development.
source:
focus:
trade:
active_frequency: 0.1
passive_frequency: 0.01
personas:
- source
support:
active_frequency: 0.1
passive_frequency: 0.01
collections:
local:
default:
src:
env:
lab/source:
lab/fold:
lab/ink:
lab/pen:
lab/journals:
lab/research:
lab/pages:
streaming:
redpajama2:
hf: True
repo: togethercomputer/RedPajama-Data-V2
split: train
subset: default
schemas:
- raw_content: ''
buffer_size: 1000
languages:
- "en"
- "de"
- "fr"
- "es"
- "it"
snapshots:
- "2023-14"
c4:
hf: True
repo: allenai/c4
subset: multilingual
schemas:
- text: ''
split: train
val_split: validation
val_samples: 1000
buffer_size: 1000
fineweb:
hf: True
repo: HuggingFaceFW/fineweb
split: train
subset: CC-MAIN-2024-10
schemas:
- text: ''
delimiter: '\n'
buffer_size: 1000
wikipedia:
hf: True
repo: wikimedia/wikipedia
split: train
subset: 20231101.en
schemas:
- title: ''
text: '¶{text}:> '
patterns:
- '{text}'
delimiter: '\n'
buffer_size: 1000
instruct:
hf: True
repo: Muennighoff/natural-instructions
split: train
val_split: test
schemas:
- definition: '¶{context}:> '
inputs: '¶{user}:> '
targets: '¶{assistant}:> '
patterns:
- '{context}'
- '{user}'
- '{assistant}'
delimiter: '\n'
buffer_size: 1000
val_samples: 1000
cosmopedia-stories:
hf: True
repo: HuggingFaceTB/cosmopedia
split: train
subset: stories
schemas:
- prompt: '¶{user1}:> '
text: '¶{user2}:> '
patterns:
- '{user1}'
- '{user2}'
delimiter: '\n'
buffer_size: 1000
cosmopedia-web:
hf: True
repo: HuggingFaceTB/cosmopedia
split: train
subset: web_samples_v2
schemas:
- prompt: '¶{user1}:> '
text: '¶{user2}:> '
patterns:
- '{user1}'
- '{user2}'
delimiter: '\n'
buffer_size: 1000
cosmopedia-python-edu:
hf: True
repo: HuggingFaceTB/smollm-corpus
split: train
subset: python-edu
schemas:
- prompt: '¶{user1}:> '
text: '¶{user2}:> '
- prompt: 'INPUT: '
text: 'OUTPUT: '
patterns:
- '{user1}'
- '{user2}'
delimiter: '\n'
buffer_size: 1000
dolly:
hf: True
repo: databricks/databricks-dolly-15k
split: train
schemas:
- context: '¶{context}:> '
instruction: '¶{instruction}:> '
response: '¶{response}:> '
- context: 'SYSTEM: '
instruction: 'USER: '
response: 'ASSISTANT: '
- context: 'CONTEXT: '
instruction: 'INPUT: '
response: 'OUTPUT: '
patterns:
- '{context}'
- '{instruction}'
- '{response}'
delimiter: '\n'
buffer_size: 1000
phi:
hf: True
repo: open-phi/textbooks
split: train
schemas:
- markdown: ''
delimiter: '\n'
buffer_size: 1000
# https://huggingface.co/docs/transformers/main_classes/text_generation
transformers:
generation:
default:
do_sample: True
min_new_tokens: 1
max_new_tokens: 512
temperature: 0.7
eta_cutoff: 0.002
penalty_alpha: 0.6
top_k: 4
repetition_penalty: 1.25
lowpenalty:
do_sample: True
min_new_tokens: 1
max_new_tokens: 512
temperature: 0.7
eta_cutoff: 0.002
penalty_alpha: 0.6
top_k: 4
repetition_penalty: 1.1
no_repeat_ngram_size: 13
chaotic:
do_sample: True
min_new_tokens: 1
max_new_tokens: 512
temperature: 0.88888888
eta_cutoff: 0.002
penalty_alpha: 0.6
top_k: 4
repetition_penalty: 1.1
predictable:
do_sample: True
min_new_tokens: 1
max_new_tokens: 512
temperature: 0.3
eta_cutoff: 0.002
penalty_alpha: 0.6
top_k: 4
repetition_penalty: 1.2
longform:
do_sample: True
min_new_tokens: 11
max_new_tokens: 512
temperature: 0.8
eta_cutoff: 0.002
penalty_alpha: 0.59
top_k: 4
repetition_penalty: 1.1
no_repeat_ngram_size: 13
gentle:
do_sample: True
min_new_tokens: 11
max_new_tokens: 512
temperature: 0.8
eta_cutoff: 0.002
penalty_alpha: 0.6
top_k: 4
# min_p: 0.05
repetition_penalty: 1.1
no_repeat_ngram_size: 13
# dola_layers: [1, 2, 3]
reddit:
enabled: False
delay:
min: 120
max: 600
filter:
- layerzero
subs:
xsquaredlabs:
frequency: 0.2
SubSimGPT2Interactive:
frequency: 0.001
NoRules:
frequency: 0.05
asmr:
frequency: 0.05
# heart:
# frequency: 0.5
ARG:
frequency: 0.2
Autismophrenia:
frequency: 0.5