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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Twitter/twhin-bert-large") model = AutoModelForMaskedLM.from_pretrained("Twitter/twhin-bert-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (503f4397c8d379afc7b3d2159d648b777f6d1ef1) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>f278678
-
Update README.md
3994dc8
-
Make mask token explicit (#1)
- Make mast token explicit (d02fbfabd0180276a896cba0b796558d2a8533dd) Co-authored-by: Suzen Fylke <codesue@users.noreply.huggingface.co>20149ae -
Update README.md
a2d36a4
-
Add model card.
e91570f
-
Upload pytorch model
22ebe2e -
initial commit
b5b0d3a