darpanaswal commited on
Commit
c9f0444
·
verified ·
1 Parent(s): c233267

Update cross_encoder_reranking_train.py

Browse files
Files changed (1) hide show
  1. cross_encoder_reranking_train.py +4 -4
cross_encoder_reranking_train.py CHANGED
@@ -129,10 +129,10 @@ def extract_text(content_dict, text_type="full"):
129
  # Extract everything
130
  all_text = []
131
  # Start with title and abstract for better context at the beginning
132
- # if "title" in content_dict:
133
- # all_text.append(content_dict["title"]) do with this on next
134
- if "pa01" in content_dict:
135
- all_text.append(content_dict["pa01"])
136
 
137
  # Add claims and description
138
  for key, value in content_dict.items():
 
129
  # Extract everything
130
  all_text = []
131
  # Start with title and abstract for better context at the beginning
132
+ if "title" in content_dict:
133
+ all_text.append(content_dict["title"]) do with this on next
134
+ # if "pa01" in content_dict:
135
+ # all_text.append(content_dict["pa01"])
136
 
137
  # Add claims and description
138
  for key, value in content_dict.items():