geekydevu commited on
Commit
7daf318
•
1 Parent(s): c637eee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -20,11 +20,12 @@ The training script can be found [here](https://github.com/McGill-NLP/MLQuestion
20
  ## Model in Action 🚀
21
 
22
  ```python
23
- from transformers import AutoModel, BartTokenizer
 
24
  #Load the tokenizer
25
- tokenizer = BartTokenizer.from_pretrained('facebook/bart-base')
26
  #Load the model
27
- model = AutoModelForSeq2SeqLM.from_pretrained("McGill-NLP/bart-qg-nq-checkpoint")
28
  ```
29
 
30
  ## Citation
 
20
  ## Model in Action 🚀
21
 
22
  ```python
23
+
24
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
25
  #Load the tokenizer
26
+ tokenizer = AutoTokenizer.from_pretrained("geekydevu/bart-qg-mlquestions-backtraining")
27
  #Load the model
28
+ model = AutoModelForSeq2SeqLM.from_pretrained("geekydevu/bart-qg-mlquestions-backtraining")
29
  ```
30
 
31
  ## Citation