Cyrile commited on
Commit
19bb940
·
verified ·
1 Parent(s): 311c6e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -100,7 +100,13 @@ reranker = pipeline(
100
  )
101
 
102
  similarity = reranker(
103
- [dict(text=ii, text_pair=query) for ii in context_list]
 
 
 
 
 
 
104
  )
105
  context_reranked = sorted(
106
  filter(
 
100
  )
101
 
102
  similarity = reranker(
103
+ [
104
+ dict(
105
+ text=ii, # the model was trained with context in text argument
106
+ text_pair=query # and query in text_pair argument.
107
+ )
108
+ for ii in context_list
109
+ ]
110
  )
111
  context_reranked = sorted(
112
  filter(