Instructions to use osunlp/PubMedBERT_Replica with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use osunlp/PubMedBERT_Replica with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="osunlp/PubMedBERT_Replica")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("osunlp/PubMedBERT_Replica") model = AutoModelForMaskedLM.from_pretrained("osunlp/PubMedBERT_Replica") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
| 1 |
+
We replicate the PubMedBERT model using the same data, hardware and code as our new [BioVocabBERT](https://huggingface.co/osunlp/BioVocabBERT) model to ensure their comparion is fair.
|
| 2 |
+
|
| 3 |
+
Details about our pre-training procedure and downstream results can be found in our [BioNLP @ ACL 2023 paper](https://arxiv.org/abs/2306.17649).
|
| 4 |
+
|
| 5 |
---
|
| 6 |
license: apache-2.0
|
| 7 |
---
|