Instructions to use arm-on/BERTweet-FA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arm-on/BERTweet-FA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="arm-on/BERTweet-FA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("arm-on/BERTweet-FA") model = AutoModelForMaskedLM.from_pretrained("arm-on/BERTweet-FA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,7 @@ widget:
|
|
| 6 |
- text: "'ببین داری [MASK] میزنی'"
|
| 7 |
- text: 'به نظر من این پسره [MASK] نیست'
|
| 8 |
- text: 'به نظر من این دختره [MASK] نیست'
|
|
|
|
| 9 |
tags:
|
| 10 |
- BERTweet
|
| 11 |
model-index:
|
|
|
|
| 6 |
- text: "'ببین داری [MASK] میزنی'"
|
| 7 |
- text: 'به نظر من این پسره [MASK] نیست'
|
| 8 |
- text: 'به نظر من این دختره [MASK] نیست'
|
| 9 |
+
- text: 'آخه محسن [MASK] هم شد خواننده؟'
|
| 10 |
tags:
|
| 11 |
- BERTweet
|
| 12 |
model-index:
|