a
This commit is contained in:
parent
5308358ad7
commit
2898bee8e9
@ -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')
|
||||
|
@ -1,3 +1,3 @@
|
||||
python 00_create_datasets.py
|
||||
python 04_predict.py
|
||||
bash 2_run.sh
|
||||
python 04_predict.py
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user