menglinzhou commited on
Commit
a080cfc
·
verified ·
1 Parent(s): 1700326

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -16,6 +16,20 @@ tags:
16
 
17
  # MS2LLM-8B-LoRA
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  MS2LLM is a chemistry-oriented large language model designed to translate tandem mass spectrometry (MS/MS) data into interpretable molecular descriptions.
20
 
21
  The model is based on **ChemDFM-v1.5-8B** and fine-tuned using **LoRA (Low-Rank Adaptation)** for MS/MS interpretation. Instead of reconstructing an exact molecular structure, MS2LLM generates chemically meaningful structural semantics, including molecular scaffolds, functional groups, molecular features, and chemical taxonomy.
@@ -31,6 +45,24 @@ The model is based on **ChemDFM-v1.5-8B** and fine-tuned using **LoRA (Low-Rank
31
  > This repository contains the **LoRA adapter weights** of MS2LLM.
32
  > The ChemDFM-v1.5-8B base model is required for inference.
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ## Limitations
36
 
 
16
 
17
  # MS2LLM-8B-LoRA
18
 
19
+
20
+ **MS2LLM:** 基于化学领域大语言模型 **ChemDFM-v1.5-8B** 构建,并通过 LoRA 进行质谱领域指令微调。模型将串联质谱(MS/MS)解析建模为“质谱到分子语义”的翻译任务,可综合利用碎片峰、前体离子、分子式以及 DeepMASS 检索得到的结构相似分子等信息,生成可解释的分子描述,包括整体分子骨架、官能团及分子特征,并进行化学类别预测。
21
+
22
+ MS2LLM 不以直接恢复唯一、完整的分子结构为目标,而是从 MS/MS 中提取具有化学意义的结构语义,可用于未知化合物注释、非靶向代谢组学和天然产物分析等任务。
23
+
24
+ **模型权重:** `menglinzhou/MS2LLM-8B-LoRA`
25
+ **代码:** https://github.com/menglinzhou-bio/MS2LLM
26
+ **论文:** *Can Large Language Models Translate MS/MS into Molecular Caption?*
27
+ **DOI:** 10.1021/acs.analchem.6c02505
28
+
29
+ ---
30
+
31
+ ## English Introduction
32
+
33
  MS2LLM is a chemistry-oriented large language model designed to translate tandem mass spectrometry (MS/MS) data into interpretable molecular descriptions.
34
 
35
  The model is based on **ChemDFM-v1.5-8B** and fine-tuned using **LoRA (Low-Rank Adaptation)** for MS/MS interpretation. Instead of reconstructing an exact molecular structure, MS2LLM generates chemically meaningful structural semantics, including molecular scaffolds, functional groups, molecular features, and chemical taxonomy.
 
45
  > This repository contains the **LoRA adapter weights** of MS2LLM.
46
  > The ChemDFM-v1.5-8B base model is required for inference.
47
 
48
+ ## Inference
49
+
50
+ This repository provides the **LoRA adapter weights** of MS2LLM.
51
+ The **ChemDFM-v1.5-8B** base model is required for inference.
52
+
53
+ For reproducible inference, input formatting, and evaluation, please use the official inference scripts and configurations provided in the MS2LLM GitHub repository:
54
+
55
+ **GitHub:** https://github.com/menglinzhou-bio/MS2LLM
56
+
57
+ The repository provides:
58
+
59
+ - inference script: `scripts/inference_lora.py`
60
+ - inference configuration: `configs/inference_lora.yaml`
61
+ - example input: `examples/example_questions.json`
62
+ - example output: `examples/example_predictions.jsonl`
63
+
64
+ Please follow the official input format and inference configuration when evaluating MS2LLM. Using different input formats, prompts, or generation settings may lead to results that differ from those reported in the paper.
65
+
66
 
67
  ## Limitations
68