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
-
Upload pytorch model
22ebe2e -
initial commit
b5b0d3a