diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..faa9dec13cccab4240e738d55e3d38d0f6f3a594 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,61 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.avro filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.lz4 filter=lfs diff=lfs merge=lfs -text +*.mds filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +# Audio files - uncompressed +*.pcm filter=lfs diff=lfs merge=lfs -text +*.sam filter=lfs diff=lfs merge=lfs -text +*.raw filter=lfs diff=lfs merge=lfs -text +# Audio files - compressed +*.aac filter=lfs diff=lfs merge=lfs -text +*.flac filter=lfs diff=lfs merge=lfs -text +*.mp3 filter=lfs diff=lfs merge=lfs -text +*.ogg filter=lfs diff=lfs merge=lfs -text +*.wav filter=lfs diff=lfs merge=lfs -text +# Image files - uncompressed +*.bmp filter=lfs diff=lfs merge=lfs -text +*.gif filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.tiff filter=lfs diff=lfs merge=lfs -text +# Image files - compressed +*.jpg filter=lfs diff=lfs merge=lfs -text +*.jpeg filter=lfs diff=lfs merge=lfs -text +*.webp filter=lfs diff=lfs merge=lfs -text +# Video files - compressed +*.mp4 filter=lfs diff=lfs merge=lfs -text +*.webm filter=lfs diff=lfs merge=lfs -text +margit/meta_data.jsonl filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5d54f73fcc30625aa18dcdc1edd5214496ddfcef --- /dev/null +++ b/README.md @@ -0,0 +1,195 @@ +--- +license: other +language: +- en +task_categories: +- video-classification +- video-text-to-text +- text-generation +tags: +- video-captioning +- action-recognition +- game-video +- elden-ring +- incantation +pretty_name: Incantation Elden Ring Combat Captions +viewer: true +configs: +- config_name: margit + data_files: + - split: train + path: margit/meta_data.jsonl +- config_name: crucible_knight + data_files: + - split: train + path: crucible_knight/meta_data.jsonl +--- + +# Incantation Elden Ring Combat Captions + +> **Preview subset.** This repository is an early public preview and reference subset of the **Incantation** dataset. It is provided to document the data format, annotation style, and initial training material ahead of the full paper/project release. It should not be interpreted as the final dataset, the complete benchmark, or the full data scale used by the paper. + +This dataset contains manually collected Elden Ring combat clips paired with structured, action-oriented metadata for player-boss interactions. The current preview release focuses on the Tarnished player character fighting Margit and Crucible Knight-style enemies. + +The data is intended to support research on controllable video generation, interactive world models, game-agent training, video-language grounding, and multi-entity action understanding. In our internal tests, this preview subset is already sufficient to train a reasonably strong interactive video generation model. The full paper-scale results, however, use a larger dataset and training pipeline. + +## Release Scope + +This repository is a **preview subset**, not the complete Incantation dataset. It is released to make the data format, annotation style, and initial training material available before the full project release. The current files are intended for reproducibility checks, prototyping, and community reference, while the larger-scale release will expand both the number of worlds and the number of Elden Ring bosses. + +Planned future releases include: + +- A GitHub repository with data preparation, loading, and evaluation scripts. +- Paper link, project page, and citation information. +- Larger-scale Elden Ring data covering more bosses and richer action distributions. +- The King of Fighters data used for cross-world experiments. +- Model checkpoints and benchmark scripts, subject to release constraints. + +## Manual Collection Statement + +All clips in this release were collected, filtered, organized, and reviewed through human-driven workflows. They are not the result of indiscriminate web scraping. The collection process emphasizes combat segments with visible player-boss interaction and usable action structure. + +The current annotations are designed as research metadata rather than final polished captions. Some rows may still be marked as unverified while remaining useful for training, filtering, and prototyping. + +## Intended Uses + +This dataset may be useful for: + +- Training interactive video generation models conditioned on action or language descriptions. +- Training multi-entity world models under a single shared camera. +- Training or evaluating game agents from video-action trajectories. +- Studying temporal action grounding, combat event parsing, and video captioning. +- Prototyping language-based control interfaces for game-world or embodied agents. + +The dataset is not intended for commercial redistribution of game assets, impersonation of official game content, or use as a complete benchmark of Elden Ring gameplay. + +## Dataset Layout + +```text +margit/ + meta_data.jsonl + videos/ + *.mp4 +crucible_knight/ + meta_data.jsonl + videos/ + *.mp4 +``` + +Current contents: + +- `margit/meta_data.jsonl`: 729 rows. +- `margit/videos/`: 729 MP4 clips referenced by the Margit metadata. +- `crucible_knight/meta_data.jsonl`: 340 rows. +- `crucible_knight/videos/`: 340 MP4 clips referenced by the Crucible Knight metadata. + +These files are only a portion of the planned public data. They are representative of the annotation schema and training signal, but not exhaustive in boss coverage, action vocabulary, or world coverage. + +The layout is intentionally scene-centric so new bosses, worlds, caption variants, and evaluation splits can be added without changing the existing structure. + +## Metadata Schema + +Each JSONL row describes one video clip. The common fields are: + +- `video`: Source video filename. The corresponding file is stored under the scene's `videos/` directory. +- `verified`: Whether the annotation has been manually verified. +- `prompt.scene_clarity`: Coarse scene quality label. +- `prompt.global_caption`: Clip-level summary, visible objects, and time range. +- `prompt.participants`: Per-entity timelines for the player and boss. +- `prompt.participants.*.timeline`: Temporally ordered action segments with start/end times, action captions, and interaction flags. +- `statistics`: Derived counts and interaction indicators. +- `context_used`: Whether contextual information was used while preparing the annotation. + +A simplified row has the following shape: + +```json +{ + "video": "20260117_180710_0.mp4", + "verified": false, + "prompt": { + "scene_clarity": "Clear", + "global_caption": { + "short_caption": "Action sequence: ...", + "long_caption": "The clip shows the character performing: ...", + "visible_objects": ["Tarnished", "Boss", "Environment"], + "start_time": 0.0, + "end_time": 23.0 + }, + "participants": { + "person_1": { + "short_description": "Tarnished character.", + "timeline": [ + { + "start_time": 0.0, + "end_time": 2.5, + "short_caption": "Charge forward", + "long_caption": "person_1 performs Charge forward.", + "is_interaction": false, + "interaction_with": [] + } + ] + }, + "boss_1": { + "short_description": "Boss character.", + "timeline": [ + { + "start_time": 3.75, + "end_time": 6.0, + "short_caption": "Staff upswing", + "long_caption": "boss_1 performs Staff upswing.", + "is_interaction": true, + "interaction_with": ["person_1"] + } + ] + } + } + }, + "statistics": { + "max_events_count": 11, + "has_boss_interaction": true + }, + "context_used": true +} +``` + +## Loading + +Individual configurations can be loaded with `datasets`: + +```python +from datasets import load_dataset + +margit = load_dataset("zhush/incantation-elden-ring-scenes", "margit") +crucible_knight = load_dataset("zhush/incantation-elden-ring-scenes", "crucible_knight") +``` + +The `video` field stores the filename. To access the actual MP4 file, join it with the corresponding scene directory, for example `margit/videos/