Downloads · 30 days
13
1% of all-time downloads
molly-hayward/bioelectra-small-discriminator
bioelectra-small-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
13
1% of all-time downloads
All-time downloads
976
Public
Repo size
163 MB
Likes
0
Public
Click a slice to open those files.
.h554.5 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-small-discriminator")
tokenizer = ElectraTokenizerFast.from_pretrained("molly-hayward/bioelectra-small-discriminator")