Clover-Hill commited on
Commit
1899286
·
verified ·
1 Parent(s): ccc44fd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -3
README.md CHANGED
@@ -1,3 +1,64 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - pyt
5
+ base_model:
6
+ - Qwen/Qwen2.5-0.5B
7
+ ---
8
+
9
+ ## Model Description
10
+
11
+ This Memory Decoder model is trained on the Law domain and can be adapted to enhance any model in the Llama3, Llama3.1, and Llama3.2 families.
12
+
13
+ > [!IMPORTANT]
14
+ > 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.
15
+
16
+ **Paper:** [Memory Decoder: A Pretrained, Plug-and-Play Memory for Large Language Models](https://www.arxiv.org/abs/2508.09874)
17
+
18
+ **GitHub:** [https://github.com/LUMIA-Group/MemoryDecoder](https://github.com/LUMIA-Group/MemoryDecoder/tree/main)
19
+
20
+ ## Training & Evaluation Data
21
+
22
+ **Law Domain Dataset:** [AsyLex](https://huggingface.co/datasets/clairebarale/AsyLex)
23
+
24
+ **Test Split:** [MemoryDecoder-domain-data](https://huggingface.co/datasets/Clover-Hill/MemoryDecoder-domain-data)
25
+
26
+ ## Performance Results
27
+
28
+ ### Llama3 Family
29
+
30
+ | Model | Base Model | Base + MemDec |
31
+ |-------|------------|---------------|
32
+ | Llama3-8B | 5.96 | 4.46 |
33
+ | Llama3-70B | 4.90 | 4.07 |
34
+
35
+ ### Llama3.1 Family
36
+
37
+ | Model | Base Model | Base + MemDec |
38
+ |-------|------------|---------------|
39
+ | Llama3.1-8B | 5.88 | 4.42 |
40
+ | Llama3.1-70B | 4.89 | 4.06 |
41
+
42
+ ### Llama3.2 Family
43
+
44
+ | Model | Base Model | Base + MemDec |
45
+ |-------|------------|---------------|
46
+ | Llama3.2-1B | 8.23 | 5.11 |
47
+ | Llama3.2-3B | 6.83 | 4.76 |
48
+
49
+ *Perplexity scores on Law domain test set. Lower is better.*
50
+
51
+ ## Citation
52
+
53
+ ```bibtex
54
+ @article{cao2025memory,
55
+ title={Memory decoder: A pretrained, plug-and-play memory for large language models},
56
+ author={Cao, Jiaqi and Wang, Jiarui and Wei, Rubin and Guo, Qipeng and Chen, Kai and Zhou, Bowen and Lin, Zhouhan},
57
+ journal={arXiv preprint arXiv:2508.09874},
58
+ year={2025}
59
+ }
60
+ ```
61
+
62
+ ## Contact
63
+
64
+ For questions and support: [email protected]