Giter VIP home page Giter VIP logo

biobart's Introduction

BioBART

BioBART: Pretraining and Evaluation of A Biomedical Generative Language Model [ACL-BioNLP 2022] Paper

Tsinghua University & International Digital Economy Academy.

Model Checkpoints

BioBART

  • Base Version (6 + 6 Layers): GanjinZero/biobart-base or IDEA-CCNL/Yuyuan-Bart-139M (same model)
  • Large Version (12 + 12 Layers): GanjinZero/biobart-large or IDEA-CCNL/Yuyuan-Bart-400M (same model)

P.S. Yuyuan is a character in novel Fengshenbang. Chinese Introduction \ English Introduction

Two line usages:

model = AutoModel.from_pretrained('GanjinZero/biobart-base')
# model = AutoModel.from_pretrained('GanjinZero/biobart-large')
tok = AutoTokenizer.from_pretrained('GanjinZero/biobart-base')

BioBART-v2

New generative language model with domain-adaptive pre-training on biomedical corpus BioBART-v2 is released. Compared to BioBART, the main difference of BioBART-v2 is using a cross-domain vocabulary of 85,401 tokens and pre-training for longer steps.

The detailed implementation introduction and experiment results on bimedical downstream tasks are here.

  • Base Version (6 + 6 Layers): GanjinZero/biobart-v2-base
  • Large Version (12 + 12 Layers): GanjinZero/biobart-v2-large

Two line usages:

model = AutoModel.from_pretrained('GanjinZero/biobart-v2-base')
# model = AutoModel.from_pretrained('GanjinZero/biobart-v2-large')
tok = AutoTokenizer.from_pretrained('GanjinZero/biobart-v2-base')

Citation

@inproceedings{yuan-etal-2022-biobart,
    title = "{B}io{BART}: Pretraining and Evaluation of A Biomedical Generative Language Model",
    author = "Yuan, Hongyi  and
      Yuan, Zheng  and
      Gan, Ruyi  and
      Zhang, Jiaxing  and
      Xie, Yutao  and
      Yu, Sheng",
    booktitle = "Proceedings of the 21st Workshop on Biomedical Language Processing",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.bionlp-1.9",
    pages = "97--109",
    abstract = "Pretrained language models have served as important backbones for natural language processing. Recently, in-domain pretraining has been shown to benefit various domain-specific downstream tasks. In the biomedical domain, natural language generation (NLG) tasks are of critical importance, while understudied. Approaching natural language understanding (NLU) tasks as NLG achieves satisfying performance in the general domain through constrained language generation or language prompting. We emphasize the lack of in-domain generative language models and the unsystematic generative downstream benchmarks in the biomedical domain, hindering the development of the research community. In this work, we introduce the generative language model BioBART that adapts BART to the biomedical domain. We collate various biomedical language generation tasks including dialogue, summarization, entity linking, and named entity recognition. BioBART pretrained on PubMed abstracts has enhanced performance compared to BART and set strong baselines on several tasks. Furthermore, we conduct ablation studies on the pretraining tasks for BioBART and find that sentence permutation has negative effects on downstream tasks.",
}

biobart's People

Contributors

ganjinzero avatar yuanhy1997 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

biobart's Issues

train/valid/test split for dataset

方便提供一下summarization任务的划分吗?因为原始数据没有划分,说是随机。
或者我想了解一下输入格式是怎么样的,比如 --train_file ./dataprepare/data/healthcaremagic/train.json \, 这个json的格式是如何的,我看您的comment也说了可以是csv, csv的话就是两列吗,source text & target text.
谢谢!

config file

请问config file 在哪里?怎么找不到??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.