Instructions to use mosaicml/mosaic-bert-base-seqlen-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mosaicml/mosaic-bert-base-seqlen-256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mosaicml/mosaic-bert-base-seqlen-256", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mosaicml/mosaic-bert-base-seqlen-256", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("mosaicml/mosaic-bert-base-seqlen-256", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f0423f47a058c856bf6c8c6d0935a6dc2d22a8db748975d05a5aac036c75ba2a
- Size of remote file:
- 550 MB
- SHA256:
- a81e58ef4b51cc36e43cea855a99f699d9b6056014489b37d79f0917e616920c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.