minsuas commited on
Commit
474d203
·
verified ·
1 Parent(s): 7ae6519

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:17405
8
+ - loss:CachedMultipleNegativesRankingLoss
9
+ widget:
10
+ - source_sentence: 'Subject: Range and Interquartile Range from a List of Data
11
+
12
+ Construct: Calculate the range from a list of data
13
+
14
+ Question: What is the range of the following numbers?
15
+
16
+ \[
17
+
18
+ 1,5,5,17,-6
19
+
20
+ \]
21
+
22
+ Incorrect Answer: \( 5 \)'
23
+ sentences:
24
+ - 'To find the range adds the biggest and smallest number rather than subtract
25
+
26
+ The passage is clarifying a common misunderstanding about how to calculate the
27
+ range of a set of numbers. The misconception here is that someone might think
28
+ the range is found by adding the largest number to the smallest number in the
29
+ dataset. However, this is incorrect. The correct method to find the range is to
30
+ subtract the smallest number from the largest number in the dataset. This subtraction
31
+ gives the difference, which represents how spread out the numbers are.'
32
+ - 'Finds the mode rather than the range
33
+
34
+ The passage is indicating a common mistake made in solving math problems, particularly
35
+ those involving statistics. The misconception lies in a confusion between two
36
+ statistical concepts: the mode and the range.
37
+
38
+
39
+ - **Mode**: This is the value that appears most frequently in a set of data. It
40
+ helps to identify the most typical or common value.
41
+
42
+ - **Range**: This is the difference between the highest and lowest values in a
43
+ set of data. It gives an idea about the spread or dispersion of the values.
44
+
45
+
46
+ The misconception described here suggests that a student might calculate the mode
47
+ when asked to find the range, or simply mix up these two concepts. The important
48
+ distinction is that while the mode tells you about the frequency of the most common
49
+ value, the range informs you about the span of the data.'
50
+ - "Believes a cubic expression should have three terms\nThe misconception described\
51
+ \ here is that someone might think a cubic expression, which is a polynomial of\
52
+ \ degree three, should consist of exactly three terms. This is a misunderstanding\
53
+ \ because a cubic expression can have any number of terms, but the highest power\
54
+ \ of the variable must be three. \n\nFor example, both \\( x^3 + 2x + 1 \\) and\
55
+ \ \\( 4x^3 - 3x^2 + x - 7 \\) are cubic expressions, even though they have different\
56
+ \ numbers of terms. The defining characteristic is that the highest power of the\
57
+ \ variable (x in these examples) is three. So, a cubic expression can have fewer\
58
+ \ or more than three terms, as long as the degree (the highest power) of the expression\
59
+ \ is three."
60
+ - source_sentence: 'Subject: Reflection
61
+
62
+ Construct: Reflect an object or a point in a diagonal line with the line of reflection
63
+ drawn, where the line of reflection lies on the edge or outside the object
64
+
65
+ Question: The triangle is reflected in the dashed line
66
+
67
+ What are the new coordinates of point \( \mathrm{P} \) ? ![Four quadrant, coordinate
68
+ grid with the reflection line y=-x drawn and a triangle. The triangle has coordinates:
69
+ (-2,3) (-2,6) and (0,5). The point P is the coordinate (0,5)]()
70
+
71
+ Incorrect Answer: \( (-4,5) \)'
72
+ sentences:
73
+ - 'Reflects horizontally or vertically instead of across a diagonal line of symmetry
74
+
75
+ The passage is discussing a common mistake made in geometry, particularly when
76
+ dealing with reflections of shapes. The misconception is that students might incorrectly
77
+ think that the reflection is happening horizontally or vertically (i.e., across
78
+ a line that is either parallel to the x-axis or y-axis). In reality, the reflection
79
+ might be across a diagonal line of symmetry, which means the line that serves
80
+ as the mirror could be at an angle, such as a 45-degree line from one corner of
81
+ a square or rectangle to the opposite corner.
82
+
83
+
84
+ To correct this misconception, it''s important to emphasize the actual direction
85
+ and axis of reflection, understanding that a line of symmetry can be oriented
86
+ in any direction, not just horizontal or vertical. Visual aids and examples that
87
+ include diagonal lines of symmetry can help in grasping this concept better.'
88
+ - 'Fails to reflect across mirror line
89
+
90
+ The passage is discussing a common misconception in geometry, specifically in
91
+ relation to reflecting shapes or points across a line, often referred to as a
92
+ "mirror line." This reflection involves creating a mirror image of a given figure
93
+ on the other side of the mirror line, maintaining the same distance from the line
94
+ as the original figure.
95
+
96
+
97
+ The misconception "Fails to reflect across mirror line" means that someone might
98
+ not correctly understand or apply the rules of reflection in their work. They
99
+ might draw the reflected image incorrectly, perhaps by not maintaining the same
100
+ distance from the mirror line, or by not placing it directly opposite the original
101
+ shape with respect to the line.
102
+
103
+
104
+ In essence, the misconception stems from a misunderstanding of how reflection
105
+ works in geometry, leading to errors in the placement or orientation of the reflected
106
+ figure. Correcting this involves ensuring that each point of the original shape
107
+ is equidistant from the mirror line to its corresponding point on the reflected
108
+ side.'
109
+ - 'Believes that dividing by 100 gives 10%
110
+
111
+ The misconception described here is that someone might think dividing a number
112
+ by 100 results in getting 10% of that number. This is incorrect. Dividing a number
113
+ by 100 gives 1% of that number, not 10%. To get 10% of a number, you should divide
114
+ the number by 10. For example, if you have the number 200, dividing it by 100
115
+ gives 2, which is 1% of 200. To get 10%, you would divide 200 by 10, giving 20.'
116
+ - source_sentence: 'Subject: Time
117
+
118
+ Construct: Solve problems involving subtracting a period of time from a given
119
+ end time
120
+
121
+ Question: What time is \( 30 \) minutes before midnight?
122
+
123
+ Incorrect Answer: 11:30 am'
124
+ sentences:
125
+ - 'Thinks that times just before midnight are "am" times
126
+
127
+ The passage is discussing a common misconception about the timing just before
128
+ midnight. The misconception is that someone might incorrectly believe these times
129
+ are denoted as "am" (ante meridiem), when in fact, times just before midnight
130
+ are part of the "pm" (post meridiem) period. Midnight marks the transition from
131
+ "pm" to "am" — the period from midnight to noon is designated as "am", and from
132
+ noon to midnight, it is "pm". Therefore, the correct understanding is that the
133
+ times just before midnight are "pm" times, not "am".'
134
+ - 'Answers as if there are 100 minutes in an hour
135
+
136
+ The passage is indicating a common mistake where individuals incorrectly assume
137
+ there are 100 minutes in an hour, rather than the correct 60 minutes. This misconception
138
+ could arise in problems that require calculations involving time, leading to inaccurate
139
+ results. It''s important to remember there are 60 minutes in an hour to perform
140
+ calculations correctly.'
141
+ - 'Thinks measures of area must end in squared
142
+
143
+ The misconception described here is that some people believe the units of measurement
144
+ for area must always end in "squared," such as square meters, square feet, etc.
145
+ While it is true that area measurements are often expressed using squared units
146
+ (like square meters, m²), this is a specific case when the measurements are taken
147
+ in units like meters, feet, etc.
148
+
149
+
150
+ However, depending on the context and the system of measurement, area can be expressed
151
+ in units that do not explicitly end in "squared." For example, when measuring
152
+ land, units like acres or hectares are used, which are not expressed as squared
153
+ units but represent a specific area. An acre, for instance, is a unit of area
154
+ commonly used in English-speaking countries, and it equals 43,560 square feet.
155
+
156
+
157
+ In summary, while squared units are a common way to express area, it is incorrect
158
+ to assume that all units measuring area must end in "squared."'
159
+ - source_sentence: 'Subject: Quadratic Equations
160
+
161
+ Construct: Solve quadratic equations using factorisation in the form x(x + b)
162
+
163
+ Question: Solve this equation, giving all solutions:
164
+
165
+ \[
166
+
167
+ k^{2}=4 k
168
+
169
+ \]
170
+
171
+ Incorrect Answer: \( k=4 \)'
172
+ sentences:
173
+ - 'Believes they can divide by a variable without checking whether it could equal
174
+ zero
175
+
176
+ The misconception described here pertains to the process of solving algebraic
177
+ equations, particularly when dividing both sides of an equation by a variable.
178
+ The misconception is that one can divide by a variable without considering whether
179
+ that variable could potentially be zero.
180
+
181
+
182
+ In algebra, dividing both sides of an equation by a variable (let''s say \(x\))
183
+ is generally valid only if \(x \neq 0\). If \(x\) could be zero, then dividing
184
+ by \(x\) is not allowed because division by zero is undefined in mathematics.
185
+ This oversight can lead to losing a solution (specifically, \(x = 0\)) or deriving
186
+ incorrect conclusions.
187
+
188
+
189
+ For example, consider the equation \(x^2 = 3x\). If one incorrectly divides both
190
+ sides by \(x\) without checking whether \(x\) can be zero, they might reduce it
191
+ to \(x = 3\), thereby missing the solution \(x = 0\).
192
+
193
+
194
+ The correct approach would be to rearrange the equation to \(x^2 - 3x = 0\), factor
195
+ it to \(x(x - 3) = 0\), and then conclude that \(x = 0\) or \(x = 3\), thus ensuring
196
+ no solutions are lost.'
197
+ - 'Thinks tables of values are symmetrical about (0,0)
198
+
199
+ The misconception described here pertains to the assumption that all tables of
200
+ values representing a mathematical function or a set of data points are symmetrical
201
+ about the origin, which is the point (0,0) on the coordinate plane. This means
202
+ someone might incorrectly believe that for every value of \(x\), the corresponding
203
+ \(y\) value would be mirrored on the opposite side of the origin, like in the
204
+ case of the function \(y = x^3\), which is symmetrical about the origin.
205
+
206
+
207
+ However, not all tables of values are symmetrical about (0,0). Symmetry about
208
+ the origin is a specific property that only applies to certain types of functions,
209
+ particularly odd functions, where \(f(-x) = -f(x)\) for all \(x\) in the domain
210
+ of \(f\). Many other functions and sets of data points do not exhibit this symmetry.
211
+ For example, a parabola \(y = x^2\) is symmetrical, but not about the origin;
212
+ it is symmetrical along the y-axis. A linear function \(y = mx + b\), unless it
213
+ passes through (0,0) with \(b=0\), would not be symmetrical about the origin either.
214
+
215
+
216
+ Thus, one should not assume symmetry about (0,0) for any given set of data or
217
+ function without proper analysis or evidence that confirms this symmetry.'
218
+ - "When solving an equation, multiplies instead of dividing\nThe passage is highlighting\
219
+ \ a common mistake made when solving mathematical equations, where a student might\
220
+ \ mistakenly multiply when they should be dividing. This can happen in various\
221
+ \ contexts, such as solving for a variable in an equation or converting units.\
222
+ \ For example, if a problem requires you to divide both sides of an equation by\
223
+ \ a number to isolate the variable, mistakenly multiplying instead would lead\
224
+ \ to an incorrect solution. \n\nThe key here is to carefully read the problem,\
225
+ \ understand the operations needed, and apply the correct mathematical operations\
226
+ \ to solve the equation accurately."
227
+ - source_sentence: 'Subject: Construct Triangle
228
+
229
+ Construct: Construct a triangle using Side-Side-Side
230
+
231
+ Question: Tom and Katie are arguing about constructing triangles.
232
+
233
+
234
+ Tom says you can construct a triangle with lengths \( 11 \mathrm{~cm}, 10 \mathrm{~cm}
235
+ \) and \( 2 \mathrm{~cm} \).
236
+
237
+
238
+ Katie says you can construct a triangle with lengths \( 8 \mathrm{~cm}, 5 \mathrm{~cm}
239
+ \) and \( 3 \mathrm{~cm} \).
240
+
241
+
242
+ Who is correct?
243
+
244
+ Incorrect Answer: Neither is correct'
245
+ sentences:
246
+ - "Does not realise that the sum of the two shorter sides must be greater than the\
247
+ \ third side for it to be a possible triangle\nThe passage is discussing a common\
248
+ \ misconception about the properties required to form a triangle. The misconception\
249
+ \ is that one might think any three given side lengths can form a triangle. However,\
250
+ \ for three lengths to actually form a triangle, they must satisfy the triangle\
251
+ \ inequality theorem. This theorem states that the sum of the lengths of any two\
252
+ \ sides of a triangle must be greater than the length of the remaining side. This\
253
+ \ rule must hold true for all three combinations of added side lengths. \n\nTo\
254
+ \ apply this to the misconception: one does not realize that the sum of the lengths\
255
+ \ of the two shorter sides must be greater than the length of the longest side\
256
+ \ to form a possible triangle. This ensures that the sides can actually meet to\
257
+ \ form a closed figure with three angles."
258
+ - 'Does not know that a single letter labels a vertex
259
+
260
+ The passage is indicating a common misconception in geometry or graph theory,
261
+ where students or individuals may not understand that a single letter can be used
262
+ to label or identify a vertex (a corner or a point where lines or edges meet)
263
+ in a geometric shape or a graph.
264
+
265
+
266
+ Explanation: In mathematics, particularly in geometry and graph theory, vertices
267
+ (plural of vertex) are often labeled with single letters (like A, B, C, etc.)
268
+ to easily identify and discuss them. This labeling helps in referring to specific
269
+ points when describing shapes, calculating angles, distances, or when analyzing
270
+ the structure of graphs. The misconception arises when someone does not recognize
271
+ or utilize this convention, potentially leading to difficulties in understanding
272
+ problems or communicating solutions effectively.'
273
+ - 'Draws both angles at the same end of the line when constructing a triangle
274
+
275
+ The misconception described refers to a common error in geometry when students
276
+ are constructing a triangle based on given angles and a line segment. The mistake
277
+ is to draw both given angles at the same end of the given line segment. This is
278
+ incorrect because in a triangle, each angle is located at a different vertex,
279
+ and each vertex connects two sides. To correctly construct the triangle, each
280
+ given angle should be drawn at different ends of the line segment (if constructing
281
+ based on one line segment and two angles) or at vertices defined by the construction
282
+ steps (if additional sides are given). This ensures that the three angles are
283
+ positioned to form the corners of the triangle, with each angle at a distinct
284
+ vertex, thereby creating a proper triangle.'
285
+ pipeline_tag: sentence-similarity
286
+ library_name: sentence-transformers
287
+ ---
288
+
289
+ # SentenceTransformer
290
+
291
+ This is a [sentence-transformers](https://www.SBERT.net) model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
292
+
293
+ ## Model Details
294
+
295
+ ### Model Description
296
+ - **Model Type:** Sentence Transformer
297
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
298
+ - **Maximum Sequence Length:** 256 tokens
299
+ - **Output Dimensionality:** 384 dimensions
300
+ - **Similarity Function:** Cosine Similarity
301
+ <!-- - **Training Dataset:** Unknown -->
302
+ <!-- - **Language:** Unknown -->
303
+ <!-- - **License:** Unknown -->
304
+
305
+ ### Model Sources
306
+
307
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
308
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
309
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
310
+
311
+ ### Full Model Architecture
312
+
313
+ ```
314
+ SentenceTransformer(
315
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
316
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
317
+ (2): Normalize()
318
+ )
319
+ ```
320
+
321
+ ## Usage
322
+
323
+ ### Direct Usage (Sentence Transformers)
324
+
325
+ First install the Sentence Transformers library:
326
+
327
+ ```bash
328
+ pip install -U sentence-transformers
329
+ ```
330
+
331
+ Then you can load this model and run inference.
332
+ ```python
333
+ from sentence_transformers import SentenceTransformer
334
+
335
+ # Download from the 🤗 Hub
336
+ model = SentenceTransformer("minsuas/Misconceptions_1")
337
+ # Run inference
338
+ sentences = [
339
+ 'Subject: Construct Triangle\nConstruct: Construct a triangle using Side-Side-Side\nQuestion: Tom and Katie are arguing about constructing triangles.\n\nTom says you can construct a triangle with lengths \\( 11 \\mathrm{~cm}, 10 \\mathrm{~cm} \\) and \\( 2 \\mathrm{~cm} \\).\n\nKatie says you can construct a triangle with lengths \\( 8 \\mathrm{~cm}, 5 \\mathrm{~cm} \\) and \\( 3 \\mathrm{~cm} \\).\n\nWho is correct?\nIncorrect Answer: Neither is correct',
340
+ 'Does not realise that the sum of the two shorter sides must be greater than the third side for it to be a possible triangle\nThe passage is discussing a common misconception about the properties required to form a triangle. The misconception is that one might think any three given side lengths can form a triangle. However, for three lengths to actually form a triangle, they must satisfy the triangle inequality theorem. This theorem states that the sum of the lengths of any two sides of a triangle must be greater than the length of the remaining side. This rule must hold true for all three combinations of added side lengths. \n\nTo apply this to the misconception: one does not realize that the sum of the lengths of the two shorter sides must be greater than the length of the longest side to form a possible triangle. This ensures that the sides can actually meet to form a closed figure with three angles.',
341
+ 'Draws both angles at the same end of the line when constructing a triangle\nThe misconception described refers to a common error in geometry when students are constructing a triangle based on given angles and a line segment. The mistake is to draw both given angles at the same end of the given line segment. This is incorrect because in a triangle, each angle is located at a different vertex, and each vertex connects two sides. To correctly construct the triangle, each given angle should be drawn at different ends of the line segment (if constructing based on one line segment and two angles) or at vertices defined by the construction steps (if additional sides are given). This ensures that the three angles are positioned to form the corners of the triangle, with each angle at a distinct vertex, thereby creating a proper triangle.',
342
+ ]
343
+ embeddings = model.encode(sentences)
344
+ print(embeddings.shape)
345
+ # [3, 384]
346
+
347
+ # Get the similarity scores for the embeddings
348
+ similarities = model.similarity(embeddings, embeddings)
349
+ print(similarities.shape)
350
+ # [3, 3]
351
+ ```
352
+
353
+ <!--
354
+ ### Direct Usage (Transformers)
355
+
356
+ <details><summary>Click to see the direct usage in Transformers</summary>
357
+
358
+ </details>
359
+ -->
360
+
361
+ <!--
362
+ ### Downstream Usage (Sentence Transformers)
363
+
364
+ You can finetune this model on your own dataset.
365
+
366
+ <details><summary>Click to expand</summary>
367
+
368
+ </details>
369
+ -->
370
+
371
+ <!--
372
+ ### Out-of-Scope Use
373
+
374
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
375
+ -->
376
+
377
+ <!--
378
+ ## Bias, Risks and Limitations
379
+
380
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
381
+ -->
382
+
383
+ <!--
384
+ ### Recommendations
385
+
386
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
387
+ -->
388
+
389
+ ## Training Details
390
+
391
+ ### Training Dataset
392
+
393
+ #### Unnamed Dataset
394
+
395
+
396
+ * Size: 17,405 training samples
397
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
398
+ * Approximate statistics based on the first 1000 samples:
399
+ | | anchor | positive | negative |
400
+ |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
401
+ | type | string | string | string |
402
+ | details | <ul><li>min: 32 tokens</li><li>mean: 87.49 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 79 tokens</li><li>mean: 179.08 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 75 tokens</li><li>mean: 180.1 tokens</li><li>max: 256 tokens</li></ul> |
403
+ * Samples:
404
+ | anchor | positive | negative |
405
+ |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
406
+ | <code>Subject: Cubics and Reciprocals<br>Construct: Given a positive x value, find the corresponding y value for reciprocal graphs<br>Question: This is a part of the table of values for the equation \( y=\frac{3}{x} \) \begin{tabular}{|l|l|}<br>\hline\( x \) & \( 0.1 \) \\<br>\hline\( y \) & \(\color{gold}\bigstar\) \\<br>\hline<br>\end{tabular} What should replace the star?<br>Incorrect Answer: \( 0.3 \)</code> | <code>Multiplies instead of divides when division is written as a fraction<br>The passage is highlighting a common mistake students sometimes make when dealing with fractions in mathematics. This misconception occurs when a student encounters a fraction (which inherently involves a division operation, i.e., the numerator divided by the denominator) but instead of performing division, the student multiplies the numerator by the denominator. This misunderstanding can lead to incorrect solutions in problems where the correct interpretation and handling of fractions are crucial. For example, if presented with the fraction 8/2, the correct operation is to divide 8 by 2, resulting in 4, not to multiply 8 by 2, which would incorrectly yield 16.</code> | <code>Forgets that a number divided by itself is 1<br>The passage is highlighting a common mistake made in mathematics where a student forgets the fundamental fact that any non-zero number divided by itself equals 1. For example, 5 divided by 5 is 1, or more generally, for any non-zero number n, n/n = 1. This principle is crucial for simplifying fractions, solving equations, and understanding basic arithmetic properties. Forgetting this can lead to errors in calculations and problem-solving scenarios.</code> |
407
+ | <code>Subject: Angle Facts with Parallel Lines<br>Construct: Identify a transversal<br>Question: What is the name given to the red line that intersects the two dashed lines? ![Shows two straight horizontal dashed lines that are converging and are both intersected by a solid red line]()<br>Incorrect Answer: Parallel</code> | <code>Does not know the meaning of the word parallel<br>The passage is indicating a misconception related to a math problem, specifically one that involves the concept of "parallel." In mathematics, particularly in geometry, "parallel" refers to lines or planes that are equidistant from each other at every point and never intersect, no matter how far they are extended. A misunderstanding or lack of knowledge about this definition can lead to errors when solving problems that involve parallel lines or planes, such as determining angles or distances. Thus, to correctly interpret and solve problems involving parallel lines or planes, one must understand that they maintain a constant distance from each other and never meet.</code> | <code>Does not know the term transversal<br>The passage is indicating a common pitfall in geometry where a student may not be familiar with the term "transversal." A transversal is a line that passes through two or more other lines, often creating several angles with them. When discussing parallel lines and the angles formed when a transversal intersects them, understanding the term and its implications is crucial. The misconception here is likely that without knowing what a transversal is, a student might struggle to identify the relationships between the angles formed (such as alternate interior angles, corresponding angles, etc.), which are fundamental concepts in solving geometry problems involving parallel lines.</code> |
408
+ | <code>Subject: Sharing in a Ratio<br>Construct: Divide a quantity into two parts for a given a ratio, where each part is an integer<br>Question: Share \( £360 \) in the ratio \( 2: 7 \)<br>Incorrect Answer: \( £ 180: £ 51 \)</code> | <code>Divides total amount by each side of the ratio instead of dividing by the sum of the parts<br>The misconception described refers to a mistake made when dividing a total amount according to a given ratio. For instance, if someone has to divide $100 in the ratio 2:3, a correct approach would be to first add the parts of the ratio (2+3=5) to find the total number of parts. Then, divide the total amount by this sum ($100 ÷ 5 = $20) to determine the value of one part. This $20 can then be multiplied by each number in the ratio (2 and 3) to correctly distribute the $100.<br><br>The misconception occurs when someone divides the total amount ($100) by each individual number in the ratio (2 and 3) rather than by the sum of the parts (5). This method would incorrectly distribute the $100, as it does not account for the proportional relationship that the ratio is meant to establish.</code> | <code>Estimates shares of a ratio instead of calculating<br>The passage is discussing a common mistake made in mathematics, particularly when dealing with ratio problems. The misconception lies in estimating the shares or parts of a ratio rather than calculating them accurately. For example, if a problem involves dividing a quantity in the ratio of 2:3, the misconception would be to guess or estimate what parts of the quantity correspond to 2 and 3, instead of using the correct method to find the exact shares. The correct approach involves first adding the parts of the ratio (in this case, 2 + 3 = 5) and then using this sum to calculate each part's exact share of the total quantity. Thus, it's important to calculate each part of the ratio precisely rather than estimating.</code> |
409
+ * Loss: [<code>CachedMultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters:
410
+ ```json
411
+ {
412
+ "scale": 20.0,
413
+ "similarity_fct": "cos_sim"
414
+ }
415
+ ```
416
+
417
+ ### Training Hyperparameters
418
+ #### Non-Default Hyperparameters
419
+
420
+ - `per_device_train_batch_size`: 512
421
+ - `num_train_epochs`: 1
422
+ - `lr_scheduler_type`: cosine
423
+ - `warmup_ratio`: 0.1
424
+ - `fp16`: True
425
+
426
+ #### All Hyperparameters
427
+ <details><summary>Click to expand</summary>
428
+
429
+ - `overwrite_output_dir`: False
430
+ - `do_predict`: False
431
+ - `eval_strategy`: no
432
+ - `prediction_loss_only`: True
433
+ - `per_device_train_batch_size`: 512
434
+ - `per_device_eval_batch_size`: 8
435
+ - `per_gpu_train_batch_size`: None
436
+ - `per_gpu_eval_batch_size`: None
437
+ - `gradient_accumulation_steps`: 1
438
+ - `eval_accumulation_steps`: None
439
+ - `torch_empty_cache_steps`: None
440
+ - `learning_rate`: 5e-05
441
+ - `weight_decay`: 0.0
442
+ - `adam_beta1`: 0.9
443
+ - `adam_beta2`: 0.999
444
+ - `adam_epsilon`: 1e-08
445
+ - `max_grad_norm`: 1.0
446
+ - `num_train_epochs`: 1
447
+ - `max_steps`: -1
448
+ - `lr_scheduler_type`: cosine
449
+ - `lr_scheduler_kwargs`: {}
450
+ - `warmup_ratio`: 0.1
451
+ - `warmup_steps`: 0
452
+ - `log_level`: passive
453
+ - `log_level_replica`: warning
454
+ - `log_on_each_node`: True
455
+ - `logging_nan_inf_filter`: True
456
+ - `save_safetensors`: True
457
+ - `save_on_each_node`: False
458
+ - `save_only_model`: False
459
+ - `restore_callback_states_from_checkpoint`: False
460
+ - `no_cuda`: False
461
+ - `use_cpu`: False
462
+ - `use_mps_device`: False
463
+ - `seed`: 42
464
+ - `data_seed`: None
465
+ - `jit_mode_eval`: False
466
+ - `use_ipex`: False
467
+ - `bf16`: False
468
+ - `fp16`: True
469
+ - `fp16_opt_level`: O1
470
+ - `half_precision_backend`: auto
471
+ - `bf16_full_eval`: False
472
+ - `fp16_full_eval`: False
473
+ - `tf32`: None
474
+ - `local_rank`: 0
475
+ - `ddp_backend`: None
476
+ - `tpu_num_cores`: None
477
+ - `tpu_metrics_debug`: False
478
+ - `debug`: []
479
+ - `dataloader_drop_last`: False
480
+ - `dataloader_num_workers`: 0
481
+ - `dataloader_prefetch_factor`: None
482
+ - `past_index`: -1
483
+ - `disable_tqdm`: False
484
+ - `remove_unused_columns`: True
485
+ - `label_names`: None
486
+ - `load_best_model_at_end`: False
487
+ - `ignore_data_skip`: False
488
+ - `fsdp`: []
489
+ - `fsdp_min_num_params`: 0
490
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
491
+ - `fsdp_transformer_layer_cls_to_wrap`: None
492
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
493
+ - `deepspeed`: None
494
+ - `label_smoothing_factor`: 0.0
495
+ - `optim`: adamw_torch
496
+ - `optim_args`: None
497
+ - `adafactor`: False
498
+ - `group_by_length`: False
499
+ - `length_column_name`: length
500
+ - `ddp_find_unused_parameters`: None
501
+ - `ddp_bucket_cap_mb`: None
502
+ - `ddp_broadcast_buffers`: False
503
+ - `dataloader_pin_memory`: True
504
+ - `dataloader_persistent_workers`: False
505
+ - `skip_memory_metrics`: True
506
+ - `use_legacy_prediction_loop`: False
507
+ - `push_to_hub`: False
508
+ - `resume_from_checkpoint`: None
509
+ - `hub_model_id`: None
510
+ - `hub_strategy`: every_save
511
+ - `hub_private_repo`: None
512
+ - `hub_always_push`: False
513
+ - `gradient_checkpointing`: False
514
+ - `gradient_checkpointing_kwargs`: None
515
+ - `include_inputs_for_metrics`: False
516
+ - `include_for_metrics`: []
517
+ - `eval_do_concat_batches`: True
518
+ - `fp16_backend`: auto
519
+ - `push_to_hub_model_id`: None
520
+ - `push_to_hub_organization`: None
521
+ - `mp_parameters`:
522
+ - `auto_find_batch_size`: False
523
+ - `full_determinism`: False
524
+ - `torchdynamo`: None
525
+ - `ray_scope`: last
526
+ - `ddp_timeout`: 1800
527
+ - `torch_compile`: False
528
+ - `torch_compile_backend`: None
529
+ - `torch_compile_mode`: None
530
+ - `dispatch_batches`: None
531
+ - `split_batches`: None
532
+ - `include_tokens_per_second`: False
533
+ - `include_num_input_tokens_seen`: False
534
+ - `neftune_noise_alpha`: None
535
+ - `optim_target_modules`: None
536
+ - `batch_eval_metrics`: False
537
+ - `eval_on_start`: False
538
+ - `use_liger_kernel`: False
539
+ - `eval_use_gather_object`: False
540
+ - `average_tokens_across_devices`: False
541
+ - `prompts`: None
542
+ - `batch_sampler`: batch_sampler
543
+ - `multi_dataset_batch_sampler`: proportional
544
+
545
+ </details>
546
+
547
+ ### Framework Versions
548
+ - Python: 3.10.12
549
+ - Sentence Transformers: 3.3.1
550
+ - Transformers: 4.47.1
551
+ - PyTorch: 2.5.1+cu121
552
+ - Accelerate: 1.2.1
553
+ - Datasets: 3.2.0
554
+ - Tokenizers: 0.21.0
555
+
556
+ ## Citation
557
+
558
+ ### BibTeX
559
+
560
+ #### Sentence Transformers
561
+ ```bibtex
562
+ @inproceedings{reimers-2019-sentence-bert,
563
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
564
+ author = "Reimers, Nils and Gurevych, Iryna",
565
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
566
+ month = "11",
567
+ year = "2019",
568
+ publisher = "Association for Computational Linguistics",
569
+ url = "https://arxiv.org/abs/1908.10084",
570
+ }
571
+ ```
572
+
573
+ #### CachedMultipleNegativesRankingLoss
574
+ ```bibtex
575
+ @misc{gao2021scaling,
576
+ title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
577
+ author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
578
+ year={2021},
579
+ eprint={2101.06983},
580
+ archivePrefix={arXiv},
581
+ primaryClass={cs.LG}
582
+ }
583
+ ```
584
+
585
+ <!--
586
+ ## Glossary
587
+
588
+ *Clearly define terms in order to be accessible across audiences.*
589
+ -->
590
+
591
+ <!--
592
+ ## Model Card Authors
593
+
594
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
595
+ -->
596
+
597
+ <!--
598
+ ## Model Card Contact
599
+
600
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
601
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./model-9",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.47.1",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.47.1",
5
+ "pytorch": "2.5.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a803deb5ed950f8a586839df982f9109e05bba6dbaa9bd8e7cfaf74f52f74587
3
+ size 90864192
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff