FelipeRochaMartins commited on
Commit
045f7b1
·
verified ·
1 Parent(s): 738a10e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -1
README.md CHANGED
@@ -26,4 +26,87 @@ tags:
26
  pretty_name: Soulslike Wiki Scrapping
27
  size_categories:
28
  - 1K<n<10K
29
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  pretty_name: Soulslike Wiki Scrapping
27
  size_categories:
28
  - 1K<n<10K
29
+ ---
30
+
31
+ # Soulslike Wiki Knowledge Base (RAG Corpus)
32
+
33
+ ## Dataset Description
34
+ This dataset contains structured text scraped from public wikis (primarily Fextralife) covering major "Soulslike" games developed by FromSoftware. It is designed to serve as a **Knowledge Base for RAG (Retrieval-Augmented Generation)** systems, fine-tuning LLMs, or game analytics.
35
+
36
+ The current release is stored as a hierarchical JSON where:
37
+
38
+ ```
39
+ {
40
+ "<Project/Game>": {
41
+ "<PageSlug>": {
42
+ "meta": {...},
43
+ "data": {...}
44
+ }
45
+ }
46
+ }
47
+ ```
48
+
49
+ - **Curated content:** Irrelevant pages (calculators, login screens, forums) have been filtered out.
50
+ - **Format:** JSON snapshots uploaded under `FelipeRochaMartins/SoulsWikiScrapping` (compatible with Hugging Face `datasets`).
51
+ - **Games Covered:** Elden Ring (including Shadow of the Erdtree & Nightreign), Dark Souls Trilogy, Bloodborne, Sekiro, Demon's Souls.
52
+
53
+ ## Dataset Structure
54
+
55
+ ### Data Fields
56
+ Each page entry is stored beneath its parent project using two top-level keys:
57
+
58
+ - `meta`: Metadata about the page.
59
+ - `url`: Source URL.
60
+ - `project`: Game identifier (e.g., `Bloodborne`).
61
+ - `data`: Scraped content payload.
62
+ - `title`: Human-readable title (e.g., "1st Floor Sickroom | Bloodborne Wiki").
63
+ - `content`: Raw text extracted from the wiki body.
64
+
65
+ > **Note:** In the JSON snapshot the keys inside each project omit the `.json` suffix (e.g., `"1st_Floor_Sickroom"`). When importing back to `data/raw`, the loader automatically restores the `.json` extension.
66
+
67
+ ### Example Instance
68
+
69
+ ```
70
+ {
71
+ "Bloodborne": {
72
+ "1st_Floor_Sickroom": {
73
+ "meta": {
74
+ "url": "https://bloodborne.wiki.fextralife.com/1st+Floor+Sickroom",
75
+ "project": "Bloodborne"
76
+ },
77
+ "data": {
78
+ "title": "1st Floor Sickroom | Bloodborne Wiki",
79
+ "content": "1st Floor Sickroom is the tutorial area of Bloodborne..."
80
+ }
81
+ }
82
+ }
83
+ }
84
+ ```
85
+
86
+ ## Usage
87
+
88
+ ### How to load in Python
89
+
90
+ ```
91
+ from datasets import load_dataset
92
+
93
+ dataset = load_dataset("FelipeRochaMartins/SoulsWikiScrapping", data_files="latest.json")
94
+ payload = dataset["train"][0]
95
+
96
+ # Access a project + page pair
97
+ bloodborne = payload["Bloodborne"]
98
+ first_page = bloodborne["1st_Floor_Sickroom"]
99
+ print(first_page["data"]["title"])
100
+ ```
101
+
102
+ ## Source & Licensing
103
+ **Source:** The data was scraped from [Fextralife Wiki](https://wiki.fextralife.com/).
104
+ **License:** This dataset is distributed under the **CC BY-NC-SA 4.0** license (Creative Commons Attribution-NonCommercial-ShareAlike), consistent with the licensing terms of the source wikis.
105
+
106
+ - **Attribution:** All narrative content belongs to **FromSoftware** and the respective wiki contributors.
107
+ - **Non-Commercial:** This dataset should not be used for commercial purposes without permission from the copyright holders.
108
+
109
+ ## Intended Use
110
+ - **RAG Systems:** Building a chatbot that answers questions about Elden Ring/Bloodborne/Dark Souls/Sekiro/Demon's Souls lore.
111
+ - **Lore Analysis:** Analyzing entity relationships (e.g., "Which NPCs are related to Miquella?").
112
+ - **Style Transfer:** Training models to write in the archaic/fantasy style of Hidetaka Miyazaki.