CoolFace
Modelpublic

Clover-Hill/MemoryDecoder-Llama-biomed

sourceHugging Faceapache-2.0updated 11mo agoView on Hugging Face
0likes9downloads
Model Card

Model Description

This Memory Decoder model is trained on the Biomedical domain and can be adapted to enhance any model in the Llama3, Llama3.1, and Llama3.2 families.

[!IMPORTANT] These Llama models are initialized from Qwen models with the embedding layer adapted to fit the Llama tokenizer. This enables efficient cross-model family knowledge transfer.

Paper: Memory Decoder: A Pretrained, Plug-and-Play Memory for Large Language Models

GitHub: https://github.com/LUMIA-Group/MemoryDecoder

Training & Evaluation Data

Biomedical Domain Dataset: mimic_iii_diagnosis_anonymous

Test Split: MemoryDecoder-domain-data

Performance Results

Llama3 Family

ModelBase ModelBase + MemDec
Llama3-8B7.953.92
Llama3-70B5.923.74

Llama3.1 Family

ModelBase ModelBase + MemDec
Llama3.1-8B7.823.91
Llama3.1-70B5.853.73

Llama3.2 Family

ModelBase ModelBase + MemDec
Llama3.2-1B12.814.06
Llama3.2-3B9.833.99

Perplexity scores on Biomedical domain test set. Lower is better.

Citation

bibtex
@article{cao2025memory,
  title={Memory decoder: A pretrained, plug-and-play memory for large language models},
  author={Cao, Jiaqi and Wang, Jiarui and Wei, Rubin and Guo, Qipeng and Chen, Kai and Zhou, Bowen and Lin, Zhouhan},
  journal={arXiv preprint arXiv:2508.09874},
  year={2025}
}

Contact

For questions and support: maximus.cao@outlook.com