RonanMcGovern commited on
Commit
5f867e9
1 Parent(s): 7ffdb24

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,746 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:192
13
+ - loss:TripletLoss
14
+ widget:
15
+ - source_sentence: What happens if a player is serving time in the Sin Bin at the
16
+ commencement of the Drop-Off?
17
+ sentences:
18
+ - " becomes \nDead when the ball or a player in Possession touches the ground on\
19
+ \ or over a \nSideline or Dead Ball Line.\n2  Player Registration \n2.1\tParticipating\
20
+ \ players are to be registered with a NTA or with an approved NTA \ncompetition\
21
+ \ provider.\n2.2\tTeams playing unregistered players are liable to forfeit any\
22
+ \ match in which \nunregistered players have competed.\nFIT Playing Rules - 5th\
23
+ \ Edition\nCOPYRIGHT © Touch Football Australia 2020\n5\n3  The Ball \n3.1\t\
24
+ The game is played with an oval, inflated ball of a shape, colour and size \n\
25
+ approved by FIT or the NTA.\n3.2\tThe ball shall be inflated to the manufacturers’\
26
+ \ recommended air pressure.\n3.3\tThe Referee shall immediately pause the match\
27
+ \ if the size and shape of the ball \nno longer complies with clauses 3.1 or 3.2\
28
+ \ to allow for the ball to replaced or the \nissue rectified.\n3.4\tThe ball must\
29
+ \ not be hidden under player attire.\n4  Playing Uniform \n4.1\tParticipating\
30
+ \ players are to be correctly attired in matching Team uniforms\n4.2\tPlaying\
31
+ \ uniforms consist of shirt, singlet or other item as approved by the NTA \nor\
32
+ \ NTA competition provider, shorts and/or tights and socks.\n4.3\tAll players\
33
+ \ are to wear a unique identifying number not less than 16cm in height, \nclearly\
34
+ \ displayed on the rear of the playing top.\n4.3.1\tIdentifying numbers must feature\
35
+ \ no more than two (2) digits.\n4.4\tHats or caps are permitted to be worn during\
36
+ \ a match provided they are safe \nand meet any NTA regulations.\n4.5\tSafe footwear\
37
+ \ must be worn with exceptions allowed for game variants such as \nBeach Touch.\n\
38
+ 4.6\tLight leather or synthetic boots with soft moulded soles are permitted.\n\
39
+ 4.6.1\tShoes with screw-in studs are not to be worn by any player or Referee.\n\
40
+ 4.7\tPlayers are not to participate in any match wearing any item of jewellery,\
41
+ \ \nchain, identification band/bracelet or similar item that may prove dangerous.\
42
+ \ \nAny jewellery or other items that cannot be removed are to be taped to the\
43
+ \ \nsatisfaction of the Referee.\n4.8\tLong (extend beyond the finger flesh when\
44
+ \ viewed from the palm) or sharp \nf"
45
+ - " at the same place where it paused (i.e. the Team retains Possession \nat the\
46
+ \ designated number of Touches, or at Change of Possession due to \nsome Infringement\
47
+ \ or the sixth Touch) and the Match will continue until a \nTry is scored.\n24.1.7\t\
48
+ There is no time off during the Drop-Off and the clock does not stop at \nthe\
49
+ \ two (2) minute interval.\n24.1.8\tSubstitution during the Drop-Off is permitted\
50
+ \ in accordance with normal \nInterchange Rules.\n24.2\tMixed gender Teams may\
51
+ \ have no more than (2) males on the field during the \nDrop-Off.\n24.2.1\tIn\
52
+ \ the case of a male player serving time in the Sin Bin at the \ncommencement\
53
+ \ of the Drop-Off the offending Team will start with no \nmore than one (1) male\
54
+ \ on the field.\n24.2.2\tWhere a male player has been dismissed for the remainder\
55
+ \ of the match, \nthe offending Team will be permitted to have no more than one\
56
+ \ (1) male \non the field for the duration of the Drop-Off. \nFIT Playing Rules\
57
+ \ - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n17\n24.3\tAt the commencement\
58
+ \ of the Drop-Off, if there is a player serving time in the \nSin Bin and is\
59
+ \ yet to complete the required time, their Team commences the \nDrop-Off with\
60
+ \ one (1) less player on the field than their opposition and continues \nto play\
61
+ \ with one (1) player less until the Sin Bin period has been completed.\n24.4\t\
62
+ At the commencement of the Drop-Off, if a Team has had a player dismissed for\
63
+ \ \nthe remainder of the match that Team continues to play with one (1) player\
64
+ \ less \nthan the opposition Team for the duration of the Drop-Off.\n24.5\tFor\
65
+ \ the avoidance of doubt for clauses 24.3 and 24.4 the non-offending Team \nwill\
66
+ \ retain a numerical advantage on the Field of Play during the Drop-Off.\n25 \
67
+ \ Match Officials \n25.1\tThe Referee is the sole judge on all match related\
68
+ \ matters inside the Perimeter \nfor the Duration of a match, has jurisdiction\
69
+ \ over all players, coaches and \nofficials and is required to:\n25.1.1\tInspect\
70
+ \ the Field of Play, Line Markings and Markers prior to"
71
+ - " distance beyond the Defending Try Line.\nRuling = A Penalty to the Attacking\
72
+ \ Team at the point of the Infringement or on the seven (7) \nmetre line directly\
73
+ \ Forward of the Infringement.\n15.4\tWhen a Rollball occurs within Defending\
74
+ \ Team’s Seven Metre Zone or a Penalty \nTap within ten (10) metres of the Defending\
75
+ \ Team’s Try Line, all players from the \nDefending Team must have both feet on\
76
+ \ or behind their Try Line and no other \npart of the body in contact with the\
77
+ \ ground Forward of their Try Line.\nRuling = A Penalty to the Attacking Team\
78
+ \ at the seven (7) metre line directly Forward of the \npoint of the Infringement.\n\
79
+ 15.5\tAfter effecting the Touch, the defending player must retire the required\
80
+ \ seven \n(7) metres or to the Defending Try Line as indicated by the Referee\
81
+ \ without \ninterfering with the Attacking Team.\nRuling = A Penalty to the Attacking\
82
+ \ Team ten (10) metres Forward of the Infringement or if \non the Defensive Try\
83
+ \ Line, on the seven (7) metre line.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT\
84
+ \ © Touch Football Australia 2020\n13\n16  Obstruction \n16.1\tA player in Possession\
85
+ \ must not run or otherwise move behind other attacking \nplayers or the Referee\
86
+ \ in an attempt to avoid an Imminent Touch.\nRuling = A Penalty to the non-offending\
87
+ \ Team at the point of the Infringement. \n16.2\tThe player in Possession is not\
88
+ \ to hold or otherwise impede a defending player \nin any way.\nRuling = A Penalty\
89
+ \ to the non-offending Team at the point of the Infringement. \n16.3\tAn attacking\
90
+ \ player in support of the player in Possession may move as \nnecessary to achieve\
91
+ \ a supporting position but must not grab, hold, push or \notherwise deliberately\
92
+ \ interfere with a defending player attempting to make a \nTouch\nRuling = A Penalty\
93
+ \ to the non-offending Team at the point of the Infringement or on the \nseven\
94
+ \ (7) metre line if the Infringement occurs in the In-Goal Area. \n16.4\tPlayers\
95
+ \ in the Defending Team may not obstruct or interfere with an attacking \nplayer.\n\
96
+ Ruling = A Penalty to the non-offending Team at the point of the In"
97
+ - source_sentence: What happens if a match is abandoned due to circumstances other
98
+ than those referred to in clause 24.1.6?
99
+ sentences:
100
+ - " without delay.\nRuling = A Penalty to the non-offending team at the centre of\
101
+ \ the Halfway line.\n8  Match Duration \n \n8.1\tA match is 40 minutes in duration,\
102
+ \ consisting of two (2) x 20 minute halves with \na Half Time break.\n8.1.1\t\
103
+ There is no time off for injury during a match.\n8.2\tLocal competition and tournament\
104
+ \ conditions may vary the duration of a match.\n8.3\tWhen time expires, play is\
105
+ \ to continue until the next Touch or Dead Ball and End \nof Play is signaled\
106
+ \ by the Referee. \n8.3.1\tShould a Penalty be awarded during this period, the\
107
+ \ Penalty is to be taken.\n8.4\tIf a match is abandoned in any circumstances other\
108
+ \ than those referred to in \nclause 24.1.6 the NTA or NTA competition provider\
109
+ \ in its sole discretion shall \ndetermine the result of the match.\n9  Possession\
110
+ \ \n \n9.1\tThe Team with the ball is entitled to six (6) Touches prior to a\
111
+ \ Change of \nPossession. \n9.2\tOn the Change of Possession due to an intercept,\
112
+ \ the first Touch will be zero (0) \nTouch. \n9.3\tFollowing the sixth Touch or\
113
+ \ a loss of Possession due to any other means, the \nball must be returned to\
114
+ \ the Mark without delay.\nRuling = A deliberate delay in the changeover procedure\
115
+ \ will result in a Penalty awarded to \nthe non-offending Team ten (10) metres\
116
+ \ Forward of the Mark for the Change of Possession.\n9.4\tIf the ball is dropped\
117
+ \ or passed and goes to ground during play, a Change of \nPossession results.\n\
118
+ Ruling = The Mark for the Change of Possession is where the ball makes initial\
119
+ \ contact with \nthe ground.\n9.5\tIf the ball, while still under the control\
120
+ \ of the Half, contacts the ground in the In-\nGoal Area, Possession is lost.\n\
121
+ Ruling = Play will restart with a Rollball at the nearest point on the seven (7)\
122
+ \ metre line.\nFIT Playing Rules - 5th Edition\n8\nCOPYRIGHT © Touch Football\
123
+ \ Australia 2020\n9.6\tIf a player mishandles the ball and even if in an effort\
124
+ \ to gain control, the ball \nis accidentally knocked Forward into any other Player,\
125
+ \ a Change of Possession \nresults.\n10  The Touch \n10.1\tA Touch may be made"
126
+ - " item that may prove dangerous. \nAny jewellery or other items that cannot be\
127
+ \ removed are to be taped to the \nsatisfaction of the Referee.\n4.8\tLong (extend\
128
+ \ beyond the finger flesh when viewed from the palm) or sharp \nfingernails are\
129
+ \ not allowed.\n4.9\tReferees and players may wear spectacles or sunglasses provided\
130
+ \ they are safe \nand securely attached.\n4.10\tReferees and players may wear\
131
+ \ sport monitoring equipment and medical \nsupports such as knee or ankle braces\
132
+ \ provided, at the sole discretion of \ncompetition’s controlling body, the items\
133
+ \ are not dangerous.\n5  Team Composition \n5.1\tA Team consists of a maximum\
134
+ \ of 14 players, no more than six (6) of whom are \nallowed on the field at any\
135
+ \ time. \nFIT Playing Rules - 5th Edition\n6\nCOPYRIGHT © Touch Football Australia\
136
+ \ 2020\nRuling = A Penalty awarded to the non-offending Team at the time the offence\
137
+ \ is identified \nseven (7) metres infield on the Halfway Line or the position\
138
+ \ of the ball, whichever is the \ngreater Advantage.\n5.2\tA Team must have a\
139
+ \ minimum of four (4) players on the field for a match to \ncommence or continue,\
140
+ \ except during a Drop-Off.\n5.3\tWhere the number of players on the field from\
141
+ \ one Team falls below four (4), \nthe match is to be abandoned and the non-offending\
142
+ \ Team is to be declared the \nWinner.\n5.3.1\tThis does not apply for players\
143
+ \ sent to the Sin Bin Area.\n5.4\tIn mixed gender competitions, the maximum number\
144
+ \ of males allowed on the \nField of Play is three (3), the minimum male requirement\
145
+ \ is one (1) and the \nminimum female requirement is one (1).\n6  Team Coach and\
146
+ \ Team Officials \n6.1\tThe Team coach(s) and Team officials may be permitted\
147
+ \ inside the Perimeter \nbut shall be required to be positioned either in the\
148
+ \ Interchange Area or at the \nend of the Field of Play for the duration of the\
149
+ \ match.\n6.2\tThe Team coach(s) and Team officials may move from one position\
150
+ \ to the other \nbut shall do so without delay. While in a position at the end\
151
+ \ of the Field of Play, \nthe Team coach(s) or Team official must remain no closer\
152
+ \ than five (5) metres \nfrom the Dead Ball Line and must not coach or communicate\
153
+ \ (verbal"
154
+ - " it is not the sixth Touch and the player is not Half.\n10.9\tIf a player in\
155
+ \ Possession is Touched while on or behind their Defending Try Line, \nthe Touch\
156
+ \ counts and once the Referee sets the Mark seven (7) metres directly \nForward\
157
+ \ of the contact point from the Defending Team’s Try Line, a Rollball is \nperformed.\n\
158
+ 10.10\tIf a player in Possession intentionally makes a Touch on an Offside defender\
159
+ \ \nwho is making every effort to retire and remain out of play, the Touch counts.\n\
160
+ FIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n9\n\
161
+ 10.11\tIf a Touch is made on a player in Possession while the player is juggling\
162
+ \ the ball \nin an attempt to maintain control of it, the Touch counts if the\
163
+ \ attacking player \nfollowing the Touch retains Possession.\n10.12\tIf a player\
164
+ \ in Possession is Touched and subsequently makes contact with \neither the Sideline,\
165
+ \ a field marker or the ground outside the Field of Play, the \nTouch counts and\
166
+ \ play continues with a Rollball at the Mark where the Touch \noccurred.\n10.13\t\
167
+ When a player from the Defending Team enters its defensive Seven Metre Zone, \n\
168
+ the Defending Team must move Forward at a reasonable pace until a Touch is \n\
169
+ Imminent or made.\nRuling = A Penalty to the Attacking Team at the point of the\
170
+ \ Infringement.\n10.14\tWhen a player in Possession enters the Defending Teams’\
171
+ \ Seven Metre Zone \nthe Defending Team is not obliged to move Forward but cannot\
172
+ \ retire back \ntowards their Try Line until a Touch is Imminent or made.\nRuling\
173
+ \ = A Penalty to the Attacking Team at the seven (7) metre line in line with the\
174
+ \ point of \nthe Infringement.\n11  Passing \n \n11.1\tA player in Possession\
175
+ \ may not kick, pass, flick, knock, throw, hand-off or \notherwise propel the\
176
+ \ ball in a Forward direction, either intentionally or otherwise \nto another\
177
+ \ player.\nRuling = A Penalty will be awarded to the Defending Team at the Mark\
178
+ \ where the ball was \npropelled Forward unless Advantage is applied.\n11.2\t\
179
+ A player in Possession may not intentionally kick, pass, flick, knock, throw,\
180
+ \ \nhand-off or otherwise propel the ball in a Forward direction over an opposition\
181
+ \ \nplayer and regain Possession.\nR"
182
+ - source_sentence: What are some examples of Misconduct warranting Penalty, Forced
183
+ Interchange, Sin Bin or Dismissal?
184
+ sentences:
185
+ - " Attacking Team from scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT\
186
+ \ © Touch Football Australia 2020\n15\n19  Advantage \n19.1\tWhere a Defending\
187
+ \ Team player is Offside at a Tap or Rollball and attempts \nto interfere with\
188
+ \ play, the Referee will allow Advantage or award a Penalty, \nwhichever is of\
189
+ \ greater Advantage to the Attacking Team.\n19.2\tShould the Attacking Team in\
190
+ \ the act of taking the Advantage subsequently \ninfringe, the Ruling on the initial\
191
+ \ Infringement will apply.\n20  Misconduct \n20.1\tMisconduct warranting Penalty,\
192
+ \ Forced Interchange, Sin Bin or Dismissal \nincludes:\n20.1.1\tContinuous or\
193
+ \ regular breaches of the Rules;\n20.1.2\tSwearing towards another player, Referee,\
194
+ \ spectator or other match \t\nofficial;\n20.1.3\tDisputing decisions of Referees\
195
+ \ or other match official(s);\n20.1.4\tUsing more than the necessary physical\
196
+ \ force to make a Touch;\n20.1.5\tPoor sportsmanship;\n20.1.6\tTripping, striking,\
197
+ \ or otherwise assaulting another player, Referee, \nspectator or other match\
198
+ \ official; or\n20.1.7\tAny other action that is contrary to the spirit of the\
199
+ \ game.\n21  Forced Interchange \n21.1\tWhere the Referee deems it necessary\
200
+ \ to implement a Forced Interchange \nfollowing an Infringement, the Referee is\
201
+ \ to stop the match, direct the ball to \nbe placed on the Mark, advise the offending\
202
+ \ player of the reason for the Forced \nInterchange, direct that player to return\
203
+ \ to the Interchange Area, display the \nrelevant signal and award a Penalty to\
204
+ \ the non-offending Team.\n22  Sin Bin \n22.1\tThe on-field Referee is required\
205
+ \ to indicate the commencement and the end of \nthe Sin Bin time.\n22.2\tAny player\
206
+ \ sent to the Sin Bin must stand in the Sin Bin Area at the opposition’s \nend\
207
+ \ of the Field of Play and on the same side as their Interchange Area. \n22.3\t\
208
+ Any player sent to the Sin Bin must return to the Interchange Area prior to re-\n\
209
+ entering the Field of Play.\n22.4\tAny action that causes the Touch Count to restart\
210
+ \ will result in a continuation of \nthat Possession. For the avoidance of"
211
+ - "\tIf a player mishandles the ball and even if in an effort to gain control, the\
212
+ \ ball \nis accidentally knocked Forward into any other Player, a Change of Possession\
213
+ \ \nresults.\n10  The Touch \n10.1\tA Touch may be made by either a defending\
214
+ \ player or a player in Possession.\n10.2\tA defending player may not claim a\
215
+ \ Touch if contact has not been made. If a \nplayer claims a Touch has been made,\
216
+ \ but the Referee is unsure the Touch will \ncount.\nRuling = A Penalty to the\
217
+ \ Attacking Team at the point of the Infringement and the offending \nplayer sent\
218
+ \ to the Sin Bin.\n10.3\tPlayers of both Defending and Attacking Teams are to\
219
+ \ use the minimum force \nnecessary to make a Touch. Players must ensure that\
220
+ \ the method employed in \nmaking a Touch does not pose an unnecessary risk to\
221
+ \ player safety.\nRuling = A Penalty to the non-offending Team at the point of\
222
+ \ the Infringement.\n10.4\tIf the ball is accidentally knocked from the hands\
223
+ \ of a player in Possession \nduring a Touch, the Touch counts and the Attacking\
224
+ \ Team retains Possession.\n10.5\tThe defending player must not deliberately knock\
225
+ \ the ball from the hands of a \nplayer in Possession during a Touch.\n Ruling\
226
+ \ = A Penalty to the Attacking Team at the point of the Infringement.\n10.6\t\
227
+ A player must not pass or otherwise deliver the ball after a Touch has been \n\
228
+ made.\nRuling = A Penalty to the Defending Team at the point of the Infringement,\
229
+ \ or if In-Goal the \nnearest point on the seven (7) metre line.\n10.7\tThe Half\
230
+ \ may pass or run with the ball but cannot get Touched while in \nPossession of\
231
+ \ the ball.\nRuling = A Change of Possession occurs at the point of the Touch,\
232
+ \ or if In-Goal the nearest \npoint on the seven (7) metre line.\n10.8\tIf a Touch\
233
+ \ is made in the In-Goal Area before the ball is grounded, the player in \nPossession\
234
+ \ is to perform a Rollball seven (7) metres from the Team’s Attacking \nTry Line,\
235
+ \ provided it is not the sixth Touch and the player is not Half.\n10.9\tIf a\
236
+ \ player in Possession is Touched while on or behind their Defending Try Line,\
237
+ \ \nthe Touch counts and once the Referee sets the Mark seven ("
238
+ - " to the Sin Bin must return to the Interchange Area prior to re-\nentering the\
239
+ \ Field of Play.\n22.4\tAny action that causes the Touch Count to restart will\
240
+ \ result in a continuation of \nthat Possession. For the avoidance of doubt, should\
241
+ \ a defender knock the ball \ndown or give away a Penalty, this does not mean\
242
+ \ that the Possession has been \ncompleted, but rather the Possession continues.\
243
+ \ \nFIT Playing Rules - 5th Edition\n16\nCOPYRIGHT © Touch Football Australia\
244
+ \ 2020\n23  Dismissal \n23.1\tA player or official dismissed for misconduct is\
245
+ \ to take no further part in that \nmatch and is to move to and remain outside\
246
+ \ the Perimeter for the remainder of \nthe match.\n23.2\tThe dismissed player\
247
+ \ or official cannot be replaced and, in accordance with NTA \nDisciplinary Regulations,\
248
+ \ that player shall receive an automatic two (2) match \nsuspension. \n24  Drop-Off\
249
+ \ \n24.1\tShould a Winner be required in drawn matches, the following Drop-Off\
250
+ \ \nprocedure is used to determine a Winner.\n24.1.1\tEach Team will reduce their\
251
+ \ on-field Team to four (4) players and within \n60 seconds take up a position\
252
+ \ to restart play from the Halfway Line, \ndefending the same end of the field\
253
+ \ as at the End of Play.\n24.1.2\tThe Drop-Off commences with a Tap from the centre\
254
+ \ of the Halfway Line \nby the Team that did not commence the match with Possession.\n\
255
+ 24.1.3\tThe Drop-Off will commence with a two (2) minute period of extra time.\n\
256
+ 24.1.4\tShould a Team be leading at the expiration of the two (2) minute period\
257
+ \ \nof extra time then that Team will be declared the Winner and Match \ncomplete.\n\
258
+ 24.1.5\tShould neither Team be leading at the expiration of two (2) minutes, a\
259
+ \ \nsignal is given and the match will pause at the next Touch or Dead Ball. \n\
260
+ Each Team will then remove another player from the Field of Play.\n24.1.6\tThe\
261
+ \ Match will recommence immediately after the players have left the \nfield at\
262
+ \ the same place where it paused (i.e. the Team retains Possession \nat the designated\
263
+ \ number of Touches, or at Change of Possession due to \nsome Infringement or\
264
+ \ the sixth Touch) and the Match will continue until"
265
+ - source_sentence: What is the consequence of a player in possession making contact
266
+ with the sideline, a field marker, or the ground outside the field of play after
267
+ being touched?
268
+ sentences:
269
+ - "/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
270
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
271
+ \ end of \nthe Field of Play. See Appendix 1.\nDefending Try Line\nThe line which\
272
+ \ a Team has to defend to prevent a Try.\nDefending Team\nThe Team without or\
273
+ \ which is losing Possession.\nDismissal\nWhen a player is sent from the Field\
274
+ \ of Play for the rest of the match.\nDrop-Off\nA procedure used to determine\
275
+ \ a Winner following equal scores at \nthe expiration of normal Duration.\nDuration\n\
276
+ The length of time a competition match lasts, which is normally \nforty-five minutes,\
277
+ \ inclusive of a five (5) minute Half Time.\nEnd of Play\nWhen the Referee indicates\
278
+ \ completion of the match.\nExclusion\nWhen a player is sent to the nearest Sin\
279
+ \ Bin Area following three (3) \npenalties by the Defending Team upon entering\
280
+ \ their Seven Metre \nZone. The player is counted as a player on the Field of\
281
+ \ Play and \ncannot be replaced or interchanged.\nFIT Playing Rules - 5th Edition\n\
282
+ COPYRIGHT © Touch Football Australia 2020\n1\nFIT \nFederation of International\
283
+ \ Touch\nField of Play\nThe playing area bounded by the Sidelines and Dead Ball\
284
+ \ Lines, both \nof which are out of bounds. See Appendix 1.\nForced Interchange\n\
285
+ When a player is required to undertake a compulsory Interchange for \nan Infringement\
286
+ \ ruled more serious than a Penalty but less serious \nthan a Permanent Interchange,\
287
+ \ Sin Bin or Dismissal.\nForward\nA position or direction towards the Dead Ball\
288
+ \ Line beyond the Team’s \nAttacking Try Line.\nFull Time\nThe expiration of the\
289
+ \ second period of time allowed for play.\nHalf\nThe player who takes Possession\
290
+ \ following a Rollball.\nHalf Time\nThe break in play between the two halves of\
291
+ \ a match.\nImminent\nAbout to occur, it is almost certain to occur.\nInfringement\n\
292
+ The action of a player contrary to the Rules of the game.\nIn-Goal Area\nThe area\
293
+ \ in the Field of Play bounded by the Sidelines, the Try Lines \nand the Dead\
294
+ \ Ball Lines. There are two (2), one (1) at each end of the \nField of Play. See\
295
+ \ Appendix 1.\nInterchange\nThe act of an on-field player leaving the Field of\
296
+ \ Play to be replaced \nby"
297
+ - "\tIf a player mishandles the ball and even if in an effort to gain control, the\
298
+ \ ball \nis accidentally knocked Forward into any other Player, a Change of Possession\
299
+ \ \nresults.\n10  The Touch \n10.1\tA Touch may be made by either a defending\
300
+ \ player or a player in Possession.\n10.2\tA defending player may not claim a\
301
+ \ Touch if contact has not been made. If a \nplayer claims a Touch has been made,\
302
+ \ but the Referee is unsure the Touch will \ncount.\nRuling = A Penalty to the\
303
+ \ Attacking Team at the point of the Infringement and the offending \nplayer sent\
304
+ \ to the Sin Bin.\n10.3\tPlayers of both Defending and Attacking Teams are to\
305
+ \ use the minimum force \nnecessary to make a Touch. Players must ensure that\
306
+ \ the method employed in \nmaking a Touch does not pose an unnecessary risk to\
307
+ \ player safety.\nRuling = A Penalty to the non-offending Team at the point of\
308
+ \ the Infringement.\n10.4\tIf the ball is accidentally knocked from the hands\
309
+ \ of a player in Possession \nduring a Touch, the Touch counts and the Attacking\
310
+ \ Team retains Possession.\n10.5\tThe defending player must not deliberately knock\
311
+ \ the ball from the hands of a \nplayer in Possession during a Touch.\n Ruling\
312
+ \ = A Penalty to the Attacking Team at the point of the Infringement.\n10.6\t\
313
+ A player must not pass or otherwise deliver the ball after a Touch has been \n\
314
+ made.\nRuling = A Penalty to the Defending Team at the point of the Infringement,\
315
+ \ or if In-Goal the \nnearest point on the seven (7) metre line.\n10.7\tThe Half\
316
+ \ may pass or run with the ball but cannot get Touched while in \nPossession of\
317
+ \ the ball.\nRuling = A Change of Possession occurs at the point of the Touch,\
318
+ \ or if In-Goal the nearest \npoint on the seven (7) metre line.\n10.8\tIf a Touch\
319
+ \ is made in the In-Goal Area before the ball is grounded, the player in \nPossession\
320
+ \ is to perform a Rollball seven (7) metres from the Team’s Attacking \nTry Line,\
321
+ \ provided it is not the sixth Touch and the player is not Half.\n10.9\tIf a\
322
+ \ player in Possession is Touched while on or behind their Defending Try Line,\
323
+ \ \nthe Touch counts and once the Referee sets the Mark seven ("
324
+ - " it is not the sixth Touch and the player is not Half.\n10.9\tIf a player in\
325
+ \ Possession is Touched while on or behind their Defending Try Line, \nthe Touch\
326
+ \ counts and once the Referee sets the Mark seven (7) metres directly \nForward\
327
+ \ of the contact point from the Defending Team’s Try Line, a Rollball is \nperformed.\n\
328
+ 10.10\tIf a player in Possession intentionally makes a Touch on an Offside defender\
329
+ \ \nwho is making every effort to retire and remain out of play, the Touch counts.\n\
330
+ FIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n9\n\
331
+ 10.11\tIf a Touch is made on a player in Possession while the player is juggling\
332
+ \ the ball \nin an attempt to maintain control of it, the Touch counts if the\
333
+ \ attacking player \nfollowing the Touch retains Possession.\n10.12\tIf a player\
334
+ \ in Possession is Touched and subsequently makes contact with \neither the Sideline,\
335
+ \ a field marker or the ground outside the Field of Play, the \nTouch counts and\
336
+ \ play continues with a Rollball at the Mark where the Touch \noccurred.\n10.13\t\
337
+ When a player from the Defending Team enters its defensive Seven Metre Zone, \n\
338
+ the Defending Team must move Forward at a reasonable pace until a Touch is \n\
339
+ Imminent or made.\nRuling = A Penalty to the Attacking Team at the point of the\
340
+ \ Infringement.\n10.14\tWhen a player in Possession enters the Defending Teams’\
341
+ \ Seven Metre Zone \nthe Defending Team is not obliged to move Forward but cannot\
342
+ \ retire back \ntowards their Try Line until a Touch is Imminent or made.\nRuling\
343
+ \ = A Penalty to the Attacking Team at the seven (7) metre line in line with the\
344
+ \ point of \nthe Infringement.\n11  Passing \n \n11.1\tA player in Possession\
345
+ \ may not kick, pass, flick, knock, throw, hand-off or \notherwise propel the\
346
+ \ ball in a Forward direction, either intentionally or otherwise \nto another\
347
+ \ player.\nRuling = A Penalty will be awarded to the Defending Team at the Mark\
348
+ \ where the ball was \npropelled Forward unless Advantage is applied.\n11.2\t\
349
+ A player in Possession may not intentionally kick, pass, flick, knock, throw,\
350
+ \ \nhand-off or otherwise propel the ball in a Forward direction over an opposition\
351
+ \ \nplayer and regain Possession.\nR"
352
+ - source_sentence: What is the distance that players from the Defending Team must
353
+ retire to at a Rollball?
354
+ sentences:
355
+ - " without delay. While in a position at the end of the Field of Play, \nthe Team\
356
+ \ coach(s) or Team official must remain no closer than five (5) metres \nfrom\
357
+ \ the Dead Ball Line and must not coach or communicate (verbal or non-\nverbal)\
358
+ \ with either Team or the Referees.\n7  Commencement and Recommencement of Play\
359
+ \ \n7.1\tTeam captains are to toss a coin in the presence of the Referee(s) with\
360
+ \ the \nwinning captain’s Team having the choice of the direction the Team wishes\
361
+ \ \nto run in the first half; the choice of Interchange Areas for the duration\
362
+ \ of the \nmatch, including any extra time; and the choice of which team will\
363
+ \ commence \nthe match in Possession.\n7.2\tA player of the Attacking Team is\
364
+ \ to commence the match with a Tap at the \ncentre of the Halfway Line following\
365
+ \ the indication to commence play from the \nReferee.\n7.3\tFor the recommencement\
366
+ \ of play following a Half Time break, Teams shall \nchange directions and the\
367
+ \ Team not commencing the match with Possession is \nto re-start the match with\
368
+ \ a Tap.\n7.4\tFor the recommencement of play following the scoring of a Try,\
369
+ \ the Team \nagainst which the Try was conceded will recommence play with a Tap.\n\
370
+ 7.5\tA Tap may not be taken until all attacking Players are in an Onside position.\n\
371
+ Ruling = The Player will be directed to return to the Mark and to take the Tap\
372
+ \ again.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia\
373
+ \ 2020\n7\n7.6\tA Tap may not be taken until at least four (4) defending players\
374
+ \ are in an Onside \nposition or unless directed to so by the Referee. Where the\
375
+ \ number of players \non the field from the Defending Team falls below four (4),\
376
+ \ all players must be in \nan Onside position for a Tap to be taken unless directed\
377
+ \ to do so by the Referee.\nRuling = The Player will be directed to return to\
378
+ \ the Mark and to take the Tap again.\n7.7\tThe Tap to commence or recommence\
379
+ \ play must be performed without delay.\nRuling = A Penalty to the non-offending\
380
+ \ team at the centre of the Halfway line.\n8  Match Duration \n \n8.1\tA match\
381
+ \ is 40 minutes in duration, consisting of two (2) x 20 minute"
382
+ - " a player enters the Field of Play but does not impede the scoring of a Try the\
383
+ \ \noffending player will be sent to the Sin Bin.\n17.8\tFollowing a Try, players\
384
+ \ may Interchange at will, without having to wait for the \nplayer to enter the\
385
+ \ Interchange Area, but must do so prior to the Tap being taken \nto recommence\
386
+ \ play.\n18  Penalty \n18.1\tThe Tap must be performed in accordance with the\
387
+ \ Definitions.\nRuling = The Referee will instruct the offending Team to return\
388
+ \ to the Mark and perform the \nTap again.\n18.2\tFor Infringements that occur\
389
+ \ between seven (7) metre lines, the Mark for the \nPenalty Tap is at the point\
390
+ \ of Infringement unless otherwise indicated by the \nReferee. \n18.3\tFor Infringements\
391
+ \ that occur within the Seven Metre Zone the Tap must be \ntaken at the nearest\
392
+ \ seven (7) metre line.\n18.4\tFor Infringements that occur beyond the Field of\
393
+ \ Play or in the In-Goal Area \nthe Mark is seven (7) metres infield from the\
394
+ \ Sideline, or directly Forward of \nthe Infringement on the seven (7) metre line\
395
+ \ nearest the Infringement or at a \nposition indicated by the Referee.\n18.5\t\
396
+ The Mark must be indicated by the Referee before a Penalty Tap is taken.\n18.6\t\
397
+ The Penalty Tap must be performed without delay after the Referee indicates \n\
398
+ the Mark.\nRuling = A Penalty to the non-offending team at the point of Infringement.\n\
399
+ 18.7\tA player may perform a Rollball instead of a Penalty Tap and the player\
400
+ \ who \nreceives the ball does not become the Half.\n18.8\tIf the Defending Team\
401
+ \ is penalised three (3) times upon entering their Seven \nMetre Zone during a\
402
+ \ single Possession, the last offending player will be given an \nExclusion until\
403
+ \ the end of that Possession.\n18.9\tA Penalty Try is awarded if any action by\
404
+ \ a player, Team official or spectator, \ndeemed by the Referee to be contrary\
405
+ \ to the Rules or spirit of the game clearly \nprevents the Attacking Team from\
406
+ \ scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
407
+ \ Australia 2020\n15\n19  Advantage \n19.1\tWhere a Defending Team player is\
408
+ \ Offside at a Tap or"
409
+ - " \nan Attacking Team is permitted to Rollball on the seven (7) metre line at\
410
+ \ a point \ndirectly in line with where the Touch was made.\nFIT Playing Rules\
411
+ \ - 5th Edition\n12\nCOPYRIGHT © Touch Football Australia 2020\n14  Scoring \n\
412
+ 14.1\tA Try is worth one (1) point. \n14.2\tA Try is awarded when a player, other\
413
+ \ than the Half, places the ball on or over \nthe Try Line without being Touched.\n\
414
+ 14.3\tIn attempting to score a Try, a player must have control of the ball prior\
415
+ \ to \nplacing it on or over the Try Line.\n14.4\tIf a Player places the ball\
416
+ \ on the ground and releases it short of the Try Line \nwhile attempting to Score\
417
+ \ a Try, the Player is required to perform a Rollball to \nrestart play and a\
418
+ \ Touch is counted. If a Player does not release the Ball from \ntheir hands,\
419
+ \ the match continues and no Touch is counted. \n14.5\tAt the End of Play the\
420
+ \ team that has scored the most Tries is declared the \nWinner. In the event of\
421
+ \ neither team scoring, or in the event of both teams \nscoring the same number\
422
+ \ of Tries, a draw is declared.\n15  Offside \n15.1\tAt a Rollball, all players\
423
+ \ from the Defending Team must retire a distance of \nseven (7) metres or to the\
424
+ \ Defending Try Line as indicated by the Referee.\nRuling = A Penalty to the Attacking\
425
+ \ Team at the point of the Infringement or on the seven (7) \nmetre line directly\
426
+ \ Forward of the Infringement.\n15.2\tAt a Tap, all players from the Defending\
427
+ \ Team must retire a distance of ten (10) \nmetres from the Mark or to the Defending\
428
+ \ Try Line as indicated by the Referee.\nRuling = A Penalty to the Attacking Team\
429
+ \ at the point of the Infringement or on the ten (10) \nmetre line directly Forward\
430
+ \ of the Infringement.\n15.3\tAt a Rollball or Tap, players from the Defending\
431
+ \ Team must not retire an \nunreasonable distance beyond the Defending Try Line.\n\
432
+ Ruling = A Penalty to the Attacking Team at the point of the Infringement or on\
433
+ \ the seven (7) \nmetre line directly Forward of the Infringement.\n15.4"
434
+ ---
435
+
436
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
437
+
438
+ 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.
439
+
440
+ ## Model Details
441
+
442
+ ### Model Description
443
+ - **Model Type:** Sentence Transformer
444
+ - **Base model:** [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) <!-- at revision a05860a77cef7b37e0048a7864658139bc18a854 -->
445
+ - **Maximum Sequence Length:** 128 tokens
446
+ - **Output Dimensionality:** 384 tokens
447
+ - **Similarity Function:** Cosine Similarity
448
+ <!-- - **Training Dataset:** Unknown -->
449
+ <!-- - **Language:** Unknown -->
450
+ <!-- - **License:** Unknown -->
451
+
452
+ ### Model Sources
453
+
454
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
455
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
456
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
457
+
458
+ ### Full Model Architecture
459
+
460
+ ```
461
+ SentenceTransformer(
462
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
463
+ (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})
464
+ (2): Normalize()
465
+ )
466
+ ```
467
+
468
+ ## Usage
469
+
470
+ ### Direct Usage (Sentence Transformers)
471
+
472
+ First install the Sentence Transformers library:
473
+
474
+ ```bash
475
+ pip install -U sentence-transformers
476
+ ```
477
+
478
+ Then you can load this model and run inference.
479
+ ```python
480
+ from sentence_transformers import SentenceTransformer
481
+
482
+ # Download from the 🤗 Hub
483
+ model = SentenceTransformer("Trelis/all-MiniLM-L12-v2-ft-triplets-10q")
484
+ # Run inference
485
+ sentences = [
486
+ 'What is the distance that players from the Defending Team must retire to at a Rollball?',
487
+ ' \nan Attacking Team is permitted to Rollball on the seven (7) metre line at a point \ndirectly in line with where the Touch was made.\nFIT Playing Rules - 5th Edition\n12\nCOPYRIGHT © Touch Football Australia 2020\n14\u2002 Scoring \n14.1\tA Try is worth one (1) point. \n14.2\tA Try is awarded when a player, other than the Half, places the ball on or over \nthe Try Line without being Touched.\n14.3\tIn attempting to score a Try, a player must have control of the ball prior to \nplacing it on or over the Try Line.\n14.4\tIf a Player places the ball on the ground and releases it short of the Try Line \nwhile attempting to Score a Try, the Player is required to perform a Rollball to \nrestart play and a Touch is counted. If a Player does not release the Ball from \ntheir hands, the match continues and no Touch is counted. \n14.5\tAt the End of Play the team that has scored the most Tries is declared the \nWinner. In the event of neither team scoring, or in the event of both teams \nscoring the same number of Tries, a draw is declared.\n15\u2002 Offside \n15.1\tAt a Rollball, all players from the Defending Team must retire a distance of \nseven (7) metres or to the Defending Try Line as indicated by the Referee.\nRuling = A Penalty to the Attacking Team at the point of the Infringement or on the seven (7) \nmetre line directly Forward of the Infringement.\n15.2\tAt a Tap, all players from the Defending Team must retire a distance of ten (10) \nmetres from the Mark or to the Defending Try Line as indicated by the Referee.\nRuling = A Penalty to the Attacking Team at the point of the Infringement or on the ten (10) \nmetre line directly Forward of the Infringement.\n15.3\tAt a Rollball or Tap, players from the Defending Team must not retire an \nunreasonable distance beyond the Defending Try Line.\nRuling = A Penalty to the Attacking Team at the point of the Infringement or on the seven (7) \nmetre line directly Forward of the Infringement.\n15.4',
488
+ ' 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',
489
+ ]
490
+ embeddings = model.encode(sentences)
491
+ print(embeddings.shape)
492
+ # [3, 384]
493
+
494
+ # Get the similarity scores for the embeddings
495
+ similarities = model.similarity(embeddings, embeddings)
496
+ print(similarities.shape)
497
+ # [3, 3]
498
+ ```
499
+
500
+ <!--
501
+ ### Direct Usage (Transformers)
502
+
503
+ <details><summary>Click to see the direct usage in Transformers</summary>
504
+
505
+ </details>
506
+ -->
507
+
508
+ <!--
509
+ ### Downstream Usage (Sentence Transformers)
510
+
511
+ You can finetune this model on your own dataset.
512
+
513
+ <details><summary>Click to expand</summary>
514
+
515
+ </details>
516
+ -->
517
+
518
+ <!--
519
+ ### Out-of-Scope Use
520
+
521
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
522
+ -->
523
+
524
+ <!--
525
+ ## Bias, Risks and Limitations
526
+
527
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
528
+ -->
529
+
530
+ <!--
531
+ ### Recommendations
532
+
533
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
534
+ -->
535
+
536
+ ## Training Details
537
+
538
+ ### Training Hyperparameters
539
+ #### Non-Default Hyperparameters
540
+
541
+ - `eval_strategy`: steps
542
+ - `per_device_train_batch_size`: 4
543
+ - `per_device_eval_batch_size`: 4
544
+ - `learning_rate`: 1e-05
545
+ - `num_train_epochs`: 1
546
+ - `lr_scheduler_type`: cosine
547
+ - `warmup_ratio`: 0.3
548
+
549
+ #### All Hyperparameters
550
+ <details><summary>Click to expand</summary>
551
+
552
+ - `overwrite_output_dir`: False
553
+ - `do_predict`: False
554
+ - `eval_strategy`: steps
555
+ - `prediction_loss_only`: True
556
+ - `per_device_train_batch_size`: 4
557
+ - `per_device_eval_batch_size`: 4
558
+ - `per_gpu_train_batch_size`: None
559
+ - `per_gpu_eval_batch_size`: None
560
+ - `gradient_accumulation_steps`: 1
561
+ - `eval_accumulation_steps`: None
562
+ - `learning_rate`: 1e-05
563
+ - `weight_decay`: 0.0
564
+ - `adam_beta1`: 0.9
565
+ - `adam_beta2`: 0.999
566
+ - `adam_epsilon`: 1e-08
567
+ - `max_grad_norm`: 1.0
568
+ - `num_train_epochs`: 1
569
+ - `max_steps`: -1
570
+ - `lr_scheduler_type`: cosine
571
+ - `lr_scheduler_kwargs`: {}
572
+ - `warmup_ratio`: 0.3
573
+ - `warmup_steps`: 0
574
+ - `log_level`: passive
575
+ - `log_level_replica`: warning
576
+ - `log_on_each_node`: True
577
+ - `logging_nan_inf_filter`: True
578
+ - `save_safetensors`: True
579
+ - `save_on_each_node`: False
580
+ - `save_only_model`: False
581
+ - `restore_callback_states_from_checkpoint`: False
582
+ - `no_cuda`: False
583
+ - `use_cpu`: False
584
+ - `use_mps_device`: False
585
+ - `seed`: 42
586
+ - `data_seed`: None
587
+ - `jit_mode_eval`: False
588
+ - `use_ipex`: False
589
+ - `bf16`: False
590
+ - `fp16`: False
591
+ - `fp16_opt_level`: O1
592
+ - `half_precision_backend`: auto
593
+ - `bf16_full_eval`: False
594
+ - `fp16_full_eval`: False
595
+ - `tf32`: None
596
+ - `local_rank`: 0
597
+ - `ddp_backend`: None
598
+ - `tpu_num_cores`: None
599
+ - `tpu_metrics_debug`: False
600
+ - `debug`: []
601
+ - `dataloader_drop_last`: False
602
+ - `dataloader_num_workers`: 0
603
+ - `dataloader_prefetch_factor`: None
604
+ - `past_index`: -1
605
+ - `disable_tqdm`: False
606
+ - `remove_unused_columns`: True
607
+ - `label_names`: None
608
+ - `load_best_model_at_end`: False
609
+ - `ignore_data_skip`: False
610
+ - `fsdp`: []
611
+ - `fsdp_min_num_params`: 0
612
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
613
+ - `fsdp_transformer_layer_cls_to_wrap`: None
614
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
615
+ - `deepspeed`: None
616
+ - `label_smoothing_factor`: 0.0
617
+ - `optim`: adamw_torch
618
+ - `optim_args`: None
619
+ - `adafactor`: False
620
+ - `group_by_length`: False
621
+ - `length_column_name`: length
622
+ - `ddp_find_unused_parameters`: None
623
+ - `ddp_bucket_cap_mb`: None
624
+ - `ddp_broadcast_buffers`: False
625
+ - `dataloader_pin_memory`: True
626
+ - `dataloader_persistent_workers`: False
627
+ - `skip_memory_metrics`: True
628
+ - `use_legacy_prediction_loop`: False
629
+ - `push_to_hub`: False
630
+ - `resume_from_checkpoint`: None
631
+ - `hub_model_id`: None
632
+ - `hub_strategy`: every_save
633
+ - `hub_private_repo`: False
634
+ - `hub_always_push`: False
635
+ - `gradient_checkpointing`: False
636
+ - `gradient_checkpointing_kwargs`: None
637
+ - `include_inputs_for_metrics`: False
638
+ - `eval_do_concat_batches`: True
639
+ - `fp16_backend`: auto
640
+ - `push_to_hub_model_id`: None
641
+ - `push_to_hub_organization`: None
642
+ - `mp_parameters`:
643
+ - `auto_find_batch_size`: False
644
+ - `full_determinism`: False
645
+ - `torchdynamo`: None
646
+ - `ray_scope`: last
647
+ - `ddp_timeout`: 1800
648
+ - `torch_compile`: False
649
+ - `torch_compile_backend`: None
650
+ - `torch_compile_mode`: None
651
+ - `dispatch_batches`: None
652
+ - `split_batches`: None
653
+ - `include_tokens_per_second`: False
654
+ - `include_num_input_tokens_seen`: False
655
+ - `neftune_noise_alpha`: None
656
+ - `optim_target_modules`: None
657
+ - `batch_eval_metrics`: False
658
+ - `batch_sampler`: batch_sampler
659
+ - `multi_dataset_batch_sampler`: proportional
660
+
661
+ </details>
662
+
663
+ ### Training Logs
664
+ | Epoch | Step | Training Loss | loss |
665
+ |:------:|:----:|:-------------:|:------:|
666
+ | 0.0417 | 2 | 4.9264 | - |
667
+ | 0.0833 | 4 | 4.8257 | - |
668
+ | 0.125 | 6 | 4.9006 | 4.8771 |
669
+ | 0.1667 | 8 | 4.8759 | - |
670
+ | 0.2083 | 10 | 4.9937 | - |
671
+ | 0.25 | 12 | 4.8677 | 4.8693 |
672
+ | 0.2917 | 14 | 4.8867 | - |
673
+ | 0.3333 | 16 | 4.8766 | - |
674
+ | 0.375 | 18 | 4.8604 | 4.8569 |
675
+ | 0.4167 | 20 | 4.8747 | - |
676
+ | 0.4583 | 22 | 4.7916 | - |
677
+ | 0.5 | 24 | 4.9293 | 4.8437 |
678
+ | 0.5417 | 26 | 4.8256 | - |
679
+ | 0.5833 | 28 | 4.7996 | - |
680
+ | 0.625 | 30 | 4.929 | 4.8354 |
681
+ | 0.6667 | 32 | 4.8513 | - |
682
+ | 0.7083 | 34 | 4.8432 | - |
683
+ | 0.75 | 36 | 4.7557 | 4.8297 |
684
+ | 0.7917 | 38 | 4.876 | - |
685
+ | 0.8333 | 40 | 4.8902 | - |
686
+ | 0.875 | 42 | 4.8303 | 4.8269 |
687
+ | 0.9167 | 44 | 4.8368 | - |
688
+ | 0.9583 | 46 | 4.9358 | - |
689
+ | 1.0 | 48 | 4.9286 | 4.8264 |
690
+
691
+
692
+ ### Framework Versions
693
+ - Python: 3.10.12
694
+ - Sentence Transformers: 3.0.1
695
+ - Transformers: 4.41.2
696
+ - PyTorch: 2.3.1
697
+ - Accelerate: 0.31.0
698
+ - Datasets: 2.17.1
699
+ - Tokenizers: 0.19.1
700
+
701
+ ## Citation
702
+
703
+ ### BibTeX
704
+
705
+ #### Sentence Transformers
706
+ ```bibtex
707
+ @inproceedings{reimers-2019-sentence-bert,
708
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
709
+ author = "Reimers, Nils and Gurevych, Iryna",
710
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
711
+ month = "11",
712
+ year = "2019",
713
+ publisher = "Association for Computational Linguistics",
714
+ url = "https://arxiv.org/abs/1908.10084",
715
+ }
716
+ ```
717
+
718
+ #### TripletLoss
719
+ ```bibtex
720
+ @misc{hermans2017defense,
721
+ title={In Defense of the Triplet Loss for Person Re-Identification},
722
+ author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
723
+ year={2017},
724
+ eprint={1703.07737},
725
+ archivePrefix={arXiv},
726
+ primaryClass={cs.CV}
727
+ }
728
+ ```
729
+
730
+ <!--
731
+ ## Glossary
732
+
733
+ *Clearly define terms in order to be accessible across audiences.*
734
+ -->
735
+
736
+ <!--
737
+ ## Model Card Authors
738
+
739
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
740
+ -->
741
+
742
+ <!--
743
+ ## Model Card Contact
744
+
745
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
746
+ -->
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.3.1"
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:129f58f142bbc8444677a3608d0d42d5a3ca7170cf85b87e65e6e2107c4cda2b
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