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
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: MemFactory
|
| 3 |
+
license: cc-by-sa-4.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
task_categories:
|
| 7 |
+
- question-answering
|
| 8 |
+
tags:
|
| 9 |
+
- long-context
|
| 10 |
+
- evaluation
|
| 11 |
+
- question-answering
|
| 12 |
+
- multi-hop
|
| 13 |
+
- hotpotqa
|
| 14 |
+
- synthetic
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: eval_50
|
| 17 |
+
data_files:
|
| 18 |
+
- split: train
|
| 19 |
+
path: eval_50.json
|
| 20 |
+
- config_name: eval_100
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: eval_100.json
|
| 24 |
+
- config_name: converted_hotpotqa_2000
|
| 25 |
+
data_files:
|
| 26 |
+
- split: train
|
| 27 |
+
path: converted_hotpotqa_2000.json
|
| 28 |
+
- config_name: eval_fwe_16384
|
| 29 |
+
data_files:
|
| 30 |
+
- split: train
|
| 31 |
+
path: eval_fwe_16384.json
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
pretty_name: MemFactory
|
| 37 |
+
license: cc-by-sa-4.0
|
| 38 |
+
language:
|
| 39 |
+
- en
|
| 40 |
+
task_categories:
|
| 41 |
+
- question-answering
|
| 42 |
+
tags:
|
| 43 |
+
- long-context
|
| 44 |
+
- evaluation
|
| 45 |
+
- question-answering
|
| 46 |
+
- multi-hop
|
| 47 |
+
- hotpotqa
|
| 48 |
+
- synthetic
|
| 49 |
+
configs:
|
| 50 |
+
- config_name: eval_50
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: eval_50.json
|
| 54 |
+
- config_name: eval_100
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: eval_100.json
|
| 58 |
+
- config_name: converted_hotpotqa_2000
|
| 59 |
+
data_files:
|
| 60 |
+
- split: train
|
| 61 |
+
path: converted_hotpotqa_2000.json
|
| 62 |
+
- config_name: eval_fwe_16384
|
| 63 |
+
data_files:
|
| 64 |
+
- split: train
|
| 65 |
+
path: eval_fwe_16384.json
|
| 66 |
+
|
| 67 |
+
# MemFactory
|
| 68 |
+
|
| 69 |
+
## Overview
|
| 70 |
+
|
| 71 |
+
This repository provides a lightweight, derivative release of data used in **MemFactory**.
|
| 72 |
+
|
| 73 |
+
To evaluate the effectiveness of MemFactory, we reuse and adapt data from the upstream dataset:
|
| 74 |
+
|
| 75 |
+
- [`BytedTsinghua-SIA/hotpotqa`](https://huggingface.co/datasets/BytedTsinghua-SIA/hotpotqa)
|
| 76 |
+
|
| 77 |
+
This repository includes four JSON files:
|
| 78 |
+
|
| 79 |
+
- `eval_50.json`
|
| 80 |
+
- `eval_100.json`
|
| 81 |
+
- `eval_fwe_16384.json`
|
| 82 |
+
- `converted_hotpotqa_2000.json`
|
| 83 |
+
|
| 84 |
+
### Data Sources
|
| 85 |
+
|
| 86 |
+
- The three evaluation files are directly derived from the upstream HotpotQA-based release.
|
| 87 |
+
- The training file `converted_hotpotqa_2000.json` is a **locally adapted version** of the upstream training data, modified for MemFactory experiments.
|
| 88 |
+
|
| 89 |
+
For full dataset context, please refer to the upstream release:
|
| 90 |
+
- https://huggingface.co/datasets/BytedTsinghua-SIA/hotpotqa
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
## Limitations
|
| 96 |
+
|
| 97 |
+
- This is a **derivative redistribution**, not the original dataset.
|
| 98 |
+
- The data may inherit:
|
| 99 |
+
- annotation noise
|
| 100 |
+
- biases
|
| 101 |
+
- structural limitations
|
| 102 |
+
from the upstream sources.
|
| 103 |
+
- `eval_fwe_16384.json` follows a **different schema** from the QA-style files.
|
| 104 |
+
- For full documentation and broader coverage, users should consult the upstream dataset.
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## License
|
| 109 |
+
|
| 110 |
+
This repository is released under **CC BY-SA 4.0**.
|
| 111 |
+
|
| 112 |
+
**Reason:**
|
| 113 |
+
|
| 114 |
+
- The data is derived from the upstream HotpotQA-based dataset, which uses the same license.
|
| 115 |
+
- `converted_hotpotqa_2000.json` is an adapted derivative and must preserve share-alike terms.
|
| 116 |
+
|
| 117 |
+
If you use or redistribute this repository:
|
| 118 |
+
- Please retain attribution to the upstream source
|
| 119 |
+
- Preserve the same license
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
## Loading with 🤗 datasets
|
| 124 |
+
|
| 125 |
+
```python
|
| 126 |
+
from datasets import load_dataset
|
| 127 |
+
|
| 128 |
+
eval_50 = load_dataset("nworats/MemFactory", "eval_50", split="train")
|
| 129 |
+
eval_100 = load_dataset("nworats/MemFactory", "eval_100", split="train")
|
| 130 |
+
train_converted = load_dataset("nworats/MemFactory", "converted_hotpotqa_2000", split="train")
|
| 131 |
+
eval_fwe_16384 = load_dataset("nworats/MemFactory", "eval_fwe_16384", split="train")
|
| 132 |
+
````
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Citation
|
| 136 |
+
|
| 137 |
+
If you use this dataset, please cite:
|
| 138 |
+
|
| 139 |
+
### MemFactory (this work)
|
| 140 |
+
|
| 141 |
+
*(Placeholder – replace with your paper when available)*
|
| 142 |
+
|
| 143 |
+
```bibtex
|
| 144 |
+
@article{memfactory2025,
|
| 145 |
+
title={MemFactory: [Your Subtitle Here]},
|
| 146 |
+
author={Your Name et al.},
|
| 147 |
+
journal={arXiv preprint arXiv:XXXX.XXXXX},
|
| 148 |
+
year={2025}
|
| 149 |
+
}
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
### Upstream MemAgent work
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@article{yu2025memagent,
|
| 156 |
+
title={MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent},
|
| 157 |
+
author={Yu, Hongli and others},
|
| 158 |
+
journal={arXiv preprint arXiv:2507.02259},
|
| 159 |
+
year={2025}
|
| 160 |
+
}
|
| 161 |
+
```
|
| 162 |
+
|