Instructions to use microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract") model = AutoModelForMaskedLM.from_pretrained("microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Updated the example sentence.
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ tags:
|
|
| 4 |
- exbert
|
| 5 |
license: mit
|
| 6 |
widget:
|
| 7 |
-
- text: "
|
| 8 |
---
|
| 9 |
|
| 10 |
## PubMedBERT (abstracts only)
|
|
|
|
| 4 |
- exbert
|
| 5 |
license: mit
|
| 6 |
widget:
|
| 7 |
+
- text: "[MASK] is a tyrosine kinase inhibitor."
|
| 8 |
---
|
| 9 |
|
| 10 |
## PubMedBERT (abstracts only)
|