nlpaueb commited on
Commit
df19cbe
·
1 Parent(s): 199c8ec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -48,8 +48,8 @@ model = AutoModel.from_pretrained("nlpaueb/sec-bert-base")
48
 
49
  ## Pre-process Text
50
 
51
- In order to use SEC-BERT-NUM, you have to pre-process texts replacing every numerical token with a corresponding shape pseudo token from a list of 214 predefined shape pseudo tokens. If the numerical token does not correspond to any shape pseudo token we replace it with the [NUM] pseudo-token.
52
- 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.
53
 
54
  ```python
55
  import re
 
48
 
49
  ## Pre-process Text
50
 
51
+ To use SEC-BERT-SHAPE, you have to pre-process texts replacing every numerical token with the corresponding shape pseudo-token from a list of 214 predefined shape pseudo-tokens. If the numerical token does not correspond to any shape pseudo token we replace it with the [NUM] pseudo-token.
52
+ 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.
53
 
54
  ```python
55
  import re