Downloads · 30 days
14
2% of all-time downloads
molly-hayward/bioelectra-base-discriminator
bioelectra-base-discriminator is a machine learning model from molly-hayward. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
To produce BioELECTRA, we pretrain ELECTRA on a corpus of over 20 million abstracts from PubMed.
Downloads · 30 days
14
2% of all-time downloads
All-time downloads
635
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.h5438 MB · 50%
From the Hugging Face model README
To produce BioELECTRA, we pretrain ELECTRA on a corpus of over 20 million abstracts from PubMed.
How to use the discriminator in transformers:
from transformers import ElectraForPreTraining, ElectraTokenizerFast
import torch
discriminator = ElectraForPreTraining.from_pretrained("molly-hayward/bioelectra-base-discriminator")
tokenizer = ElectraTokenizerFast.from_pretrained("molly-hayward/bioelectra-base-discriminator")