Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ BERTweet-FA is a transformer-based model trained on 20665964 Persian tweets. The
|
|
21 |
|
22 |
How to use the Model
|
23 |
---
|
24 |
-
```
|
25 |
from transformers import BertForMaskedLM, BertTokenizer, pipeline
|
26 |
model = BertForMaskedLM.from_pretrained('arm-on/BERTweet-FA')
|
27 |
tokenizer = BertTokenizer.from_pretrained('arm-on/BERTweet-FA')
|
|
|
21 |
|
22 |
How to use the Model
|
23 |
---
|
24 |
+
```python
|
25 |
from transformers import BertForMaskedLM, BertTokenizer, pipeline
|
26 |
model = BertForMaskedLM.from_pretrained('arm-on/BERTweet-FA')
|
27 |
tokenizer = BertTokenizer.from_pretrained('arm-on/BERTweet-FA')
|