dmrau commited on
Commit
5c0cce3
1 Parent(s): 847fbd6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -1,6 +1,8 @@
1
  ---
2
  license: afl-3.0
3
  ---
 
 
4
  ```
5
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
6
 
@@ -21,14 +23,14 @@ print('score', model(**inp).logits[:, 1])
21
 
22
 
23
 
24
- Cite us:
25
-
26
 
27
 
 
28
  @article{rau2022role,
29
  title={The Role of Complex NLP in Transformers for Text Ranking?},
30
  author={Rau, David and Kamps, Jaap},
31
  journal={arXiv preprint arXiv:2207.02522},
32
  year={2022}
33
  }
34
-
 
1
  ---
2
  license: afl-3.0
3
  ---
4
+
5
+ <strong>Example on how to load and use BOW-BERT: <strong>
6
  ```
7
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
8
 
 
23
 
24
 
25
 
26
+ <strong> Cite us:<strong>
 
27
 
28
 
29
+ ```
30
  @article{rau2022role,
31
  title={The Role of Complex NLP in Transformers for Text Ranking?},
32
  author={Rau, David and Kamps, Jaap},
33
  journal={arXiv preprint arXiv:2207.02522},
34
  year={2022}
35
  }
36
+ ```