DanielJeongsooLee commited on
Commit
58756d0
·
verified ·
1 Parent(s): 8be0481

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - adaptive-msc
5
+ - rag-dataset
6
+ - faiss
7
+ - retrieval
8
+ ---
9
+
10
+ # Adaptive MSC V7 Research Artifacts
11
+
12
+ This repository contains the datasets, retrieval indices, and experimental results for the Adaptive MSC V7 project.
13
+
14
+ ## Contents
15
+
16
+ ### 1. Labeled Datasets (`datasets/`)
17
+ Gold labels for MSC (sufficiency and importance) generated using teacher-labeling on HotpotQA, MuSiQue, 2WikiMultiHop, and MRAG.
18
+
19
+ ### 2. Retrieval System (`indices/`)
20
+ Full retrieval-ready files for replicating experiments:
21
+ - `*.faiss`: Contriever-based FAISS indices.
22
+ - `*_corpus.jsonl`: Corresponding document corpora.
23
+
24
+ ### 3. Sweep Results (`sweep_results_v7/`)
25
+ Raw JSON outputs and summaries from the hyperparameter sweep (Alpha optimization).
26
+
27
+ ## How to Reproduce Retrieval
28
+
29
+ To use the retrieval system in your own code:
30
+
31
+ ```python
32
+ from huggingface_hub import hf_hub_download
33
+ import faiss
34
+ import json
35
+
36
+ # Example: Download HotpotQA Retrieval Index
37
+ faiss_path = hf_hub_download(repo_id="DanielJeongsooLee/adaptive-msc-v7-artifacts", filename="indices/hotpot_contriever.faiss", repo_type="dataset")
38
+ corpus_path = hf_hub_download(repo_id="DanielJeongsooLee/adaptive-msc-v7-artifacts", filename="indices/hotpot_corpus.jsonl", repo_type="dataset")
39
+
40
+ # Load Index
41
+ index = faiss.read_index(faiss_path)
42
+
43
+ # Load Corpus
44
+ with open(corpus_path, "r") as f:
45
+ corpus = [json.loads(line) for line in f]
46
+ ```