--- license: cc-by-nc-4.0 language: - en tags: - elden-ring - question-answering - gaming - domain-specific - instruction-tuning - fromsoft size_categories: - 1K= 3: train_idx.extend(indices[:n_train]) val_idx.extend(indices[n_train:n_train + n_val]) test_idx.extend(indices[n_train + n_val:]) elif n == 2: train_idx.append(indices[0]) val_idx.append(indices[1]) else: train_idx.append(indices[0]) return train_idx, val_idx, test_idx ``` ## Data Sources | Source | Type | Content | |--------|------|---------| | [Kaggle — Ultimate Elden Ring with Shadow of the Erdtree DLC](https://www.kaggle.com/datasets/pedroaltobelli/ultimate-elden-ring-with-shadow-of-the-erdtree-dlc) | 12 CSVs | Weapons (402), bosses (153), armors (723), NPCs (109), locations (286), sorceries (84), incantations (129), creatures (205), skills (257), ashes of war (117) | | Kaggle — Elden Ring Boss Stats | 1 CSV | Boss damage negation, status resistances, stance, defense (142 bosses) | | Kaggle — Elden Ring Weapons | 1 CSV | Weapon scaling grades, base damage breakdown (307 weapons) | | [GitHub — Impalers-Archive](https://github.com/ividyon/Impalers-Archive) | HTML | Shadow of the Erdtree DLC text dump | | [GitHub — Carian-Archive](https://github.com/AsteriskAmpersand/Carian-Archive) | HTML | Base game text dump | ## Construction Pipeline ``` extract_lore.py → master_lore.json (HTML lore extraction) ↓ fuse_data.py → elden_ring_enriched.json (Data fusion + cross-referencing) ↓ generate_qa.py → elden_ring_final_train.jsonl (QA pair generation) ``` ### Key Pipeline Features - **Fuzzy name matching** across sources using `difflib` (0.75 cutoff) - **Nested data parsing** of string-encoded dicts/lists via `ast.literal_eval` - **Boss vulnerability analysis:** Determines physical weakness (lowest damage negation), ranks status vulnerabilities by base resistance, and cross-references weapon index for per-build recommendations - **Weapon indexing:** Groups weapons by damage type, status effect, category, and primary scaling stat - **Location cross-referencing:** Reverse lookups from locations to bosses, NPCs, creatures ## Unique Features ### Boss Vulnerability → Weapon Recommendations Each boss entry includes programmatically generated weapon recommendations distributed across 5 build archetypes: - **Strength** — weapons with high Str scaling matching boss weakness - **Dexterity** — weapons with high Dex scaling matching boss weakness - **Intelligence** — weapons with high Int scaling matching boss weakness - **Faith** — weapons with high Fai scaling matching boss weakness - **Arcane** — weapons with high Arc scaling matching boss weakness Recommendations are scored by: 1. Status effect match weighted by boss resistance (lower resistance = higher score) 2. Physical damage type match weighted by boss negation difference 3. Weapons appearing in both status AND physical match score highest ### Status Vulnerability Ranking Boss status resistances like `"290 / 332 / 430 / 720"` are parsed and ranked. Lower base resistance = more effective. For example, Mohg has Hemorrhage resistance of 290 vs Scarlet Rot at 653, so Bleed weapons are prioritized in recommendations. ## Limitations 1. **Lore coverage:** ~40% of entities have matched lore from HTML archives; rest use CSV descriptions 2. **DLC weapon scaling:** `elden_ring_weapon.csv` covers base game only; DLC weapons may lack scaling data 3. **Elemental weakness:** Boss stats CSV does not include elemental damage negation — only physical types 4. **Resistance parsing:** Some bosses have `"????"` resistance values, treated as immune 5. **Recommendation scope:** Based on damage type + status + scaling only, not moveset or player skill ## Citation ```bibtex @misc{eldenring-qa-dataset-2026, author = {ArenaRune}, title = {Elden Ring QA Dataset}, year = {2026}, publisher = {HuggingFace}, url = {https://huggingface.co/datasets/ArenaRune/elden-ring-qa-dataset} } ``` ## License Dataset construction code and QA generation are provided under CC-BY-NC-4.0. Game data, lore text, and item descriptions are the property of FromSoftware / Bandai Namco Entertainment. Source datasets are subject to their respective Kaggle and GitHub licenses.