Commit
·
454c024
1
Parent(s):
4b41416
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,6 +31,14 @@ model = AutoModel.from_pretrained("dragosnicolae555/ALR_BERT")
|
|
| 31 |
|
| 32 |
#Here add your magic
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
### Evaluation
|
| 36 |
|
|
@@ -58,12 +66,3 @@ The model is trained on the following corpora (stats in the table below are afte
|
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
```
|
| 64 |
-
|
| 65 |
-
Remember to always sanitize your text! Replace ``s`` and ``t`` cedilla-letters to comma-letters with :
|
| 66 |
-
```
|
| 67 |
-
text = text.replace("ţ", "ț").replace("ş", "ș").replace("Ţ", "Ț").replace("Ş", "Ș")
|
| 68 |
-
```
|
| 69 |
-
because the model was **NOT** trained on cedilla ``s`` and ``t``s. If you don't, you will have decreased performance due to <UNK>s and increased number of tokens per word.
|
|
|
|
| 31 |
|
| 32 |
#Here add your magic
|
| 33 |
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
Remember to always sanitize your text! Replace ``s`` and ``t`` cedilla-letters to comma-letters with :
|
| 37 |
+
```
|
| 38 |
+
text = text.replace("ţ", "ț").replace("ş", "ș").replace("Ţ", "Ț").replace("Ş", "Ș")
|
| 39 |
+
```
|
| 40 |
+
because the model was **NOT** trained on cedilla ``s`` and ``t``s. If you don't, you will have decreased performance due to <UNK>s and increased number of tokens per word.
|
| 41 |
+
|
| 42 |
|
| 43 |
### Evaluation
|
| 44 |
|
|
|
|
| 66 |
|
| 67 |
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|