ekolodin commited on
Commit
568681d
1 Parent(s): cfcfe0b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -24,9 +24,9 @@ import torch.nn.functional as F
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
  # Each query needs to be accompanied by an corresponding instruction describing the task.
27
- task_name_to_instruct = {"example": "Given a question, retrieve passages that answer the question, \nquestion: ",}
28
 
29
- query_prefix = task_name_to_instruct["example"] + "\nquery: "
30
  queries = [
31
  'are judo throws allowed in wrestling?',
32
  'how to become a radiology technician in michigan?'
 
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
  # Each query needs to be accompanied by an corresponding instruction describing the task.
27
+ task_name_to_instruct = {"example": "Given a question, retrieve passages that answer the question",}
28
 
29
+ query_prefix = task_name_to_instruct["example"] + "\nquestion: "
30
  queries = [
31
  'are judo throws allowed in wrestling?',
32
  'how to become a radiology technician in michigan?'