oriram commited on
Commit
d2e07f1
1 Parent(s): 9219437

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -14,8 +14,8 @@ An example usage:
14
  ```python
15
  from transformers import AutoTokenizer, DPRQuestionEncoder
16
 
17
- tokenizer = AutoTokenizer.from_pretrained("NAACL2022/spider-trivia-question-encoder")
18
- model = DPRQuestionEncoder.from_pretrained("NAACL2022/spider-trivia-question-encoder")
19
 
20
  question = "Who is the villain in lord of the rings"
21
  input_dict = tokenizer(question, return_tensors="pt")
14
  ```python
15
  from transformers import AutoTokenizer, DPRQuestionEncoder
16
 
17
+ tokenizer = AutoTokenizer.from_pretrained("NAACL2022/spider-nq-question-encoder")
18
+ model = DPRQuestionEncoder.from_pretrained("NAACL2022/spider-nq-question-encoder")
19
 
20
  question = "Who is the villain in lord of the rings"
21
  input_dict = tokenizer(question, return_tensors="pt")