Skip to content

Commit

Permalink
added proto files to handle new refactored version
Browse files Browse the repository at this point in the history
  • Loading branch information
menne committed Jul 16, 2019
1 parent b431bb6 commit dc735ca
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
55 changes: 55 additions & 0 deletions proto/global_chunk_refac01.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[cfg_proto]
cfg_proto=path
cfg_proto_chunk=path

[exp]
cmd=str
run_nn_script=str
to_do={train,valid,forward}
seed=int(-inf,inf)
use_cuda=bool
multi_gpu=bool
save_gpumem=bool
out_info=str
N_epochs_tr=int(1,inf)


[data_chunk]
fea=str
lab=str


[batches]
batch_size_train=int(0,inf)
max_seq_length_train=list_str
batch_size_valid=int(1,inf)
max_seq_length_valid=list_str


[architecture]
arch_name=str
arch_proto=path
arch_library=str
arch_class=str
arch_pretrain_file=str
arch_freeze=bool
arch_seq_model=bool
arch_lr=float(0,inf)
arch_halving_factor=float(0,inf)
arch_improvement_threshold=float(0,inf)
arch_opt={sgd,rmsprop,adam,none}

[model]
model_proto=path
model=str


[forward]
forward_out=str
normalize_posteriors=bool_list
normalize_with_counts_from=str
save_out_file=bool_list
require_decoding=bool_list



68 changes: 68 additions & 0 deletions proto/global_refac01.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[cfg_proto]
cfg_proto=path
cfg_proto_chunk=path

[exp]
cmd=str
run_nn_script=str
out_folder=str
seed=int(-inf,inf)
use_cuda=bool
multi_gpu=bool
save_gpumem=bool
N_epochs_tr=int(1,inf)

[dataset]
data_name=str
fea=str
lab=str
N_chunks=int(1,inf)

[data_use]
train_with=list_str
valid_with=list_str
forward_with=list_str


[batches]
batch_size_train=list_str
max_seq_length_train=list_str
increase_seq_length_train=Bool
start_seq_len_train=list_str
multply_factor_seq_len_train=int(0,inf)
batch_size_valid=int(1,inf)
max_seq_length_valid=list_str

[architecture]
arch_name=str
arch_proto=path
arch_library=str
arch_class=str
arch_pretrain_file=str
arch_freeze=bool
arch_seq_model=bool
arch_lr=list_str
arch_halving_factor=float(0,inf)
arch_improvement_threshold=float(0,inf)
arch_opt={sgd,rmsprop,adam,none}


[model]
model_proto=path
model=str

[forward]
forward_out=str
normalize_posteriors=bool_list
normalize_with_counts_from=str
save_out_file=bool_list
require_decoding=bool_list

[decoding]
decoding_script_folder=path
decoding_script=str
decoding_proto=path




0 comments on commit dc735ca

Please sign in to comment.