Update README.md
Browse files
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:
|