Teaching Specific Scientific Knowledge into Large Language Models through Additional Training

Kan Hatakeyama-Sato, Yasuhiko Igarashi, Shun Katakami, Yuta Nabae, Teruaki Hayakawa
12/6/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: KanHatakeyama/Additional-training-Llama2 (4 stars, MIT, last commit 2024-02-01).

Abstract

Through additional training, we explore embedding specialized scientific knowledge into the Llama 2 Large Language Model (LLM). Key findings reveal that effective knowledge integration requires reading texts from multiple perspectives, especially in instructional formats. We utilize text augmentation to tackle the scarcity of specialized texts, including style conversions and translations. Hyperparameter optimization proves crucial, with different size models (7b, 13b, and 70b) reasonably undergoing additional training. Validating our methods, we construct a dataset of 65,000 scientific papers. Although we have succeeded in partially embedding knowledge, the study highlights the complexities and limitations of incorporating specialized information into LLMs, suggesting areas for further improvement.

View on arXivView PDF

Code Implementations(1)

MIT
40Python, Jupyter NotebookNov 27, 20232 years agoMIT

Similar Papers

Cite this paper

@article{hatakeyamasato2023teaching,
  title  = {Teaching Specific Scientific Knowledge into Large Language Models through Additional Training},
  author = {Kan Hatakeyama-Sato and Yasuhiko Igarashi and Shun Katakami and Yuta Nabae and Teruaki Hayakawa},
  year   = {2023},
  eprint = {2312.03360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.03360v2}
}

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/2312.03360.svg)](https://codeofpaper.com/paper/2312.03360)

Discussion