Instructions to use Mahnazfazal/bert_checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mahnazfazal/bert_checkpoints with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Mahnazfazal/bert_checkpoints")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Mahnazfazal/bert_checkpoints") model = AutoModelForMaskedLM.from_pretrained("Mahnazfazal/bert_checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
8ecdfc1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e754690d64255ae55b8b77cb920a8d67be5313bdc1b9060a0b5d85fce4c4a7ce
size 5201
|