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