BFTree commited on
Commit
bd3aad2
·
2 Parent(s): b3c02bf08b9e6e

Merge pull request #1

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md CHANGED
@@ -10,6 +10,7 @@ tags:
10
  - scholarly-positioning
11
  - citation-evaluation
12
  - retrieval-augmented-generation
 
13
  pretty_name: RWGBench
14
  size_categories:
15
  - 10K<n<100K
@@ -22,6 +23,12 @@ citation-centric scholarly positioning task. It tests whether a system can
22
  select, organize, and frame prior work for a target paper, rather than only
23
  producing fluent text that resembles a reference related work section.
24
 
 
 
 
 
 
 
25
  ## Files
26
 
27
  | File | Entries | Description |
@@ -101,6 +108,28 @@ data/
101
 
102
  Then run the generation and evaluation scripts from the code repository.
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  ## Data Collection And Use
105
 
106
  RWGBench is built from public scholarly documents and metadata. Source
 
10
  - scholarly-positioning
11
  - citation-evaluation
12
  - retrieval-augmented-generation
13
+ - code
14
  pretty_name: RWGBench
15
  size_categories:
16
  - 10K<n<100K
 
23
  select, organize, and frame prior work for a target paper, rather than only
24
  producing fluent text that resembles a reference related work section.
25
 
26
+ It is presented in the paper
27
+ [RWGBench: Evaluating Scholarly Positioning in Related Work Generation](https://huggingface.co/papers/2606.24894).
28
+
29
+ The official repository containing evaluation scripts and baselines is
30
+ available on GitHub at [BFTree/RWGBench](https://github.com/BFTree/RWGBench).
31
+
32
  ## Files
33
 
34
  | File | Entries | Description |
 
108
 
109
  Then run the generation and evaluation scripts from the code repository.
110
 
111
+ ### Sample Usage
112
+
113
+ For integration into custom pipelines using the evaluation code from the
114
+ GitHub repository:
115
+
116
+ ```python
117
+ from src.evaluation.single_paper_evaluator import SinglePaperEvaluator
118
+
119
+ evaluator = SinglePaperEvaluator(
120
+ gold_papers_path="data/gold100_papers.json",
121
+ corpus_path="data/corpus.json",
122
+ use_llm_judge=False, # set True to include LLM-as-Judge scores
123
+ llm_model="deepseek-v3", # any OpenAI-compatible model name
124
+ )
125
+
126
+ result = evaluator.evaluate(
127
+ paper_id=..., # int
128
+ generated_text=..., # str, text with [1], [2], ... citations
129
+ citation_list=[...], # list of doc_id ints or title strings; index i maps to citation [i+1]
130
+ )
131
+ ```
132
+
133
  ## Data Collection And Use
134
 
135
  RWGBench is built from public scholarly documents and metadata. Source