Downloads · 30 days
16
3% of all-time downloads
molly-hayward/bioelectra-base-generator
bioelectra-base-generator 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
16
3% of all-time downloads
All-time downloads
549
Public
Repo size
403 MB
Likes
1
Public
Click a slice to open those files.
.h5135 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 generator in transformers:
from transformers import ElectraForMaskedLM, ElectraTokenizerFast
import torch
generator = ElectraForMaskedLM.from_pretrained("molly-hayward/bioelectra-base-generator")
tokenizer = ElectraTokenizerFast.from_pretrained("molly-hayward/bioelectra-base-generator")