Understand the LongMemEval dataset format
mainThe dataset contains three main files:
longmemeval_s.json: Small scale (approx. 40 history sessions, ~115k tokens).longmemeval_m.json: Medium scale (approx. 500 sessions).longmemeval_oracle.json: Oracle retrieval version (only contains evidence sessions).
Each instance in the JSON files contains:
question_id: Unique identifier.question_type: One ofsingle-session-user,single-session-assistant,single-session-preference,temporal-reasoning,knowledge-update, andmulti-session. (Note: ifquestion_idends in_abs, it is anabstentiontype).question: The question text.answer: The ground truth answer.question_date: Date of the question.haystack_session_ids: List of session IDs in the history.haystack_dates: Timestamps for the history sessions.haystack_sessions: The chat history. A list of sessions, where each session is a list of turns:{"role": "user"|"assistant", "content": "..."}. Turns with required evidence include"has_answer": true.answer_session_ids: List of session IDs containing the evidence.