Run this model with HF Jobs
Run Twitter/twhin-bert-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Twitter/twhin-bert-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Twitter/twhin-bert-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Twitter/twhin-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Twitter/twhin-bert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Twitter/twhin-bert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Twitter/twhin-bert-base") model = AutoModelForMaskedLM.from_pretrained("Twitter/twhin-bert-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (2e5378742acf2c24135fca8913a5fad6e10b2ec7) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>82ac392
-
Update README.md
30a1050
-
Make mask token explicit (#1)
- Make mask token explicit (62e5dd22f8a626816fbadd518b67d467f55f4129) Co-authored-by: Suzen Fylke <codesue@users.noreply.huggingface.co>946961b -
Update README.md
3382538
-
Update yaml metadata.
613cdc7 -
Add model card v1.
971d357
-
Upload pytorch model
ab4c8d9 -
initial commit
4c101ca