Downloads · 30 days
18
5% of all-time downloads
molly-hayward/bioelectra-small-generator
bioelectra-small-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
18
5% of all-time downloads
All-time downloads
364
Public
Repo size
55.4 MB
Likes
0
Public
Click a slice to open those files.
.h518.6 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-small-generator")
tokenizer = ElectraTokenizerFast.from_pretrained("molly-hayward/bioelectra-small-generator")