This commit is contained in:
Jakub Pokrywka 2021-11-04 12:09:55 +01:00
parent 5308358ad7
commit 2898bee8e9
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ def write(f_path_in, f_path_out):
a = get_formatted(l_in)
f_out.write(a + '\n')
model = 'robertamodel/checkpoint-24000'
model = 'robertamodel'
unmasker = pipeline('fill-mask', model=model)
write('dev-0_in.csv', '../dev-0/out.tsv')
write('test-A_in.csv', '../test-A/out.tsv')

View File

@ -1,3 +1,3 @@
python 00_create_datasets.py
python 04_predict.py
bash 2_run.sh
python 04_predict.py

View File

@ -19,7 +19,7 @@ def write(f_path_in, f_path_out):
a = get_formatted(l_in)
f_out.write(a + '\n')
model = 'robertamodel/checkpoint-60000'
model = 'robertamodel'
unmasker = pipeline('fill-mask', model=model)
write('dev-0_in.csv', '../dev-0/out.tsv')
write('test-A_in.csv', '../test-A/out.tsv')