Update README.md
Browse files
README.md
CHANGED
|
@@ -45,7 +45,7 @@ Model | #params | Arch. | Max length | Training data | License
|
|
| 45 |
[`tkhangg0910/viconbert-base`](https://huggingface.co/tkhangg0910/viconbert-base) | 135M | base | 256 | ViConWSD
|
| 46 |
[`tkhangg0910/viconbert-large`](https://huggingface.co/tkhangg0910/viconbert-large) | 370M | large | 256 | ViConWSD
|
| 47 |
### Example usage <a name="usage2"></a>
|
| 48 |
-
SpanExtractor and text_normalize are implemented in [`
|
| 49 |
```python
|
| 50 |
import logging
|
| 51 |
from typing import Optional, Tuple
|
|
@@ -76,7 +76,7 @@ target_1 = "Khoan"
|
|
| 76 |
query_vec_1 = pipeline(query_1, target_1)
|
| 77 |
|
| 78 |
query_2 = "khoan này bị mất mũi khoan."
|
| 79 |
-
target_2 = "
|
| 80 |
query_vec_2 = pipeline(query_2, target_2)
|
| 81 |
|
| 82 |
query_3 = "Khoan là việc rất tiện lợi."
|
|
|
|
| 45 |
[`tkhangg0910/viconbert-base`](https://huggingface.co/tkhangg0910/viconbert-base) | 135M | base | 256 | ViConWSD
|
| 46 |
[`tkhangg0910/viconbert-large`](https://huggingface.co/tkhangg0910/viconbert-large) | 370M | large | 256 | ViConWSD
|
| 47 |
### Example usage <a name="usage2"></a>
|
| 48 |
+
SpanExtractor and text_normalize are implemented in [`code`](https://github.com/tkhangg0910/ViConBERT/tree/main/utils)
|
| 49 |
```python
|
| 50 |
import logging
|
| 51 |
from typing import Optional, Tuple
|
|
|
|
| 76 |
query_vec_1 = pipeline(query_1, target_1)
|
| 77 |
|
| 78 |
query_2 = "khoan này bị mất mũi khoan."
|
| 79 |
+
target_2 = "khoan"
|
| 80 |
query_vec_2 = pipeline(query_2, target_2)
|
| 81 |
|
| 82 |
query_3 = "Khoan là việc rất tiện lợi."
|