SciDFM: A Large Language Model with Mixture-of-Experts for Science

Liangtai Sun, Danyu Luo, Da Ma, Zihan Zhao, Baocai Chen +5 more
9/27/2024
cs.CLcs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Recently, there has been a significant upsurge of interest in leveraging large language models (LLMs) to assist scientific discovery. However, most LLMs only focus on general science, while they lack domain-specific knowledge, such as chemical molecules and amino acid sequences. To bridge these gaps, we introduce SciDFM, a mixture-of-experts LLM, which is trained from scratch and is able to conduct college-level scientific reasoning and understand molecules and amino acid sequences. We collect a large-scale training corpus containing numerous scientific papers and books from different disciplines as well as data from domain-specific databases. We further fine-tune the pre-trained model on lots of instruction data to improve performances on downstream benchmarks. From experiment results, we show that SciDFM achieves strong performance on general scientific benchmarks such as SciEval and SciQ, and it reaches a SOTA performance on domain-specific benchmarks among models of similar size. We further analyze the expert layers and show that the results of expert selection vary with data from different disciplines. To benefit the broader research community, we open-source SciDFM at https://huggingface.co/OpenDFM/SciDFM-MoE-A5.6B-v1.0.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2024scidfm,
  title  = {SciDFM: A Large Language Model with Mixture-of-Experts for Science},
  author = {Liangtai Sun and Danyu Luo and Da Ma and Zihan Zhao and Baocai Chen and Zhennan Shen and Su Zhu and Lu Chen and Xin Chen and Kai Yu},
  year   = {2024},
  eprint = {2409.18412},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.18412v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.18412.svg)](https://codeofpaper.com/paper/2409.18412)

Discussion