スキル一覧に戻る
genomewalker

locomo-benchmark

by genomewalker

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: locomo-benchmark description: Run LoCoMo benchmark for long-term conversational memory execution: inline model: inherit aliases: [locomo, benchmark-memory]

LoCoMo Benchmark

Evaluate cc-soul's memory against the LoCoMo benchmark (ACL 2024) for long-term conversational memory.

Quick Start

Run the benchmark script:

# Test one conversation (default: conv-26)
python3 $PLUGIN_DIR/scripts/locomo-benchmark.py

# Test specific conversations
python3 $PLUGIN_DIR/scripts/locomo-benchmark.py conv-26 conv-30

# Full benchmark (all 10 conversations)
python3 $PLUGIN_DIR/scripts/locomo-benchmark.py --full

# Limit QA pairs per conversation
python3 $PLUGIN_DIR/scripts/locomo-benchmark.py --max-qa 20

Where $PLUGIN_DIR is /maps/projects/fernandezguerra/apps/repos/cc-soul (or installed plugin path).

What the Script Does

  1. Downloads LoCoMo data from GitHub to /tmp/locomo/ (if not present)
  2. Ingests conversations into cc-soul memory:
    • Extracts session summaries as observations
    • Creates triplets for speaker facts
    • Tags with sample_id for retrieval
  3. Evaluates QA pairs:
    • Retrieves context using chitta recall --tag {sample_id}
    • Calculates F1 score vs ground truth
  4. Reports results by category

Categories

CatNameDescription
1Multi-hopRequires connecting multiple facts
2Single-hopDirect fact retrieval
3TemporalDate/time questions
4Open-domainGeneral knowledge
5AdversarialShould answer "no information"

Baseline Scores (from paper)

ModelF1
Human ceiling87.9%
AutoMem90.5%
GPT-432.1%
GPT-3.523.7%
Mistral-7B13.9%

Data

  • Repository: https://github.com/snap-research/locomo
  • Local cache: /tmp/locomo/data/locomo10.json
  • 10 conversations, ~200 QA pairs each, ~35 sessions per conversation

Manual Execution

If you prefer to run manually:

# Ensure data exists
git clone https://github.com/snap-research/locomo /tmp/locomo

# Run benchmark
python3 /maps/projects/fernandezguerra/apps/repos/cc-soul/scripts/locomo-benchmark.py conv-26

Expected Output

=== LoCoMo Benchmark Results ===

Total QA Pairs: 50
Overall F1: XX.X%

By Category:
  Multi-hop (n=XX): XX.X%
  Single-hop (n=XX): XX.X%
  Temporal (n=XX): XX.X%
  Open-domain (n=XX): XX.X%
  Adversarial (n=XX): XX.X%

Per Conversation:
  conv-26: XX.X% (50 QA)

Comparison (from paper):
  Human ceiling: 87.9%
  GPT-4 baseline: 32.1%
  cc-soul: XX.X%

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です