Instructions to use microsoft/mpnet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/mpnet-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/mpnet-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("microsoft/mpnet-base") model = AutoModelForMaskedLM.from_pretrained("microsoft/mpnet-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
StillKeepTry commited on
Commit ·
a6a623d
1
Parent(s): a1ec8e3
submit tf 2.0 model
Browse files- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a30989e7abc71333d1ec13c6259ab465a6f373f89aac21f05d609307ca36565c
|
| 3 |
+
size 533699372
|