Sean MacAvaney commited on
Commit
845df70
1 Parent(s): 07ae31a

a few fixups

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ COLORS = ['rgb(252, 132, 100)','rgb(252, 148, 116)','rgb(252, 166, 137)','rgb(25
15
  doc2query = Doc2Query(MODEL, append=True, num_samples=5)
16
  electra = ElectraScorer()
17
  query_scorer = QueryScorer(electra)
18
- query_filter = QueryFilter(p=0.5, append=False)
19
 
20
  COLAB_NAME = 'pyterrier_doc2query.ipynb'
21
  COLAB_INSTALL = '''
 
15
  doc2query = Doc2Query(MODEL, append=True, num_samples=5)
16
  electra = ElectraScorer()
17
  query_scorer = QueryScorer(electra)
18
+ query_filter = QueryFilter(t=0, append=False)
19
 
20
  COLAB_NAME = 'pyterrier_doc2query.ipynb'
21
  COLAB_INSTALL = '''
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  git+https://github.com/seanmacavaney/pyterrier_gradio@v0.0.4
2
  git+https://github.com/terrier-org/pyterrier
3
- git+https://github.com/terrierteam/pyterrier_doc2query@minusminus
4
  git+https://github.com/terrierteam/pyterrier_dr
5
  ir_datasets
6
  ir_measures
 
1
  git+https://github.com/seanmacavaney/pyterrier_gradio@v0.0.4
2
  git+https://github.com/terrier-org/pyterrier
3
+ git+https://github.com/terrierteam/pyterrier_doc2query
4
  git+https://github.com/terrierteam/pyterrier_dr
5
  ir_datasets
6
  ir_measures