Debrup-61 commited on
Commit
ace768f
·
verified ·
1 Parent(s): 66c1118

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -145
README.md CHANGED
@@ -6,8 +6,8 @@ tags: []
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
 
12
  ## Model Details
13
 
@@ -19,151 +19,48 @@ This is the model card of a 🤗 transformers model that has been pushed on the
19
 
20
  - **Developed by:** CIIR, UMass Amherst
21
  - **Model type:** Retriever
22
- - **Language(s) (NLP):** English
23
  - **License:** MIT
24
- - **Finetuned from model [optional]:** Qwen-2.5-14B-Instruct
25
 
26
- ### Model Sources [optional]
27
 
28
  <!-- Provide the basic links for the model. -->
29
 
30
  - **Repository:** https://github.com/Debrup-61/RaDeR
31
- - **Paper [optional]:** https://huggingface.co/papers/2505.18405
32
-
33
- ## Uses
34
-
35
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
36
-
37
- ### Direct Use
38
-
39
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
40
-
41
- [More Information Needed]
42
-
43
- ### Downstream Use [optional]
44
-
45
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
46
-
47
- [More Information Needed]
48
-
49
- ### Out-of-Scope Use
50
-
51
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
52
-
53
- [More Information Needed]
54
-
55
- ## Bias, Risks, and Limitations
56
-
57
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
58
-
59
- [More Information Needed]
60
-
61
- ### Recommendations
62
 
63
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
64
-
65
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
66
 
67
  ## How to Get Started with the Model
68
 
69
- Use the code below to get started with the model.
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
- [More Information Needed]
72
 
73
  ## Training Details
74
 
75
  ### Training Data
76
 
77
  <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
 
78
 
79
- [More Information Needed]
80
-
81
- ### Training Procedure
82
-
83
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
84
-
85
- #### Preprocessing [optional]
86
-
87
- [More Information Needed]
88
-
89
-
90
- #### Training Hyperparameters
91
-
92
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
93
-
94
- #### Speeds, Sizes, Times [optional]
95
-
96
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
97
-
98
- [More Information Needed]
99
-
100
- ## Evaluation
101
-
102
- <!-- This section describes the evaluation protocols and provides the results. -->
103
-
104
- ### Testing Data, Factors & Metrics
105
-
106
- #### Testing Data
107
-
108
- <!-- This should link to a Dataset Card if possible. -->
109
 
110
- [More Information Needed]
111
-
112
- #### Factors
113
-
114
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
115
-
116
- [More Information Needed]
117
-
118
- #### Metrics
119
-
120
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
121
-
122
- [More Information Needed]
123
-
124
- ### Results
125
-
126
- [More Information Needed]
127
-
128
- #### Summary
129
-
130
-
131
-
132
- ## Model Examination [optional]
133
-
134
- <!-- Relevant interpretability work for the model goes here -->
135
-
136
- [More Information Needed]
137
-
138
- ## Environmental Impact
139
-
140
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
141
-
142
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
143
-
144
- - **Hardware Type:** [More Information Needed]
145
- - **Hours used:** [More Information Needed]
146
- - **Cloud Provider:** [More Information Needed]
147
- - **Compute Region:** [More Information Needed]
148
- - **Carbon Emitted:** [More Information Needed]
149
-
150
- ## Technical Specifications [optional]
151
-
152
- ### Model Architecture and Objective
153
-
154
- [More Information Needed]
155
-
156
- ### Compute Infrastructure
157
-
158
- [More Information Needed]
159
-
160
- #### Hardware
161
-
162
- [More Information Needed]
163
 
164
  #### Software
165
-
166
- [More Information Needed]
167
 
168
  ## Citation [optional]
169
 
@@ -171,26 +68,17 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
171
 
172
  **BibTeX:**
173
 
174
- [More Information Needed]
175
-
176
- **APA:**
177
-
178
- [More Information Needed]
179
-
180
- ## Glossary [optional]
181
-
182
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
183
-
184
- [More Information Needed]
185
-
186
- ## More Information [optional]
187
-
188
- [More Information Needed]
189
-
190
- ## Model Card Authors [optional]
191
 
192
- [More Information Needed]
193
 
194
  ## Model Card Contact
195
 
196
- [More Information Needed]
 
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
+ RaDeR, are a set of reasoning-based dense retrieval and reranker models trained with data derived from mathematical problem solving using large language models (LLMs).
10
+ RaDeR retrievers, trained for mathematical reasoning, effectively generalize to diverse retrieval reasoning tasks in the BRIGHT and RAR-b benchmarks, consistently outperforming strong baselines in overall performance.
11
 
12
  ## Model Details
13
 
 
19
 
20
  - **Developed by:** CIIR, UMass Amherst
21
  - **Model type:** Retriever
22
+ - **Language(s):** English
23
  - **License:** MIT
24
+ - **Finetuned from model:** Qwen-2.5-14B-Instruct
25
 
26
+ ### Model Sources
27
 
28
  <!-- Provide the basic links for the model. -->
29
 
30
  - **Repository:** https://github.com/Debrup-61/RaDeR
31
+ - **Paper** https://huggingface.co/papers/2505.18405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
 
 
 
33
 
34
  ## How to Get Started with the Model
35
 
36
+ Run the following code to start a server of the model with **vLLM** for fast inference.
37
+
38
+ ```
39
+ vllm serve Raderspace/RaDeR_Qwen25-14B_NuminaMath_MATH_allquerytypes \
40
+ --task embed \
41
+ --trust-remote-code \
42
+ --override-pooler-config '{"pooling_type": "LAST", "normalize": true}' \
43
+ --gpu-memory-utilization 0.9 \
44
+ --api-key abc \
45
+ --tokenizer Qwen/Qwen2.5-14B-Instruct \
46
+ --port 8001 \
47
+ --disable-log-requests \
48
+ --max-num-seqs 5000
49
+ ```
50
 
51
+ Follow the code on [Github](https://github.com/Debrup-61/RaDeR/blob/main/models/RaDeR_retriever_server_API.py) to see how to query the retriever server.
52
 
53
  ## Training Details
54
 
55
  ### Training Data
56
 
57
  <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
58
+ The model was trained using the [NuminaMath+MATH](https://huggingface.co/datasets/Raderspace/MATH_NuminaMath_allquerytypes) retrieval training dataset from RaDeR, containing all query types.
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  #### Software
63
+ https://github.com/Debrup-61/RaDeR
 
64
 
65
  ## Citation [optional]
66
 
 
68
 
69
  **BibTeX:**
70
 
71
+ @misc{das2025raderreasoningawaredenseretrieval,
72
+ title={RaDeR: Reasoning-aware Dense Retrieval Models},
73
+ author={Debrup Das and Sam O' Nuallain and Razieh Rahimi},
74
+ year={2025},
75
+ eprint={2505.18405},
76
+ archivePrefix={arXiv},
77
+ primaryClass={cs.CL},
78
+ url={https://arxiv.org/abs/2505.18405},
79
+ }
 
 
 
 
 
 
 
 
80
 
 
81
 
82
  ## Model Card Contact
83
 
84
+ Debrup Das: debrupdas@umass.edu