cybershiptrooper
commited on
Commit
•
d073735
1
Parent(s):
d1b66f8
add conf and pcsg class
Browse files- conf.yaml +50 -0
- grammar/PCSG.pkl +3 -0
conf.yaml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
bf16: true
|
2 |
+
data:
|
3 |
+
batch_size: 128
|
4 |
+
instr_ratio: 0.8
|
5 |
+
max_sample_length: 128
|
6 |
+
n_descriptive_properties: 4600
|
7 |
+
n_descriptive_values: 40
|
8 |
+
n_entities: 200
|
9 |
+
n_relative_properties: 1000
|
10 |
+
num_iters: 100000.0
|
11 |
+
num_of_classes_to_divide_over: 10
|
12 |
+
num_workers: 0
|
13 |
+
prior_param: 0.1
|
14 |
+
props_prior_type: structured_zeros
|
15 |
+
deploy: true
|
16 |
+
device: cuda
|
17 |
+
epochs: 1
|
18 |
+
eval:
|
19 |
+
cond_gen: false
|
20 |
+
grammar: true
|
21 |
+
llhood: true
|
22 |
+
reachable_pairs: true
|
23 |
+
save_tables: false
|
24 |
+
unscramble: true
|
25 |
+
log:
|
26 |
+
eval_interval: 100
|
27 |
+
log_interval: 10
|
28 |
+
save_interval: 100
|
29 |
+
save_multiple: true
|
30 |
+
model:
|
31 |
+
bias: false
|
32 |
+
compile: false
|
33 |
+
context_size: 256
|
34 |
+
dropout: 0.0
|
35 |
+
mlp: true
|
36 |
+
n_embd: 128
|
37 |
+
n_head: 2
|
38 |
+
n_layer: 2
|
39 |
+
optimizer:
|
40 |
+
beta1: 0.9
|
41 |
+
beta2: 0.95
|
42 |
+
decay_lr: true
|
43 |
+
grad_clip: 1.0
|
44 |
+
learning_rate: 0.001
|
45 |
+
min_lr: 0.001
|
46 |
+
train_iters: 100000.0
|
47 |
+
warmup_iters: 200
|
48 |
+
weight_decay: 0.0001
|
49 |
+
seed: 2
|
50 |
+
tag: scratch
|
grammar/PCSG.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:249c708462953cf0da5e41d5f13766ccc042ef8c59ded7a370bf1ebdcad46331
|
3 |
+
size 72174170
|