Instructions to use mosaicml/mosaic-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mosaicml/mosaic-bert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mosaicml/mosaic-bert-base", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mosaicml/mosaic-bert-base", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("mosaicml/mosaic-bert-base", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
fix link
#8
by davanstrien HF Staff - opened
README.md
CHANGED
|
@@ -21,7 +21,7 @@ March 2023
|
|
| 21 |
|
| 22 |
## Documentation
|
| 23 |
|
| 24 |
-
* [Project Page (mosaicbert.github.io)](mosaicbert.github.io)
|
| 25 |
* [Github (mosaicml/examples/tree/main/examples/benchmarks/bert)](https://github.com/mosaicml/examples/tree/main/examples/benchmarks/bert)
|
| 26 |
* [Paper (NeurIPS 2023)](https://openreview.net/forum?id=5zipcfLC2Z)
|
| 27 |
* Colab Tutorials:
|
|
|
|
| 21 |
|
| 22 |
## Documentation
|
| 23 |
|
| 24 |
+
* [Project Page (mosaicbert.github.io)](https://mosaicbert.github.io/)
|
| 25 |
* [Github (mosaicml/examples/tree/main/examples/benchmarks/bert)](https://github.com/mosaicml/examples/tree/main/examples/benchmarks/bert)
|
| 26 |
* [Paper (NeurIPS 2023)](https://openreview.net/forum?id=5zipcfLC2Z)
|
| 27 |
* Colab Tutorials:
|