Instructions to use Twitter/twhin-bert-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Twitter/twhin-bert-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Twitter/twhin-bert-large")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Twitter/twhin-bert-large") model = AutoModelForMaskedLM.from_pretrained("Twitter/twhin-bert-large") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -93,7 +93,7 @@ tags:
|
|
| 93 |
- Twitter
|
| 94 |
- Multilingual
|
| 95 |
license: "apache-2.0"
|
| 96 |
-
mask_token: "
|
| 97 |
---
|
| 98 |
|
| 99 |
# TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations
|
|
|
|
| 93 |
- Twitter
|
| 94 |
- Multilingual
|
| 95 |
license: "apache-2.0"
|
| 96 |
+
mask_token: "<mask>"
|
| 97 |
---
|
| 98 |
|
| 99 |
# TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations
|