Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
License:
LongMemEval / README.md
Samoed's picture
Add dataset card
9dc1a8f verified
---
annotations_creators:
- derived
language:
- eng
license: mit
multilinguality: monolingual
source_datasets:
- KaLM-Embedding/LMEB
task_categories:
- text-retrieval
task_ids:
- multiple-choice-qa
dataset_info:
- config_name: knowledge_update-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: knowledge_update-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 7745
num_examples: 156
download_size: 3767
dataset_size: 7745
- config_name: knowledge_update-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 6745
num_examples: 78
download_size: 5521
dataset_size: 6745
- config_name: knowledge_update-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 919914
num_examples: 78
download_size: 920781
dataset_size: 919914
- config_name: multi_session-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: multi_session-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 17122
num_examples: 344
download_size: 5781
dataset_size: 17122
- config_name: multi_session-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 12130
num_examples: 133
download_size: 8096
dataset_size: 12130
- config_name: multi_session-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 1572054
num_examples: 133
download_size: 1572496
dataset_size: 1572054
- config_name: single_session_assistant-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: single_session_assistant-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 2658
num_examples: 56
download_size: 2615
dataset_size: 2658
- config_name: single_session_assistant-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 11733
num_examples: 56
download_size: 7958
dataset_size: 11733
- config_name: single_session_assistant-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 630634
num_examples: 56
download_size: 631737
dataset_size: 630634
- config_name: single_session_preference-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: single_session_preference-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 1498
num_examples: 30
download_size: 2264
dataset_size: 1498
- config_name: single_session_preference-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 3069
num_examples: 30
download_size: 3348
dataset_size: 3069
- config_name: single_session_preference-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 352840
num_examples: 30
download_size: 354067
dataset_size: 352840
- config_name: single_session_user-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: single_session_user-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 3391
num_examples: 70
download_size: 2896
dataset_size: 3391
- config_name: single_session_user-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 4768
num_examples: 70
download_size: 4300
dataset_size: 4768
- config_name: single_session_user-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 803273
num_examples: 70
download_size: 804256
dataset_size: 803273
- config_name: temporal_reasoning-corpus
features:
- name: id
dtype: string
- name: text
dtype: string
- name: title
dtype: string
splits:
- name: test
num_bytes: 325306679
num_examples: 237655
download_size: 164440071
dataset_size: 325306679
- config_name: temporal_reasoning-qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
- name: score
dtype: int64
splits:
- name: test
num_bytes: 14524
num_examples: 292
download_size: 5367
dataset_size: 14524
- config_name: temporal_reasoning-queries
features:
- name: id
dtype: string
- name: text
dtype: string
splits:
- name: test
num_bytes: 14451
num_examples: 133
download_size: 9286
dataset_size: 14451
- config_name: temporal_reasoning-top_ranked
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: test
num_bytes: 1566704
num_examples: 133
download_size: 1567152
dataset_size: 1566704
configs:
- config_name: knowledge_update-corpus
data_files:
- split: test
path: knowledge_update-corpus/test-*
- config_name: knowledge_update-qrels
data_files:
- split: test
path: knowledge_update-qrels/test-*
- config_name: knowledge_update-queries
data_files:
- split: test
path: knowledge_update-queries/test-*
- config_name: knowledge_update-top_ranked
data_files:
- split: test
path: knowledge_update-top_ranked/test-*
- config_name: multi_session-corpus
data_files:
- split: test
path: multi_session-corpus/test-*
- config_name: multi_session-qrels
data_files:
- split: test
path: multi_session-qrels/test-*
- config_name: multi_session-queries
data_files:
- split: test
path: multi_session-queries/test-*
- config_name: multi_session-top_ranked
data_files:
- split: test
path: multi_session-top_ranked/test-*
- config_name: single_session_assistant-corpus
data_files:
- split: test
path: single_session_assistant-corpus/test-*
- config_name: single_session_assistant-qrels
data_files:
- split: test
path: single_session_assistant-qrels/test-*
- config_name: single_session_assistant-queries
data_files:
- split: test
path: single_session_assistant-queries/test-*
- config_name: single_session_assistant-top_ranked
data_files:
- split: test
path: single_session_assistant-top_ranked/test-*
- config_name: single_session_preference-corpus
data_files:
- split: test
path: single_session_preference-corpus/test-*
- config_name: single_session_preference-qrels
data_files:
- split: test
path: single_session_preference-qrels/test-*
- config_name: single_session_preference-queries
data_files:
- split: test
path: single_session_preference-queries/test-*
- config_name: single_session_preference-top_ranked
data_files:
- split: test
path: single_session_preference-top_ranked/test-*
- config_name: single_session_user-corpus
data_files:
- split: test
path: single_session_user-corpus/test-*
- config_name: single_session_user-qrels
data_files:
- split: test
path: single_session_user-qrels/test-*
- config_name: single_session_user-queries
data_files:
- split: test
path: single_session_user-queries/test-*
- config_name: single_session_user-top_ranked
data_files:
- split: test
path: single_session_user-top_ranked/test-*
- config_name: temporal_reasoning-corpus
data_files:
- split: test
path: temporal_reasoning-corpus/test-*
- config_name: temporal_reasoning-qrels
data_files:
- split: test
path: temporal_reasoning-qrels/test-*
- config_name: temporal_reasoning-queries
data_files:
- split: test
path: temporal_reasoning-queries/test-*
- config_name: temporal_reasoning-top_ranked
data_files:
- split: test
path: temporal_reasoning-top_ranked/test-*
tags:
- mteb
- text
---
<!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
<div align="center" style="padding: 40px 20px; background-color: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); max-width: 600px; margin: 0 auto;">
<h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">LongMemEval</h1>
<div style="font-size: 1.5rem; color: #4a4a4a; margin-bottom: 5px; font-weight: 300;">An <a href="https://github.com/embeddings-benchmark/mteb" style="color: #2c5282; font-weight: 600; text-decoration: none;" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">MTEB</a> dataset</div>
<div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
</div>
LMEB dialogue-memory retrieval task based on LongMemEval, evaluating single-session, multi-session, preference, knowledge-update, and temporal queries.
| | |
|---------------|---------------------------------------------|
| Task category | Retrieval (text-to-text) |
| Domains | Social, Spoken |
| Reference | [LMEB: Long-horizon Memory Embedding Benchmark](https://huggingface.co/datasets/xiaowu0162/longmemeval-cleaned) |
Source datasets:
- [KaLM-Embedding/LMEB](https://huggingface.co/datasets/KaLM-Embedding/LMEB)
## How to evaluate on this task
You can evaluate an embedding model on this dataset using the following code:
```python
import mteb
task = mteb.get_task("LongMemEval")
model = mteb.get_model(YOUR_MODEL)
mteb.evaluate(model, task)
```
<!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
To learn more about how to run models on `mteb` task check out the [GitHub repository](https://github.com/embeddings-benchmark/mteb).
## Citation
If you use this dataset, please cite the dataset as well as [mteb](https://github.com/embeddings-benchmark/mteb), as this dataset likely includes additional processing as a part of the [MMTEB Contribution](https://github.com/embeddings-benchmark/mteb/tree/main/docs/mmteb).
```bibtex
@misc{zhao2026lmeb,
archiveprefix = {arXiv},
author = {Zhao, Xinping and Hu, Xinshuo and Xu, Jiaxin and Tang, Danyu and Zhang, Xin and Zhou, Mengjia and Zhong, Yan and Zhou, Yao and Shan, Zifei and Zhang, Meishan and Hu, Baotian and Zhang, Min},
eprint = {2603.12572},
primaryclass = {cs.CL},
title = {LMEB: Long-horizon Memory Embedding Benchmark},
url = {https://arxiv.org/abs/2603.12572},
year = {2026},
}
@article{enevoldsen2025mmtebmassivemultilingualtext,
title={MMTEB: Massive Multilingual Text Embedding Benchmark},
author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
publisher = {arXiv},
journal={arXiv preprint arXiv:2502.13595},
year={2025},
url={https://arxiv.org/abs/2502.13595},
doi = {10.48550/arXiv.2502.13595},
}
@article{muennighoff2022mteb,
author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
title = {MTEB: Massive Text Embedding Benchmark},
publisher = {arXiv},
journal={arXiv preprint arXiv:2210.07316},
year = {2022}
url = {https://arxiv.org/abs/2210.07316},
doi = {10.48550/ARXIV.2210.07316},
}
```
# Dataset Statistics
<details>
<summary> Dataset Statistics</summary>
The following code contains the descriptive statistics from the task. These can also be obtained using:
```python
import mteb
task = mteb.get_task("LongMemEval")
desc_stats = task.metadata.descriptive_stats
```
```json
{
"test": {
"num_samples": 1426430,
"number_of_characters": 1904329451,
"documents_text_statistics": {
"total_text_length": 1904286948,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 42503,
"min_text_length": 21,
"average_text_length": 85.006,
"max_text_length": 355,
"unique_texts": 500
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 948,
"min_relevant_docs_per_query": 1,
"average_relevant_docs_per_query": 1.896,
"max_relevant_docs_per_query": 6,
"unique_relevant_docs": 948
},
"top_ranked_statistics": {
"num_top_ranked": 237655,
"min_top_ranked_per_query": 460,
"average_top_ranked_per_query": 475.31,
"max_top_ranked_per_query": 490
},
"hf_subset_descriptive_stats": {
"knowledge_update": {
"num_samples": 237733,
"number_of_characters": 317386265,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 5107,
"min_text_length": 31,
"average_text_length": 65.47435897435898,
"max_text_length": 123,
"unique_texts": 78
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 156,
"min_relevant_docs_per_query": 2,
"average_relevant_docs_per_query": 2.0,
"max_relevant_docs_per_query": 2,
"unique_relevant_docs": 156
},
"top_ranked_statistics": {
"num_top_ranked": 37068,
"min_top_ranked_per_query": 460,
"average_top_ranked_per_query": 475.2307692307692,
"max_top_ranked_per_query": 488
}
},
"multi_session": {
"num_samples": 237788,
"number_of_characters": 317390495,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 9337,
"min_text_length": 33,
"average_text_length": 70.203007518797,
"max_text_length": 166,
"unique_texts": 133
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 344,
"min_relevant_docs_per_query": 2,
"average_relevant_docs_per_query": 2.5864661654135337,
"max_relevant_docs_per_query": 5,
"unique_relevant_docs": 344
},
"top_ranked_statistics": {
"num_top_ranked": 63345,
"min_top_ranked_per_query": 461,
"average_top_ranked_per_query": 476.2781954887218,
"max_top_ranked_per_query": 489
}
},
"single_session_assistant": {
"num_samples": 237711,
"number_of_characters": 317391780,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 10622,
"min_text_length": 100,
"average_text_length": 189.67857142857142,
"max_text_length": 355,
"unique_texts": 56
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 56,
"min_relevant_docs_per_query": 1,
"average_relevant_docs_per_query": 1.0,
"max_relevant_docs_per_query": 1,
"unique_relevant_docs": 56
},
"top_ranked_statistics": {
"num_top_ranked": 26681,
"min_top_ranked_per_query": 466,
"average_top_ranked_per_query": 476.44642857142856,
"max_top_ranked_per_query": 484
}
},
"single_session_preference": {
"num_samples": 237685,
"number_of_characters": 317383595,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 2437,
"min_text_length": 53,
"average_text_length": 81.23333333333333,
"max_text_length": 127,
"unique_texts": 30
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 30,
"min_relevant_docs_per_query": 1,
"average_relevant_docs_per_query": 1.0,
"max_relevant_docs_per_query": 1,
"unique_relevant_docs": 30
},
"top_ranked_statistics": {
"num_top_ranked": 14218,
"min_top_ranked_per_query": 465,
"average_top_ranked_per_query": 473.93333333333334,
"max_top_ranked_per_query": 481
}
},
"single_session_user": {
"num_samples": 237725,
"number_of_characters": 317384500,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 3342,
"min_text_length": 21,
"average_text_length": 47.74285714285714,
"max_text_length": 80,
"unique_texts": 70
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 70,
"min_relevant_docs_per_query": 1,
"average_relevant_docs_per_query": 1.0,
"max_relevant_docs_per_query": 1,
"unique_relevant_docs": 70
},
"top_ranked_statistics": {
"num_top_ranked": 33212,
"min_top_ranked_per_query": 461,
"average_top_ranked_per_query": 474.45714285714286,
"max_top_ranked_per_query": 486
}
},
"temporal_reasoning": {
"num_samples": 237788,
"number_of_characters": 317392816,
"documents_text_statistics": {
"total_text_length": 317381158,
"min_text_length": 54,
"average_text_length": 1335.4701479034736,
"max_text_length": 76624,
"unique_texts": 237654
},
"documents_image_statistics": null,
"documents_audio_statistics": null,
"queries_text_statistics": {
"total_text_length": 11658,
"min_text_length": 34,
"average_text_length": 87.65413533834587,
"max_text_length": 243,
"unique_texts": 133
},
"queries_image_statistics": null,
"queries_audio_statistics": null,
"relevant_docs_statistics": {
"num_relevant_docs": 292,
"min_relevant_docs_per_query": 1,
"average_relevant_docs_per_query": 2.1954887218045114,
"max_relevant_docs_per_query": 6,
"unique_relevant_docs": 292
},
"top_ranked_statistics": {
"num_top_ranked": 63131,
"min_top_ranked_per_query": 462,
"average_top_ranked_per_query": 474.6691729323308,
"max_top_ranked_per_query": 490
}
}
}
}
}
```
</details>
---
*This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*