Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
pipeline_tag: fill-mask
|
3 |
widget:
|
4 |
-
- text: "
|
5 |
---
|
6 |
# <a name="introduction"></a> ViSoBERT: A Pre-Trained Language Model for Vietnamese Social Media Text Processing (EMNLP 2023 - Main)
|
7 |
**Disclaimer**: The paper contains actual comments on social networks that might be construed as abusive, offensive, or obscene.
|
@@ -40,7 +40,7 @@ import torch
|
|
40 |
model= AutoModel.from_pretrained('uitnlp/visobert')
|
41 |
tokenizer = AutoTokenizer.from_pretrained('uitnlp/visobert')
|
42 |
|
43 |
-
encoding = tokenizer('
|
44 |
|
45 |
with torch.no_grad():
|
46 |
output = model(**encoding)
|
|
|
1 |
---
|
2 |
pipeline_tag: fill-mask
|
3 |
widget:
|
4 |
+
- text: "hào quang rực <mask>"
|
5 |
---
|
6 |
# <a name="introduction"></a> ViSoBERT: A Pre-Trained Language Model for Vietnamese Social Media Text Processing (EMNLP 2023 - Main)
|
7 |
**Disclaimer**: The paper contains actual comments on social networks that might be construed as abusive, offensive, or obscene.
|
|
|
40 |
model= AutoModel.from_pretrained('uitnlp/visobert')
|
41 |
tokenizer = AutoTokenizer.from_pretrained('uitnlp/visobert')
|
42 |
|
43 |
+
encoding = tokenizer('hào quang rực rỡ', return_tensors='pt')
|
44 |
|
45 |
with torch.no_grad():
|
46 |
output = model(**encoding)
|