Clover-Hill commited on
Commit
72e2e56
·
verified ·
1 Parent(s): 33b5b2e

Update README.md

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