raphaelsty commited on
Commit
93a7062
·
verified ·
1 Parent(s): ea11515

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md CHANGED
@@ -131,5 +131,46 @@ To fine-tune a model using knowledge distillation loss we will need three distin
131
 
132
  Where:
133
  - `train` contains three distinct columns: `['query_id', 'document_ids', 'scores']`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  - `queries` contains two distinct columns: `['query_id', 'text']`
 
 
 
 
 
135
  - `documents` contains two distinct columns: `['document_ids', 'text']`
 
 
 
 
 
 
 
 
131
 
132
  Where:
133
  - `train` contains three distinct columns: `['query_id', 'document_ids', 'scores']`
134
+
135
+ ```python
136
+ {
137
+ "query_id": 54528,
138
+ "document_ids": [
139
+ 6862419,
140
+ 335116,
141
+ 339186,
142
+ 7509316,
143
+ 7361291,
144
+ 7416534,
145
+ 5789936,
146
+ 5645247,
147
+ ],
148
+ "scores": [
149
+ 0.4546215673141326,
150
+ 0.6575686537173476,
151
+ 0.26825184192900203,
152
+ 0.5256195579370395,
153
+ 0.879939718687207,
154
+ 0.7894968184862693,
155
+ 0.6450100468854655,
156
+ 0.5823844608171467,
157
+ ],
158
+ }
159
+ ```
160
+
161
+ Assert that the length of document_ids is the same as scores.
162
+
163
  - `queries` contains two distinct columns: `['query_id', 'text']`
164
+
165
+ ```python
166
+ {"query_id": 749480, "text": "what is function of magnesium in human body"}
167
+ ```
168
+
169
  - `documents` contains two distinct columns: `['document_ids', 'text']`
170
+
171
+ ```python
172
+ {
173
+ "document_id": 136062,
174
+ "text": "2. Also called tan .a fundamental trigonometric function that, in a right triangle, is expressed as the ratio of the side opposite an acute angle to the side adjacent to that angle. 3. in immediate physical contact; touching; abutting. 4. a. touching at a single point, as a tangent in relation to a curve or surface.lso called tan .a fundamental trigonometric function that, in a right triangle, is expressed as the ratio of the side opposite an acute angle to the side adjacent to that angle. 3. in immediate physical contact; touching; abutting. 4. a. touching at a single point, as a tangent in relation to a curve or surface.",
175
+ }
176
+ ```