alexpap commited on
Commit
f89d9aa
1 Parent(s): 9c11183

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -29,13 +29,13 @@ To see how to train a QANLU model, visit the [Amazon Science repository](https:/
29
 
30
  ## Use in transformers:
31
 
32
- '''
33
  from transformers import AutoTokenizer, AutoModelForQuestionAnswering
34
 
35
  tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
36
 
37
  model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
38
- '''
39
 
40
  ## Citation
41
  If you use this work, please cite:
 
29
 
30
  ## Use in transformers:
31
 
32
+ ```python
33
  from transformers import AutoTokenizer, AutoModelForQuestionAnswering
34
 
35
  tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
36
 
37
  model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
38
+ ```
39
 
40
  ## Citation
41
  If you use this work, please cite: