Skip to content

Commit fe7c2f2

Browse files
authored
Update run_model.py
Update the maximum position for bart models in table fact verification.
1 parent ee61881 commit fe7c2f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/tableft/run_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def train_fairseq_model(args):
6262
--arch {args.model_arch} \
6363
--memory-efficient-fp16 \
6464
--task sentence_prediction \
65+
--max-positions 1024 \
6566
--num-classes 2 \
6667
--add-prev-output-tokens \
6768
--criterion sentence_prediction \

0 commit comments

Comments
 (0)