Downloads · 30 days
3.7K
0% of all-time downloads
bionlp/bluebert_pubmed_uncased_L-12_H-768_A-12
bluebert_pubmed_uncased_L-12_H-768_A-12 is a machine learning model from bionlp. 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. The card lists the license as cc0-1.0.
A BERT model pre-trained on PubMed abstracts
Downloads · 30 days
3.7K
0% of all-time downloads
All-time downloads
897K
Public
Repo size
2.2 GB
Likes
5
Public
Click a slice to open those files.
.data-00000-of-000011.3 GB · 75%
From the Hugging Face model README
A BERT model pre-trained on PubMed abstracts
Please see https://github.com/ncbi-nlp/bluebert
We provide preprocessed PubMed texts that were used to pre-train the BlueBERT models. The corpus contains ~4000M words extracted from the PubMed ASCII code version.
Pre-trained model: https://huggingface.co/bert-base-uncased
\x00-\x7FBelow is a code snippet for more details.
value = value.lower()
value = re.sub(r'[\r\n]+', ' ', value)
value = re.sub(r'[^\x00-\x7F]+', ' ', value)
tokenized = TreebankWordTokenizer().tokenize(value)
sentence = ' '.join(tokenized)
sentence = re.sub(r"\s's\b", "'s", sentence)
@InProceedings{peng2019transfer,
author = {Yifan Peng and Shankai Yan and Zhiyong Lu},
title = {Transfer Learning in Biomedical Natural Language Processing: An Evaluation of BERT and ELMo on Ten Benchmarking Datasets},
booktitle = {Proceedings of the 2019 Workshop on Biomedical Natural Language Processing (BioNLP 2019)},
year = {2019},
pages = {58--65},
}