taoszhang commited on
Commit
a20a5e5
·
verified ·
1 Parent(s): 6eb3bbe

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ image/image_corpus.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ image/CLIP_Flat.index filter=lfs diff=lfs merge=lfs -text
63
+ text/text_corpus.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ text/e5_Flat.index filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: MMhops-KB
3
+ language:
4
+ - en
5
+ license: other
6
+ ---
7
+
8
+ # MMhops-KB
9
+
10
+ MMhops-KB contains the minimal text and image retrieval databases used by
11
+ [MMhops-R1](https://github.com/taoszhang/MMhops-R1). The JSONL row ID is the
12
+ corresponding row ID in its FAISS index.
13
+
14
+ ## Files
15
+
16
+ ```text
17
+ MMhops-KB/
18
+ ├── text/
19
+ │ ├── e5_Flat.index
20
+ │ └── text_corpus.jsonl
21
+ └── image/
22
+ ├── CLIP_Flat.index
23
+ └── image_corpus.jsonl
24
+ ```
25
+
26
+ - `text/text_corpus.jsonl` contains 904,790 chunked Wikipedia passages as
27
+ `{"id": "0", "contents": "title\npassage"}`.
28
+ - `image/image_corpus.jsonl` contains 96,110 indexed entities as
29
+ `{"id": 0, "title": "...", "entity_id": "Q...", "image_path": "..."}`.
30
+
31
+ ## Retrieval configuration
32
+
33
+ The text index uses `intfloat/e5-base-v2`, 768-dimensional mean-pooled
34
+ embeddings, and FAISS Flat inner-product search. The image index uses OpenAI
35
+ CLIP `ViT-L/14@336px`, 768 dimensions, and Flat inner-product search. Each
36
+ indexed image vector combines normalized image and title-text features with
37
+ weights 0.5 and 0.5.
38
+
39
+ Model weights are external dependencies and are not duplicated here.
40
+
41
+ ## Upstream images
42
+
43
+ Image bytes are not redistributed. `image_path` points into
44
+ `wikipedia_images_full/` in the gated OVEN snapshot
45
+ [`ychenNLP/oven/all_wikipedia_images.tar`](https://huggingface.co/datasets/ychenNLP/oven/blob/main/all_wikipedia_images.tar).
46
+ After accepting the upstream access conditions, download it with:
47
+
48
+ ```bash
49
+ hf download ychenNLP/oven all_wikipedia_images.tar \
50
+ --repo-type dataset --local-dir .
51
+ tar -xzf all_wikipedia_images.tar
52
+ ```
53
+
54
+ The archive is gzip-compressed despite its `.tar` suffix. Raw images are not
55
+ needed to serve the prebuilt image index; they are only needed to inspect or
56
+ rebuild the database.
57
+
58
+ ## Sources and licenses
59
+
60
+ The passage corpus is derived from English Wikipedia and remains subject to
61
+ Wikipedia's applicable reuse terms. The image snapshot remains governed by its
62
+ upstream OVEN/Wikimedia terms. The MMhops-R1 software license does not replace
63
+ those upstream content licenses.
64
+
65
+ ## Citation
66
+
67
+ ```bibtex
68
+ @misc{zhang2025mmhopsr1,
69
+ title={MMhops-R1: Multimodal Multi-hop Reasoning},
70
+ author={Tao Zhang and Ziqi Zhang and Zongyang Ma and Yuxin Chen and Bing Li and Chunfeng Yuan and Guangting Wang and Fengyun Rao and Ying Shan and Weiming Hu},
71
+ year={2025},
72
+ eprint={2512.13573},
73
+ archivePrefix={arXiv},
74
+ primaryClass={cs.CV}
75
+ }
76
+ ```
image/CLIP_Flat.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b54f0d032e03f363d3e9e5d8252dbd037bc78c522a9f5f1339af943a20cfe864
3
+ size 295249965
image/image_corpus.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12fce913d12bbf329d6a2c034dc6268d73b5e0d959ba2dfe85414faa36ec4e43
3
+ size 12322476
text/e5_Flat.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:513cb8114db2402b4c82c2227b4d8f1f76992ab7aea2a41690af1f3c971b8cc6
3
+ size 2779514925
text/text_corpus.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc50cc6b8b55c87ee826ddf4016323e3111ea6a6313b07304317a651eccca372
3
+ size 739872188