nlpaueb commited on
Commit
57dc5fa
·
1 Parent(s): 4621a42

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -47,8 +47,10 @@ tokenizer = AutoTokenizer.from_pretrained("nlpaueb/sec-bert-base")
47
  model = AutoModel.from_pretrained("nlpaueb/sec-bert-base")
48
  ```
49
 
 
 
50
  In order to use SEC-BERT-NUM, you have to pre-process texts replacing every numerical token with [NUM] pseudo-token.
51
- Below there is an example how you can pre-process a simple sentence. This approach is quite simple, feel free to modify it as you see fit.
52
 
53
  ```python
54
  import re
 
47
  model = AutoModel.from_pretrained("nlpaueb/sec-bert-base")
48
  ```
49
 
50
+ ## Pre-process Text
51
+
52
  In order to use SEC-BERT-NUM, you have to pre-process texts replacing every numerical token with [NUM] pseudo-token.
53
+ Below there is an example of how you can pre-process a simple sentence. This approach is quite simple, feel free to modify it as you see fit.
54
 
55
  ```python
56
  import re