Instructions to use bioformers/bioformer-litcovid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bioformers/bioformer-litcovid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="bioformers/bioformer-litcovid")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bioformers/bioformer-litcovid") model = AutoModelForMaskedLM.from_pretrained("bioformers/bioformer-litcovid") - Notebooks
- Google Colab
- Kaggle
bioformer-8L pretrained on 164,179 COVID-19 abstracts (from LitCovid website) for 100 epochs.
In our evaluation, this pretraining process leads to improved performance on the multi-label COVID-19 topic classification task (BioCreative VII track 5).
- Downloads last month
- 15