Skip to content
Snippets Groups Projects
Commit 1b098707 authored by piotrmp's avatar piotrmp
Browse files

Number of epoch changed.

parent 386953e3
Branches
1 merge request!1Migration to UD 2.11
......@@ -27,4 +27,4 @@ if __name__=='__main__':
continue
print(str(i) + '/' + str(len(languages)) + '========== ' + language + ' ==========')
inpath = treebanks / language
train_new_and_save('LAMBO-BILSTM', inpath, outpath, 10, device)
train_new_and_save('LAMBO-BILSTM', inpath, outpath, 20, device)
......@@ -30,6 +30,6 @@ if __name__=='__main__':
print(str(i) + '/' + str(len(lines)) + '========== ' + model + ' ==========')
inpath = treebanks / model
if language != '?':
train_pretrained_and_save(language, inpath, outpath, pretrained_path, 10, device)
train_pretrained_and_save(language, inpath, outpath, pretrained_path, 20, device)
else:
train_new_and_save('LAMBO-BILSTM', inpath, outpath, 10, device)
train_new_and_save('LAMBO-BILSTM', inpath, outpath, 20, device)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment