From a79c989e8e360a3c4d97e8ff8ce5d5f768178996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B0=E8=BF=90=E9=B9=8F?= Date: Sat, 26 Feb 2022 13:38:36 +0800 Subject: [PATCH] Update run_squad.py --- run_squad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_squad.py b/run_squad.py index edd4c3ed9..8af82f5cf 100644 --- a/run_squad.py +++ b/run_squad.py @@ -187,9 +187,9 @@ def __repr__(self): s += ", doc_tokens: [%s]" % (" ".join(self.doc_tokens)) if self.start_position: s += ", start_position: %d" % (self.start_position) - if self.start_position: + if self.end_position: s += ", end_position: %d" % (self.end_position) - if self.start_position: + if self.is_impossible: s += ", is_impossible: %r" % (self.is_impossible) return s