RonanMcGovern commited on
Commit
504e7d6
1 Parent(s): 5df133c

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,700 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L12-v2
3
+ datasets: []
4
+ language: []
5
+ library_name: sentence-transformers
6
+ pipeline_tag: sentence-similarity
7
+ tags:
8
+ - sentence-transformers
9
+ - sentence-similarity
10
+ - feature-extraction
11
+ - generated_from_trainer
12
+ - dataset_size:1382
13
+ - loss:CoSENTLoss
14
+ widget:
15
+ - source_sentence: What is the definition of 'Advantage' in Touch Rugby International
16
+ Rules?
17
+ sentences:
18
+ - "1\twhen a Change of Possession takes place due to a player in Possession \nmaking\
19
+ \ contact with the Sideline or any ground outside the Field of Play, \nprior to\
20
+ \ a Touch being made; or\n13.6.2\twhen the ball not in Possession of a player\
21
+ \ makes contact with the \nSideline or any ground outside the Field of Play.\n\
22
+ 13.7\tA player may not perform a Tap in replacement of a Rollball.\nRuling = The\
23
+ \ offending Team must return to the Mark and perform the Rollball.\n13.8\tAn attacking\
24
+ \ player, other than the player performing the Rollball, may receive \nthe ball\
25
+ \ at the Rollball and shall do so without delay. That player is referred to as\
26
+ \ \nthe Half.\n13.9\tThe Half may control the ball with a foot prior to picking\
27
+ \ up the ball. \n13.10\tA player ceases to be the Half once the ball is passed\
28
+ \ to another player.\n13.11\tDefending players are not to interfere with the performance\
29
+ \ of the Rollball or the \nHalf. \nRuling = A Penalty to the Attacking Team at\
30
+ \ a point ten (10) metres directly Forward of the \nInfringement.\n13.12\tPlayers\
31
+ \ of the Defending Team must not move Forward of the Onside position \nuntil the\
32
+ \ Half has made contact with the ball, unless directed to do so by the \nReferee\
33
+ \ or in accordance with 13.12.1.\n13.12.1\tWhen the Half is not within one (1)\
34
+ \ metre of the Rollball, Onside players \nof the Defending Team may move Forward\
35
+ \ as soon as the player \nperforming the Rollball releases the ball. If the Half\
36
+ \ is not in position and \na defending player moves Forward and makes contact\
37
+ \ with the ball, a \nChange of Possession results.\n13.13\tIf in the act of performing\
38
+ \ the Rollball, the Attacking player makes contact with \nthe Sideline or any\
39
+ \ ground outside the Field of Play a Change of Possession will \noccur with the\
40
+ \ Rollball to be taken seven (7) metres in field.\n13.14\tAfter a Touch is made\
41
+ \ between the Dead Ball Line and the seven (7) metre line, \nan Attacking Team\
42
+ \ is permitted to Rollball on the seven (7) metre line at a point \ndirectly in\
43
+ \ line with where the Touch was made.\nFIT Playing Rules - 5th Edition\n12\nCOPYRIGHT\
44
+ \ © Touch Football Australia"
45
+ - " distance beyond the Defending Try Line.\nRuling = A Penalty to the Attacking\
46
+ \ Team at the point of the Infringement or on the seven (7) \nmetre line directly\
47
+ \ Forward of the Infringement.\n15.4\tWhen a Rollball occurs within Defending\
48
+ \ Team’s Seven Metre Zone or a Penalty \nTap within ten (10) metres of the Defending\
49
+ \ Team’s Try Line, all players from the \nDefending Team must have both feet on\
50
+ \ or behind their Try Line and no other \npart of the body in contact with the\
51
+ \ ground Forward of their Try Line.\nRuling = A Penalty to the Attacking Team\
52
+ \ at the seven (7) metre line directly Forward of the \npoint of the Infringement.\n\
53
+ 15.5\tAfter effecting the Touch, the defending player must retire the required\
54
+ \ seven \n(7) metres or to the Defending Try Line as indicated by the Referee\
55
+ \ without \ninterfering with the Attacking Team.\nRuling = A Penalty to the Attacking\
56
+ \ Team ten (10) metres Forward of the Infringement or if \non the Defensive Try\
57
+ \ Line, on the seven (7) metre line.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT\
58
+ \ © Touch Football Australia 2020\n13\n16  Obstruction \n16.1\tA player in Possession\
59
+ \ must not run or otherwise move behind other attacking \nplayers or the Referee\
60
+ \ in an attempt to avoid an Imminent Touch.\nRuling = A Penalty to the non-offending\
61
+ \ Team at the point of the Infringement. \n16.2\tThe player in Possession is not\
62
+ \ to hold or otherwise impede a defending player \nin any way.\nRuling = A Penalty\
63
+ \ to the non-offending Team at the point of the Infringement. \n16.3\tAn attacking\
64
+ \ player in support of the player in Possession may move as \nnecessary to achieve\
65
+ \ a supporting position but must not grab, hold, push or \notherwise deliberately\
66
+ \ interfere with a defending player attempting to make a \nTouch\nRuling = A Penalty\
67
+ \ to the non-offending Team at the point of the Infringement or on the \nseven\
68
+ \ (7) metre line if the Infringement occurs in the In-Goal Area. \n16.4\tPlayers\
69
+ \ in the Defending Team may not obstruct or interfere with an attacking \nplayer.\n\
70
+ Ruling = A Penalty to the non-offending Team at the point of the In"
71
+ - " without delay. While in a position at the end of the Field of Play, \nthe Team\
72
+ \ coach(s) or Team official must remain no closer than five (5) metres \nfrom\
73
+ \ the Dead Ball Line and must not coach or communicate (verbal or non-\nverbal)\
74
+ \ with either Team or the Referees.\n7  Commencement and Recommencement of Play\
75
+ \ \n7.1\tTeam captains are to toss a coin in the presence of the Referee(s) with\
76
+ \ the \nwinning captain’s Team having the choice of the direction the Team wishes\
77
+ \ \nto run in the first half; the choice of Interchange Areas for the duration\
78
+ \ of the \nmatch, including any extra time; and the choice of which team will\
79
+ \ commence \nthe match in Possession.\n7.2\tA player of the Attacking Team is\
80
+ \ to commence the match with a Tap at the \ncentre of the Halfway Line following\
81
+ \ the indication to commence play from the \nReferee.\n7.3\tFor the recommencement\
82
+ \ of play following a Half Time break, Teams shall \nchange directions and the\
83
+ \ Team not commencing the match with Possession is \nto re-start the match with\
84
+ \ a Tap.\n7.4\tFor the recommencement of play following the scoring of a Try,\
85
+ \ the Team \nagainst which the Try was conceded will recommence play with a Tap.\n\
86
+ 7.5\tA Tap may not be taken until all attacking Players are in an Onside position.\n\
87
+ Ruling = The Player will be directed to return to the Mark and to take the Tap\
88
+ \ again.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia\
89
+ \ 2020\n7\n7.6\tA Tap may not be taken until at least four (4) defending players\
90
+ \ are in an Onside \nposition or unless directed to so by the Referee. Where the\
91
+ \ number of players \non the field from the Defending Team falls below four (4),\
92
+ \ all players must be in \nan Onside position for a Tap to be taken unless directed\
93
+ \ to do so by the Referee.\nRuling = The Player will be directed to return to\
94
+ \ the Mark and to take the Tap again.\n7.7\tThe Tap to commence or recommence\
95
+ \ play must be performed without delay.\nRuling = A Penalty to the non-offending\
96
+ \ team at the centre of the Halfway line.\n8  Match Duration \n \n8.1\tA match\
97
+ \ is 40 minutes in duration, consisting of two (2) x 20 minute"
98
+ - source_sentence: What is the term for the area in the Field of Play bounded by the
99
+ Sidelines, the Try Lines and the Dead Ball Lines?
100
+ sentences:
101
+ - " related matters inside the Perimeter \nfor the Duration of a match, has jurisdiction\
102
+ \ over all players, coaches and \nofficials and is required to:\n25.1.1\tInspect\
103
+ \ the Field of Play, Line Markings and Markers prior to the \ncommencement of\
104
+ \ the Match to ensure the safety of all participants.\n25.1.2\tAdjudicate on the\
105
+ \ Rules of the game;\n25.1.3\tImpose any sanction necessary to control the match;\n\
106
+ 25.1.4\tAward Tries and record the progressive score;\n25.1.5\tMaintain a count\
107
+ \ of Touches during each Possession;\n25.1.6\tAward Penalties for Infringements\
108
+ \ against the Rules; and\n25.1.7\tReport to the relevant competition administration\
109
+ \ any Sin Bins, \nDismissals or injuries to any participant sustained during a\
110
+ \ Match.\n25.2\tOnly Team captains are permitted to seek clarification of a decision\
111
+ \ directly \nfrom the Referee. An approach may only be made during a break in\
112
+ \ play or at \nthe discretion of the Referee.\nFIT Playing Rules - 5th Edition\n\
113
+ 18\nCOPYRIGHT © Touch Football Australia 2020\nHALFWAY LINE\nSIN BIN AREAS\nIN-GOAL\
114
+ \ AREA\nTRY LINE\n7 M ZONE\nDEAD BALL LINE\nPERIMETER\nINTERCHANGE\nAREA\n20M\n\
115
+ 10M\n10M\n1M\n5M\n7 M\n7 M\n7 M\n7 M\n50M\n3M\n70M\nINTERCHANGE\nAREA\n Appendix\
116
+ \ 1 – Field of Play\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
117
+ \ Australia 2020\n19\nFEDERATION OF INTERNATIONAL TOUCH\n"
118
+ - " Player\nThe player who replaces another player during Interchange. There is\
119
+ \ \na maximum of eight (8) substitute players in any Team and except \nwhen interchanging,\
120
+ \ in the Sin Bin, dismissed or on the Field of Play, \nthey must remain in the\
121
+ \ Substitution Box.\nTap and Tap Penalty\nThe method of commencing the match,\
122
+ \ recommencing the match \nafter Half Time and after a Try has been scored. The\
123
+ \ Tap is also the \nmethod of recommencing play when a Penalty is awarded. The\
124
+ \ Tap \nis taken by placing the ball on the ground at or behind the Mark, \nreleasing\
125
+ \ both hands from the ball, tapping the ball gently with either \nfoot or touching\
126
+ \ the foot on the ball. The ball must not roll or move \nmore than one (1) metre\
127
+ \ in any direction and must be retrieved \ncleanly, without touching the ground\
128
+ \ again. The player may face any \ndirection and use either foot. Provided it\
129
+ \ is at the Mark, the ball does \nnot have to be lifted from the ground prior\
130
+ \ to a Tap being taken.\nTeam\nA group of players constituting one (1) side in\
131
+ \ a competition match.\nTFA\nTouch Football Australia Limited\nTouch\nAny contact\
132
+ \ between the player in Possession and a defending \nplayer. A Touch includes\
133
+ \ contact on the ball, hair or clothing and may \nbe made by a defending player\
134
+ \ or by the player in Possession.\nTouch Count\nThe progressive number of Touches\
135
+ \ that each Team has before a \nChange of Possession, from zero (0) to six (6).\n\
136
+ Try\nThe result of any attacking player, except the Half, placing the ball on\
137
+ \ \nor over the Team’s Attacking Try Line before being Touched.\nTry Lines\nThe\
138
+ \ lines separating the In-Goal Areas from the Field of Play. See \nAppendix 1.\n\
139
+ Voluntary Rollball\nThe player in Possession performs a Rollball before a Touch\
140
+ \ is made \nwith a defending player.\nWing\nThe player outside the Link player.\n\
141
+ Winner\nThe Team that scores the most Tries during the match.\nFIT Playing Rules\
142
+ \ - 5th Edition\n4\nCOPYRIGHT © Touch Football Australia 2020\n Rules of Play\
143
+ \ \n Mode of Play \nThe object of the game of Touch is for each Team to score\
144
+ \ Tries and to prevent the \nopposition from scoring. The ball may be passed,\
145
+ \ knocked or handed between players \nof the Attacking Team who may in turn run"
146
+ - " item that may prove dangerous. \nAny jewellery or other items that cannot be\
147
+ \ removed are to be taped to the \nsatisfaction of the Referee.\n4.8\tLong (extend\
148
+ \ beyond the finger flesh when viewed from the palm) or sharp \nfingernails are\
149
+ \ not allowed.\n4.9\tReferees and players may wear spectacles or sunglasses provided\
150
+ \ they are safe \nand securely attached.\n4.10\tReferees and players may wear\
151
+ \ sport monitoring equipment and medical \nsupports such as knee or ankle braces\
152
+ \ provided, at the sole discretion of \ncompetition’s controlling body, the items\
153
+ \ are not dangerous.\n5  Team Composition \n5.1\tA Team consists of a maximum\
154
+ \ of 14 players, no more than six (6) of whom are \nallowed on the field at any\
155
+ \ time. \nFIT Playing Rules - 5th Edition\n6\nCOPYRIGHT © Touch Football Australia\
156
+ \ 2020\nRuling = A Penalty awarded to the non-offending Team at the time the offence\
157
+ \ is identified \nseven (7) metres infield on the Halfway Line or the position\
158
+ \ of the ball, whichever is the \ngreater Advantage.\n5.2\tA Team must have a\
159
+ \ minimum of four (4) players on the field for a match to \ncommence or continue,\
160
+ \ except during a Drop-Off.\n5.3\tWhere the number of players on the field from\
161
+ \ one Team falls below four (4), \nthe match is to be abandoned and the non-offending\
162
+ \ Team is to be declared the \nWinner.\n5.3.1\tThis does not apply for players\
163
+ \ sent to the Sin Bin Area.\n5.4\tIn mixed gender competitions, the maximum number\
164
+ \ of males allowed on the \nField of Play is three (3), the minimum male requirement\
165
+ \ is one (1) and the \nminimum female requirement is one (1).\n6  Team Coach and\
166
+ \ Team Officials \n6.1\tThe Team coach(s) and Team officials may be permitted\
167
+ \ inside the Perimeter \nbut shall be required to be positioned either in the\
168
+ \ Interchange Area or at the \nend of the Field of Play for the duration of the\
169
+ \ match.\n6.2\tThe Team coach(s) and Team officials may move from one position\
170
+ \ to the other \nbut shall do so without delay. While in a position at the end\
171
+ \ of the Field of Play, \nthe Team coach(s) or Team official must remain no closer\
172
+ \ than five (5) metres \nfrom the Dead Ball Line and must not coach or communicate\
173
+ \ (verbal"
174
+ - source_sentence: What is the consequence for a player or official who is dismissed
175
+ for misconduct in a match?
176
+ sentences:
177
+ - " to the Sin Bin must return to the Interchange Area prior to re-\nentering the\
178
+ \ Field of Play.\n22.4\tAny action that causes the Touch Count to restart will\
179
+ \ result in a continuation of \nthat Possession. For the avoidance of doubt, should\
180
+ \ a defender knock the ball \ndown or give away a Penalty, this does not mean\
181
+ \ that the Possession has been \ncompleted, but rather the Possession continues.\
182
+ \ \nFIT Playing Rules - 5th Edition\n16\nCOPYRIGHT © Touch Football Australia\
183
+ \ 2020\n23  Dismissal \n23.1\tA player or official dismissed for misconduct is\
184
+ \ to take no further part in that \nmatch and is to move to and remain outside\
185
+ \ the Perimeter for the remainder of \nthe match.\n23.2\tThe dismissed player\
186
+ \ or official cannot be replaced and, in accordance with NTA \nDisciplinary Regulations,\
187
+ \ that player shall receive an automatic two (2) match \nsuspension. \n24  Drop-Off\
188
+ \ \n24.1\tShould a Winner be required in drawn matches, the following Drop-Off\
189
+ \ \nprocedure is used to determine a Winner.\n24.1.1\tEach Team will reduce their\
190
+ \ on-field Team to four (4) players and within \n60 seconds take up a position\
191
+ \ to restart play from the Halfway Line, \ndefending the same end of the field\
192
+ \ as at the End of Play.\n24.1.2\tThe Drop-Off commences with a Tap from the centre\
193
+ \ of the Halfway Line \nby the Team that did not commence the match with Possession.\n\
194
+ 24.1.3\tThe Drop-Off will commence with a two (2) minute period of extra time.\n\
195
+ 24.1.4\tShould a Team be leading at the expiration of the two (2) minute period\
196
+ \ \nof extra time then that Team will be declared the Winner and Match \ncomplete.\n\
197
+ 24.1.5\tShould neither Team be leading at the expiration of two (2) minutes, a\
198
+ \ \nsignal is given and the match will pause at the next Touch or Dead Ball. \n\
199
+ Each Team will then remove another player from the Field of Play.\n24.1.6\tThe\
200
+ \ Match will recommence immediately after the players have left the \nfield at\
201
+ \ the same place where it paused (i.e. the Team retains Possession \nat the designated\
202
+ \ number of Touches, or at Change of Possession due to \nsome Infringement or\
203
+ \ the sixth Touch) and the Match will continue until"
204
+ - " without delay. While in a position at the end of the Field of Play, \nthe Team\
205
+ \ coach(s) or Team official must remain no closer than five (5) metres \nfrom\
206
+ \ the Dead Ball Line and must not coach or communicate (verbal or non-\nverbal)\
207
+ \ with either Team or the Referees.\n7  Commencement and Recommencement of Play\
208
+ \ \n7.1\tTeam captains are to toss a coin in the presence of the Referee(s) with\
209
+ \ the \nwinning captain’s Team having the choice of the direction the Team wishes\
210
+ \ \nto run in the first half; the choice of Interchange Areas for the duration\
211
+ \ of the \nmatch, including any extra time; and the choice of which team will\
212
+ \ commence \nthe match in Possession.\n7.2\tA player of the Attacking Team is\
213
+ \ to commence the match with a Tap at the \ncentre of the Halfway Line following\
214
+ \ the indication to commence play from the \nReferee.\n7.3\tFor the recommencement\
215
+ \ of play following a Half Time break, Teams shall \nchange directions and the\
216
+ \ Team not commencing the match with Possession is \nto re-start the match with\
217
+ \ a Tap.\n7.4\tFor the recommencement of play following the scoring of a Try,\
218
+ \ the Team \nagainst which the Try was conceded will recommence play with a Tap.\n\
219
+ 7.5\tA Tap may not be taken until all attacking Players are in an Onside position.\n\
220
+ Ruling = The Player will be directed to return to the Mark and to take the Tap\
221
+ \ again.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia\
222
+ \ 2020\n7\n7.6\tA Tap may not be taken until at least four (4) defending players\
223
+ \ are in an Onside \nposition or unless directed to so by the Referee. Where the\
224
+ \ number of players \non the field from the Defending Team falls below four (4),\
225
+ \ all players must be in \nan Onside position for a Tap to be taken unless directed\
226
+ \ to do so by the Referee.\nRuling = The Player will be directed to return to\
227
+ \ the Mark and to take the Tap again.\n7.7\tThe Tap to commence or recommence\
228
+ \ play must be performed without delay.\nRuling = A Penalty to the non-offending\
229
+ \ team at the centre of the Halfway line.\n8  Match Duration \n \n8.1\tA match\
230
+ \ is 40 minutes in duration, consisting of two (2) x 20 minute"
231
+ - " Attacking Team from scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT\
232
+ \ © Touch Football Australia 2020\n15\n19  Advantage \n19.1\tWhere a Defending\
233
+ \ Team player is Offside at a Tap or Rollball and attempts \nto interfere with\
234
+ \ play, the Referee will allow Advantage or award a Penalty, \nwhichever is of\
235
+ \ greater Advantage to the Attacking Team.\n19.2\tShould the Attacking Team in\
236
+ \ the act of taking the Advantage subsequently \ninfringe, the Ruling on the initial\
237
+ \ Infringement will apply.\n20  Misconduct \n20.1\tMisconduct warranting Penalty,\
238
+ \ Forced Interchange, Sin Bin or Dismissal \nincludes:\n20.1.1\tContinuous or\
239
+ \ regular breaches of the Rules;\n20.1.2\tSwearing towards another player, Referee,\
240
+ \ spectator or other match \t\nofficial;\n20.1.3\tDisputing decisions of Referees\
241
+ \ or other match official(s);\n20.1.4\tUsing more than the necessary physical\
242
+ \ force to make a Touch;\n20.1.5\tPoor sportsmanship;\n20.1.6\tTripping, striking,\
243
+ \ or otherwise assaulting another player, Referee, \nspectator or other match\
244
+ \ official; or\n20.1.7\tAny other action that is contrary to the spirit of the\
245
+ \ game.\n21  Forced Interchange \n21.1\tWhere the Referee deems it necessary\
246
+ \ to implement a Forced Interchange \nfollowing an Infringement, the Referee is\
247
+ \ to stop the match, direct the ball to \nbe placed on the Mark, advise the offending\
248
+ \ player of the reason for the Forced \nInterchange, direct that player to return\
249
+ \ to the Interchange Area, display the \nrelevant signal and award a Penalty to\
250
+ \ the non-offending Team.\n22  Sin Bin \n22.1\tThe on-field Referee is required\
251
+ \ to indicate the commencement and the end of \nthe Sin Bin time.\n22.2\tAny player\
252
+ \ sent to the Sin Bin must stand in the Sin Bin Area at the opposition’s \nend\
253
+ \ of the Field of Play and on the same side as their Interchange Area. \n22.3\t\
254
+ Any player sent to the Sin Bin must return to the Interchange Area prior to re-\n\
255
+ entering the Field of Play.\n22.4\tAny action that causes the Touch Count to restart\
256
+ \ will result in a continuation of \nthat Possession. For the avoidance of"
257
+ - source_sentence: Can National Touch Associations or their authorized competition
258
+ providers adapt or alter the FIT Playing Rules for local competitions?
259
+ sentences:
260
+ - " related matters inside the Perimeter \nfor the Duration of a match, has jurisdiction\
261
+ \ over all players, coaches and \nofficials and is required to:\n25.1.1\tInspect\
262
+ \ the Field of Play, Line Markings and Markers prior to the \ncommencement of\
263
+ \ the Match to ensure the safety of all participants.\n25.1.2\tAdjudicate on the\
264
+ \ Rules of the game;\n25.1.3\tImpose any sanction necessary to control the match;\n\
265
+ 25.1.4\tAward Tries and record the progressive score;\n25.1.5\tMaintain a count\
266
+ \ of Touches during each Possession;\n25.1.6\tAward Penalties for Infringements\
267
+ \ against the Rules; and\n25.1.7\tReport to the relevant competition administration\
268
+ \ any Sin Bins, \nDismissals or injuries to any participant sustained during a\
269
+ \ Match.\n25.2\tOnly Team captains are permitted to seek clarification of a decision\
270
+ \ directly \nfrom the Referee. An approach may only be made during a break in\
271
+ \ play or at \nthe discretion of the Referee.\nFIT Playing Rules - 5th Edition\n\
272
+ 18\nCOPYRIGHT © Touch Football Australia 2020\nHALFWAY LINE\nSIN BIN AREAS\nIN-GOAL\
273
+ \ AREA\nTRY LINE\n7 M ZONE\nDEAD BALL LINE\nPERIMETER\nINTERCHANGE\nAREA\n20M\n\
274
+ 10M\n10M\n1M\n5M\n7 M\n7 M\n7 M\n7 M\n50M\n3M\n70M\nINTERCHANGE\nAREA\n Appendix\
275
+ \ 1 – Field of Play\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
276
+ \ Australia 2020\n19\nFEDERATION OF INTERNATIONAL TOUCH\n"
277
+ - "/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
278
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
279
+ \ end of \nthe Field of Play. See Appendix 1.\nDefending Try Line\nThe line which\
280
+ \ a Team has to defend to prevent a Try.\nDefending Team\nThe Team without or\
281
+ \ which is losing Possession.\nDismissal\nWhen a player is sent from the Field\
282
+ \ of Play for the rest of the match.\nDrop-Off\nA procedure used to determine\
283
+ \ a Winner following equal scores at \nthe expiration of normal Duration.\nDuration\n\
284
+ The length of time a competition match lasts, which is normally \nforty-five minutes,\
285
+ \ inclusive of a five (5) minute Half Time.\nEnd of Play\nWhen the Referee indicates\
286
+ \ completion of the match.\nExclusion\nWhen a player is sent to the nearest Sin\
287
+ \ Bin Area following three (3) \npenalties by the Defending Team upon entering\
288
+ \ their Seven Metre \nZone. The player is counted as a player on the Field of\
289
+ \ Play and \ncannot be replaced or interchanged.\nFIT Playing Rules - 5th Edition\n\
290
+ COPYRIGHT © Touch Football Australia 2020\n1\nFIT \nFederation of International\
291
+ \ Touch\nField of Play\nThe playing area bounded by the Sidelines and Dead Ball\
292
+ \ Lines, both \nof which are out of bounds. See Appendix 1.\nForced Interchange\n\
293
+ When a player is required to undertake a compulsory Interchange for \nan Infringement\
294
+ \ ruled more serious than a Penalty but less serious \nthan a Permanent Interchange,\
295
+ \ Sin Bin or Dismissal.\nForward\nA position or direction towards the Dead Ball\
296
+ \ Line beyond the Team’s \nAttacking Try Line.\nFull Time\nThe expiration of the\
297
+ \ second period of time allowed for play.\nHalf\nThe player who takes Possession\
298
+ \ following a Rollball.\nHalf Time\nThe break in play between the two halves of\
299
+ \ a match.\nImminent\nAbout to occur, it is almost certain to occur.\nInfringement\n\
300
+ The action of a player contrary to the Rules of the game.\nIn-Goal Area\nThe area\
301
+ \ in the Field of Play bounded by the Sidelines, the Try Lines \nand the Dead\
302
+ \ Ball Lines. There are two (2), one (1) at each end of the \nField of Play. See\
303
+ \ Appendix 1.\nInterchange\nThe act of an on-field player leaving the Field of\
304
+ \ Play to be replaced \nby"
305
+ - " of Play \nThe object of the game of Touch is for each Team to score Tries\
306
+ \ and to prevent the \nopposition from scoring. The ball may be passed, knocked\
307
+ \ or handed between players \nof the Attacking Team who may in turn run or otherwise\
308
+ \ move with the ball in an \nattempt to gain territorial Advantage and to score\
309
+ \ Tries. Defending players prevent \nthe Attacking Team from gaining a territorial\
310
+ \ Advantage by touching the ball carrier. \n1  The Field of Play \n \n1.1\t\
311
+ The Field of Play is rectangular in shape measuring 70 metres in length from \n\
312
+ Try Line to Try Line, excluding the In-Goal Areas and 50 metres in width from\
313
+ \ \nSideline to Sideline excluding the Interchange Areas.\n1.1.1\tVariations to\
314
+ \ the dimensions of the Field of Play may be made but must be \nincluded in relevant\
315
+ \ competition, event or tournament conditions\n1.2\tLine Markings should be 4cm\
316
+ \ in width but must be no less than 2.5cm. Line \nMarkings are to be laid out\
317
+ \ as shown in Appendix 1 - The Field of Play. Sidelines \nextend seven (7) metres\
318
+ \ beyond the Try Lines to join the Dead Ball Lines and \ndefine the In-Goal Areas\
319
+ \ which measure fifty (50) metres wide by seven (7) \nmetres in length.\n1.3\t\
320
+ The Interchange Areas are located no closer than one (1) metre from each \nSideline.\n\
321
+ 1.4\tSuitably sized markers, cones or corner posts of a distinguishing colour\
322
+ \ and \nmade from safe and pliable material should be positioned at the intersections\
323
+ \ of \nthe Sideline and Halfway line and the Sideline and the Try Line.\n1.4.1\t\
324
+ Markers, cones or corner posts placed on the junction of the Sideline and \nTry\
325
+ \ Line are deemed to be in the Field of Play.\n1.4.2\tAll other markers or cones\
326
+ \ are deemed to be out of the Field of Play.\n1.5\tThe standard playing surface\
327
+ \ is grass. Other surfaces including synthetic grass \nmay be used but shall be\
328
+ \ subject to NTA approved standards.\n1.6\tThe Field of Play boundary lines are\
329
+ \ deemed to be out of play. Play becomes \nDead when the ball or a player in Possession\
330
+ \ touches the ground on or over a \nSideline or Dead Ball Line.\n2  Player Registration\
331
+ \ \n2.1\tParticipating players are to be registered with a NTA or with"
332
+ - source_sentence: Can an attacking player pass the ball into a defending player intentionally
333
+ seeking a rebound or a restart of the Touch count?
334
+ sentences:
335
+ - " without delay.\nRuling = A Penalty to the non-offending team at the centre of\
336
+ \ the Halfway line.\n8  Match Duration \n \n8.1\tA match is 40 minutes in duration,\
337
+ \ consisting of two (2) x 20 minute halves with \na Half Time break.\n8.1.1\t\
338
+ There is no time off for injury during a match.\n8.2\tLocal competition and tournament\
339
+ \ conditions may vary the duration of a match.\n8.3\tWhen time expires, play is\
340
+ \ to continue until the next Touch or Dead Ball and End \nof Play is signaled\
341
+ \ by the Referee. \n8.3.1\tShould a Penalty be awarded during this period, the\
342
+ \ Penalty is to be taken.\n8.4\tIf a match is abandoned in any circumstances other\
343
+ \ than those referred to in \nclause 24.1.6 the NTA or NTA competition provider\
344
+ \ in its sole discretion shall \ndetermine the result of the match.\n9  Possession\
345
+ \ \n \n9.1\tThe Team with the ball is entitled to six (6) Touches prior to a\
346
+ \ Change of \nPossession. \n9.2\tOn the Change of Possession due to an intercept,\
347
+ \ the first Touch will be zero (0) \nTouch. \n9.3\tFollowing the sixth Touch or\
348
+ \ a loss of Possession due to any other means, the \nball must be returned to\
349
+ \ the Mark without delay.\nRuling = A deliberate delay in the changeover procedure\
350
+ \ will result in a Penalty awarded to \nthe non-offending Team ten (10) metres\
351
+ \ Forward of the Mark for the Change of Possession.\n9.4\tIf the ball is dropped\
352
+ \ or passed and goes to ground during play, a Change of \nPossession results.\n\
353
+ Ruling = The Mark for the Change of Possession is where the ball makes initial\
354
+ \ contact with \nthe ground.\n9.5\tIf the ball, while still under the control\
355
+ \ of the Half, contacts the ground in the In-\nGoal Area, Possession is lost.\n\
356
+ Ruling = Play will restart with a Rollball at the nearest point on the seven (7)\
357
+ \ metre line.\nFIT Playing Rules - 5th Edition\n8\nCOPYRIGHT © Touch Football\
358
+ \ Australia 2020\n9.6\tIf a player mishandles the ball and even if in an effort\
359
+ \ to gain control, the ball \nis accidentally knocked Forward into any other Player,\
360
+ \ a Change of Possession \nresults.\n10  The Touch \n10.1\tA Touch may be made"
361
+ - " a player enters the Field of Play but does not impede the scoring of a Try the\
362
+ \ \noffending player will be sent to the Sin Bin.\n17.8\tFollowing a Try, players\
363
+ \ may Interchange at will, without having to wait for the \nplayer to enter the\
364
+ \ Interchange Area, but must do so prior to the Tap being taken \nto recommence\
365
+ \ play.\n18  Penalty \n18.1\tThe Tap must be performed in accordance with the\
366
+ \ Definitions.\nRuling = The Referee will instruct the offending Team to return\
367
+ \ to the Mark and perform the \nTap again.\n18.2\tFor Infringements that occur\
368
+ \ between seven (7) metre lines, the Mark for the \nPenalty Tap is at the point\
369
+ \ of Infringement unless otherwise indicated by the \nReferee. \n18.3\tFor Infringements\
370
+ \ that occur within the Seven Metre Zone the Tap must be \ntaken at the nearest\
371
+ \ seven (7) metre line.\n18.4\tFor Infringements that occur beyond the Field of\
372
+ \ Play or in the In-Goal Area \nthe Mark is seven (7) metres infield from the\
373
+ \ Sideline, or directly Forward of \nthe Infringement on the seven (7) metre line\
374
+ \ nearest the Infringement or at a \nposition indicated by the Referee.\n18.5\t\
375
+ The Mark must be indicated by the Referee before a Penalty Tap is taken.\n18.6\t\
376
+ The Penalty Tap must be performed without delay after the Referee indicates \n\
377
+ the Mark.\nRuling = A Penalty to the non-offending team at the point of Infringement.\n\
378
+ 18.7\tA player may perform a Rollball instead of a Penalty Tap and the player\
379
+ \ who \nreceives the ball does not become the Half.\n18.8\tIf the Defending Team\
380
+ \ is penalised three (3) times upon entering their Seven \nMetre Zone during a\
381
+ \ single Possession, the last offending player will be given an \nExclusion until\
382
+ \ the end of that Possession.\n18.9\tA Penalty Try is awarded if any action by\
383
+ \ a player, Team official or spectator, \ndeemed by the Referee to be contrary\
384
+ \ to the Rules or spirit of the game clearly \nprevents the Attacking Team from\
385
+ \ scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
386
+ \ Australia 2020\n15\n19  Advantage \n19.1\tWhere a Defending Team player is\
387
+ \ Offside at a Tap or"
388
+ - " related matters inside the Perimeter \nfor the Duration of a match, has jurisdiction\
389
+ \ over all players, coaches and \nofficials and is required to:\n25.1.1\tInspect\
390
+ \ the Field of Play, Line Markings and Markers prior to the \ncommencement of\
391
+ \ the Match to ensure the safety of all participants.\n25.1.2\tAdjudicate on the\
392
+ \ Rules of the game;\n25.1.3\tImpose any sanction necessary to control the match;\n\
393
+ 25.1.4\tAward Tries and record the progressive score;\n25.1.5\tMaintain a count\
394
+ \ of Touches during each Possession;\n25.1.6\tAward Penalties for Infringements\
395
+ \ against the Rules; and\n25.1.7\tReport to the relevant competition administration\
396
+ \ any Sin Bins, \nDismissals or injuries to any participant sustained during a\
397
+ \ Match.\n25.2\tOnly Team captains are permitted to seek clarification of a decision\
398
+ \ directly \nfrom the Referee. An approach may only be made during a break in\
399
+ \ play or at \nthe discretion of the Referee.\nFIT Playing Rules - 5th Edition\n\
400
+ 18\nCOPYRIGHT © Touch Football Australia 2020\nHALFWAY LINE\nSIN BIN AREAS\nIN-GOAL\
401
+ \ AREA\nTRY LINE\n7 M ZONE\nDEAD BALL LINE\nPERIMETER\nINTERCHANGE\nAREA\n20M\n\
402
+ 10M\n10M\n1M\n5M\n7 M\n7 M\n7 M\n7 M\n50M\n3M\n70M\nINTERCHANGE\nAREA\n Appendix\
403
+ \ 1 – Field of Play\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
404
+ \ Australia 2020\n19\nFEDERATION OF INTERNATIONAL TOUCH\n"
405
+ ---
406
+
407
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
408
+
409
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2). 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.
410
+
411
+ ## Model Details
412
+
413
+ ### Model Description
414
+ - **Model Type:** Sentence Transformer
415
+ - **Base model:** [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) <!-- at revision a05860a77cef7b37e0048a7864658139bc18a854 -->
416
+ - **Maximum Sequence Length:** 128 tokens
417
+ - **Output Dimensionality:** 384 tokens
418
+ - **Similarity Function:** Cosine Similarity
419
+ <!-- - **Training Dataset:** Unknown -->
420
+ <!-- - **Language:** Unknown -->
421
+ <!-- - **License:** Unknown -->
422
+
423
+ ### Model Sources
424
+
425
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
426
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
427
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
428
+
429
+ ### Full Model Architecture
430
+
431
+ ```
432
+ SentenceTransformer(
433
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
434
+ (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})
435
+ (2): Normalize()
436
+ )
437
+ ```
438
+
439
+ ## Usage
440
+
441
+ ### Direct Usage (Sentence Transformers)
442
+
443
+ First install the Sentence Transformers library:
444
+
445
+ ```bash
446
+ pip install -U sentence-transformers
447
+ ```
448
+
449
+ Then you can load this model and run inference.
450
+ ```python
451
+ from sentence_transformers import SentenceTransformer
452
+
453
+ # Download from the 🤗 Hub
454
+ model = SentenceTransformer("Trelis/all-MiniLM-L12-v2-ft-pairs")
455
+ # Run inference
456
+ sentences = [
457
+ 'Can an attacking player pass the ball into a defending player intentionally seeking a rebound or a restart of the Touch count?',
458
+ ' a player enters the Field of Play but does not impede the scoring of a Try the \noffending player will be sent to the Sin Bin.\n17.8\tFollowing a Try, players may Interchange at will, without having to wait for the \nplayer to enter the Interchange Area, but must do so prior to the Tap being taken \nto recommence play.\n18\u2002 Penalty \n18.1\tThe Tap must be performed in accordance with the Definitions.\nRuling = The Referee will instruct the offending Team to return to the Mark and perform the \nTap again.\n18.2\tFor Infringements that occur between seven (7) metre lines, the Mark for the \nPenalty Tap is at the point of Infringement unless otherwise indicated by the \nReferee. \n18.3\tFor Infringements that occur within the Seven Metre Zone the Tap must be \ntaken at the nearest seven (7) metre line.\n18.4\tFor Infringements that occur beyond the Field of Play or in the In-Goal Area \nthe Mark is seven (7) metres infield from the Sideline, or directly Forward of \nthe Infringement on the seven (7) metre line nearest the Infringement or at a \nposition indicated by the Referee.\n18.5\tThe Mark must be indicated by the Referee before a Penalty Tap is taken.\n18.6\tThe Penalty Tap must be performed without delay after the Referee indicates \nthe Mark.\nRuling = A Penalty to the non-offending team at the point of Infringement.\n18.7\tA player may perform a Rollball instead of a Penalty Tap and the player who \nreceives the ball does not become the Half.\n18.8\tIf the Defending Team is penalised three (3) times upon entering their Seven \nMetre Zone during a single Possession, the last offending player will be given an \nExclusion until the end of that Possession.\n18.9\tA Penalty Try is awarded if any action by a player, Team official or spectator, \ndeemed by the Referee to be contrary to the Rules or spirit of the game clearly \nprevents the Attacking Team from scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n15\n19\u2002 Advantage \n19.1\tWhere a Defending Team player is Offside at a Tap or',
459
+ ' without delay.\nRuling = A Penalty to the non-offending team at the centre of the Halfway line.\n8\u2002 Match Duration \n \n8.1\tA match is 40 minutes in duration, consisting of two (2) x 20 minute halves with \na Half Time break.\n8.1.1\tThere is no time off for injury during a match.\n8.2\tLocal competition and tournament conditions may vary the duration of a match.\n8.3\tWhen time expires, play is to continue until the next Touch or Dead Ball and End \nof Play is signaled by the Referee. \n8.3.1\tShould a Penalty be awarded during this period, the Penalty is to be taken.\n8.4\tIf a match is abandoned in any circumstances other than those referred to in \nclause 24.1.6 the NTA or NTA competition provider in its sole discretion shall \ndetermine the result of the match.\n9\u2002 Possession \n \n9.1\tThe Team with the ball is entitled to six (6) Touches prior to a Change of \nPossession. \n9.2\tOn the Change of Possession due to an intercept, the first Touch will be zero (0) \nTouch. \n9.3\tFollowing the sixth Touch or a loss of Possession due to any other means, the \nball must be returned to the Mark without delay.\nRuling = A deliberate delay in the changeover procedure will result in a Penalty awarded to \nthe non-offending Team ten (10) metres Forward of the Mark for the Change of Possession.\n9.4\tIf the ball is dropped or passed and goes to ground during play, a Change of \nPossession results.\nRuling = The Mark for the Change of Possession is where the ball makes initial contact with \nthe ground.\n9.5\tIf the ball, while still under the control of the Half, contacts the ground in the In-\nGoal Area, Possession is lost.\nRuling = Play will restart with a Rollball at the nearest point on the seven (7) metre line.\nFIT Playing Rules - 5th Edition\n8\nCOPYRIGHT © Touch Football Australia 2020\n9.6\tIf a player mishandles the ball and even if in an effort to gain control, the ball \nis accidentally knocked Forward into any other Player, a Change of Possession \nresults.\n10\u2002 The Touch \n10.1\tA Touch may be made',
460
+ ]
461
+ embeddings = model.encode(sentences)
462
+ print(embeddings.shape)
463
+ # [3, 384]
464
+
465
+ # Get the similarity scores for the embeddings
466
+ similarities = model.similarity(embeddings, embeddings)
467
+ print(similarities.shape)
468
+ # [3, 3]
469
+ ```
470
+
471
+ <!--
472
+ ### Direct Usage (Transformers)
473
+
474
+ <details><summary>Click to see the direct usage in Transformers</summary>
475
+
476
+ </details>
477
+ -->
478
+
479
+ <!--
480
+ ### Downstream Usage (Sentence Transformers)
481
+
482
+ You can finetune this model on your own dataset.
483
+
484
+ <details><summary>Click to expand</summary>
485
+
486
+ </details>
487
+ -->
488
+
489
+ <!--
490
+ ### Out-of-Scope Use
491
+
492
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
493
+ -->
494
+
495
+ <!--
496
+ ## Bias, Risks and Limitations
497
+
498
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
499
+ -->
500
+
501
+ <!--
502
+ ### Recommendations
503
+
504
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
505
+ -->
506
+
507
+ ## Training Details
508
+
509
+ ### Training Hyperparameters
510
+ #### Non-Default Hyperparameters
511
+
512
+ - `eval_strategy`: steps
513
+ - `per_device_train_batch_size`: 32
514
+ - `per_device_eval_batch_size`: 32
515
+ - `learning_rate`: 1e-05
516
+ - `num_train_epochs`: 1
517
+ - `lr_scheduler_type`: cosine
518
+ - `warmup_ratio`: 0.3
519
+ - `bf16`: True
520
+
521
+ #### All Hyperparameters
522
+ <details><summary>Click to expand</summary>
523
+
524
+ - `overwrite_output_dir`: False
525
+ - `do_predict`: False
526
+ - `eval_strategy`: steps
527
+ - `prediction_loss_only`: True
528
+ - `per_device_train_batch_size`: 32
529
+ - `per_device_eval_batch_size`: 32
530
+ - `per_gpu_train_batch_size`: None
531
+ - `per_gpu_eval_batch_size`: None
532
+ - `gradient_accumulation_steps`: 1
533
+ - `eval_accumulation_steps`: None
534
+ - `learning_rate`: 1e-05
535
+ - `weight_decay`: 0.0
536
+ - `adam_beta1`: 0.9
537
+ - `adam_beta2`: 0.999
538
+ - `adam_epsilon`: 1e-08
539
+ - `max_grad_norm`: 1.0
540
+ - `num_train_epochs`: 1
541
+ - `max_steps`: -1
542
+ - `lr_scheduler_type`: cosine
543
+ - `lr_scheduler_kwargs`: {}
544
+ - `warmup_ratio`: 0.3
545
+ - `warmup_steps`: 0
546
+ - `log_level`: passive
547
+ - `log_level_replica`: warning
548
+ - `log_on_each_node`: True
549
+ - `logging_nan_inf_filter`: True
550
+ - `save_safetensors`: True
551
+ - `save_on_each_node`: False
552
+ - `save_only_model`: False
553
+ - `restore_callback_states_from_checkpoint`: False
554
+ - `no_cuda`: False
555
+ - `use_cpu`: False
556
+ - `use_mps_device`: False
557
+ - `seed`: 42
558
+ - `data_seed`: None
559
+ - `jit_mode_eval`: False
560
+ - `use_ipex`: False
561
+ - `bf16`: True
562
+ - `fp16`: False
563
+ - `fp16_opt_level`: O1
564
+ - `half_precision_backend`: auto
565
+ - `bf16_full_eval`: False
566
+ - `fp16_full_eval`: False
567
+ - `tf32`: None
568
+ - `local_rank`: 0
569
+ - `ddp_backend`: None
570
+ - `tpu_num_cores`: None
571
+ - `tpu_metrics_debug`: False
572
+ - `debug`: []
573
+ - `dataloader_drop_last`: False
574
+ - `dataloader_num_workers`: 0
575
+ - `dataloader_prefetch_factor`: None
576
+ - `past_index`: -1
577
+ - `disable_tqdm`: False
578
+ - `remove_unused_columns`: True
579
+ - `label_names`: None
580
+ - `load_best_model_at_end`: False
581
+ - `ignore_data_skip`: False
582
+ - `fsdp`: []
583
+ - `fsdp_min_num_params`: 0
584
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
585
+ - `fsdp_transformer_layer_cls_to_wrap`: None
586
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
587
+ - `deepspeed`: None
588
+ - `label_smoothing_factor`: 0.0
589
+ - `optim`: adamw_torch
590
+ - `optim_args`: None
591
+ - `adafactor`: False
592
+ - `group_by_length`: False
593
+ - `length_column_name`: length
594
+ - `ddp_find_unused_parameters`: None
595
+ - `ddp_bucket_cap_mb`: None
596
+ - `ddp_broadcast_buffers`: False
597
+ - `dataloader_pin_memory`: True
598
+ - `dataloader_persistent_workers`: False
599
+ - `skip_memory_metrics`: True
600
+ - `use_legacy_prediction_loop`: False
601
+ - `push_to_hub`: False
602
+ - `resume_from_checkpoint`: None
603
+ - `hub_model_id`: None
604
+ - `hub_strategy`: every_save
605
+ - `hub_private_repo`: False
606
+ - `hub_always_push`: False
607
+ - `gradient_checkpointing`: False
608
+ - `gradient_checkpointing_kwargs`: None
609
+ - `include_inputs_for_metrics`: False
610
+ - `eval_do_concat_batches`: True
611
+ - `fp16_backend`: auto
612
+ - `push_to_hub_model_id`: None
613
+ - `push_to_hub_organization`: None
614
+ - `mp_parameters`:
615
+ - `auto_find_batch_size`: False
616
+ - `full_determinism`: False
617
+ - `torchdynamo`: None
618
+ - `ray_scope`: last
619
+ - `ddp_timeout`: 1800
620
+ - `torch_compile`: False
621
+ - `torch_compile_backend`: None
622
+ - `torch_compile_mode`: None
623
+ - `dispatch_batches`: None
624
+ - `split_batches`: None
625
+ - `include_tokens_per_second`: False
626
+ - `include_num_input_tokens_seen`: False
627
+ - `neftune_noise_alpha`: None
628
+ - `optim_target_modules`: None
629
+ - `batch_eval_metrics`: False
630
+ - `batch_sampler`: batch_sampler
631
+ - `multi_dataset_batch_sampler`: proportional
632
+
633
+ </details>
634
+
635
+ ### Training Logs
636
+ | Epoch | Step | Training Loss | loss |
637
+ |:------:|:----:|:-------------:|:------:|
638
+ | 0.1364 | 6 | 7.9127 | 6.9307 |
639
+ | 0.2727 | 12 | 7.5286 | 6.2160 |
640
+ | 0.4091 | 18 | 6.479 | 5.4784 |
641
+ | 0.5455 | 24 | 5.9214 | 5.0664 |
642
+ | 0.6818 | 30 | 5.5053 | 4.9428 |
643
+ | 0.8182 | 36 | 5.7077 | 4.8511 |
644
+ | 0.9545 | 42 | 5.3669 | 4.8320 |
645
+
646
+
647
+ ### Framework Versions
648
+ - Python: 3.10.12
649
+ - Sentence Transformers: 3.0.1
650
+ - Transformers: 4.41.2
651
+ - PyTorch: 2.1.1+cu121
652
+ - Accelerate: 0.31.0
653
+ - Datasets: 2.17.1
654
+ - Tokenizers: 0.19.1
655
+
656
+ ## Citation
657
+
658
+ ### BibTeX
659
+
660
+ #### Sentence Transformers
661
+ ```bibtex
662
+ @inproceedings{reimers-2019-sentence-bert,
663
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
664
+ author = "Reimers, Nils and Gurevych, Iryna",
665
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
666
+ month = "11",
667
+ year = "2019",
668
+ publisher = "Association for Computational Linguistics",
669
+ url = "https://arxiv.org/abs/1908.10084",
670
+ }
671
+ ```
672
+
673
+ #### CoSENTLoss
674
+ ```bibtex
675
+ @online{kexuefm-8847,
676
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
677
+ author={Su Jianlin},
678
+ year={2022},
679
+ month={Jan},
680
+ url={https://kexue.fm/archives/8847},
681
+ }
682
+ ```
683
+
684
+ <!--
685
+ ## Glossary
686
+
687
+ *Clearly define terms in order to be accessible across audiences.*
688
+ -->
689
+
690
+ <!--
691
+ ## Model Card Authors
692
+
693
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
694
+ -->
695
+
696
+ <!--
697
+ ## Model Card Contact
698
+
699
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
700
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L12-v2",
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": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.41.2",
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.0.1",
4
+ "transformers": "4.41.2",
5
+ "pytorch": "2.1.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83ad4709059e7eafdf843f55c94f87dbde119ada5a674f5185813270bb166e21
3
+ size 133462128
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": 128,
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 128,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff