patrickvonplaten commited on
Commit
41e4614
1 Parent(s): 7970e84

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -41,8 +41,8 @@ The model can be used as follows for **closed book question answering**:
41
  ```python
42
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
43
 
44
- t5_qa_model = AutoModelForSeq2SeqLM.from_pretrained("google/t5-large-ssm-nq")
45
- t5_tok = AutoTokenizer.from_pretrained("google/t5-large-ssm-nq")
46
 
47
  input_ids = t5_tok("When was Franklin D. Roosevelt born?", return_tensors="pt").input_ids
48
  gen_output = t5_qa_model.generate(input_ids)[0]
 
41
  ```python
42
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
43
 
44
+ t5_qa_model = AutoModelForSeq2SeqLM.from_pretrained("google/t5-3b-ssm-nq")
45
+ t5_tok = AutoTokenizer.from_pretrained("google/t5-3b-ssm-nq")
46
 
47
  input_ids = t5_tok("When was Franklin D. Roosevelt born?", return_tensors="pt").input_ids
48
  gen_output = t5_qa_model.generate(input_ids)[0]