RonanMcGovern commited on
Commit
bc00d07
1 Parent(s): 23789f1

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,698 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:73
13
+ - loss:CoSENTLoss
14
+ widget:
15
+ - source_sentence: What happens if a player in possession is touched while on or behind
16
+ their defending try line?
17
+ sentences:
18
+ - " the Dead Ball Lines. There are two (2), one (1) at each end of the \nField of\
19
+ \ Play. See Appendix 1.\nInterchange\nThe act of an on-field player leaving the\
20
+ \ Field of Play to be replaced \nby an off-field player entering the Field of\
21
+ \ Play.\nInterchange Area\nA marked rectangle for each Team on opposite sides\
22
+ \ of the Field \nof Play usually measuring 20 metres long by no more than five\
23
+ \ (5) \nmetres wide, extending ten (10) metres either side of the Halfway \nLine\
24
+ \ and not less than one (1) metre from the Sideline. It is the area \nin which\
25
+ \ all off-field players must remain until an Interchange is \ninitiated. See Appendix\
26
+ \ 1.\nKick\nStrike or propel forcibly with the foot, a blow or forceful thrust\
27
+ \ with \nthe foot to the ball. A Tap to commence or recommence play or a \nPenalty\
28
+ \ Tap is not defined as a kick.\nLine Markings\nMarkings of the Field of Play.\
29
+ \ See Appendix 1.\nLink\nThe player beside the Wing player.\nMark (for a Tap)\n\
30
+ The centre of the Halfway Line for the commencement or \nrecommencement of play,\
31
+ \ or the position where a Penalty Tap is \nawarded as a result of an Infringement.\n\
32
+ Mark (for a Touch)\nThe position in the Field of Play where the player in Possession\
33
+ \ was \nat the time the Touch was made.\nFIT Playing Rules - 5th Edition\n2\n\
34
+ COPYRIGHT © Touch Football Australia 2020\nMiddle\nThe player inside the Link\
35
+ \ player.\nNTA\nNational Touch Association\nAs defined in the FIT Constitution.\n\
36
+ Obstruction\nA deliberate attempt by either an attacking or defending player \n\
37
+ to gain an unfair Advantage by interfering with the opposition to \nprevent them\
38
+ \ from gaining a rightful Advantage.\nOffside (Attacker)\nAn attacking player\
39
+ \ in a position Forward of the ball.\nOffside (Defender)\nA defending player in\
40
+ \ a position closer than seven (7) metres from \nthe Mark of the Rollball; or\
41
+ \ ten (10) metres from the Mark of a Tap.\nOnside\nA position whereby a player\
42
+ \ may legitimately become involved with \nplay. A player with both feet on or\
43
+ \ behind their Defending Try Line.\nPass\nThe act of changing Possession between\
44
+ \ individual attacking \nplayers by propelling the ball laterally and/or backwards\
45
+ \ and may \ninclude a flick, knock or throw.\nPer"
46
+ - " Player\nThe player who replaces another player during Interchange. There is\
47
+ \ \na maximum of eight (8) substitute players in any Team and except \nwhen interchanging,\
48
+ \ in the Sin Bin, dismissed or on the Field of Play, \nthey must remain in the\
49
+ \ Substitution Box.\nTap and Tap Penalty\nThe method of commencing the match,\
50
+ \ recommencing the match \nafter Half Time and after a Try has been scored. The\
51
+ \ Tap is also the \nmethod of recommencing play when a Penalty is awarded. The\
52
+ \ Tap \nis taken by placing the ball on the ground at or behind the Mark, \nreleasing\
53
+ \ both hands from the ball, tapping the ball gently with either \nfoot or touching\
54
+ \ the foot on the ball. The ball must not roll or move \nmore than one (1) metre\
55
+ \ in any direction and must be retrieved \ncleanly, without touching the ground\
56
+ \ again. The player may face any \ndirection and use either foot. Provided it\
57
+ \ is at the Mark, the ball does \nnot have to be lifted from the ground prior\
58
+ \ to a Tap being taken.\nTeam\nA group of players constituting one (1) side in\
59
+ \ a competition match.\nTFA\nTouch Football Australia Limited\nTouch\nAny contact\
60
+ \ between the player in Possession and a defending \nplayer. A Touch includes\
61
+ \ contact on the ball, hair or clothing and may \nbe made by a defending player\
62
+ \ or by the player in Possession.\nTouch Count\nThe progressive number of Touches\
63
+ \ that each Team has before a \nChange of Possession, from zero (0) to six (6).\n\
64
+ Try\nThe result of any attacking player, except the Half, placing the ball on\
65
+ \ \nor over the Team’s Attacking Try Line before being Touched.\nTry Lines\nThe\
66
+ \ lines separating the In-Goal Areas from the Field of Play. See \nAppendix 1.\n\
67
+ Voluntary Rollball\nThe player in Possession performs a Rollball before a Touch\
68
+ \ is made \nwith a defending player.\nWing\nThe player outside the Link player.\n\
69
+ Winner\nThe Team that scores the most Tries during the match.\nFIT Playing Rules\
70
+ \ - 5th Edition\n4\nCOPYRIGHT © Touch Football Australia 2020\n Rules of Play\
71
+ \ \n Mode of Play \nThe object of the game of Touch is for each Team to score\
72
+ \ Tries and to prevent the \nopposition from scoring. The ball may be passed,\
73
+ \ knocked or handed between players \nof the Attacking Team who may in turn run"
74
+ - " Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n\
75
+ 6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement\
76
+ \ of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n\
77
+ 9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n\
78
+ 11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n\
79
+ 14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced\
80
+ \ Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n\
81
+ 17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
82
+ \ Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
83
+ \ Football Australia 2020\n Definitions and Terminology \nUnless the contrary\
84
+ \ intention appears, the following definitions and terminology apply \nto the game\
85
+ \ of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time\
86
+ \ after an Infringement in which the non-offending \nside has the opportunity\
87
+ \ to gain Advantage either territorial, tactical \nor in the form of a Try.\n\
88
+ Attacking Try Line\nThe line on or over which a player has to place the ball to\
89
+ \ \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\n\
90
+ Behind\nA position or direction towards a Team’s Defending Try Line.\nChange of\
91
+ \ Possession\nThe act of moving control of the ball from one Team to the other.\n\
92
+ Dead/Dead Ball\nWhen the ball is out of play including the period following a\
93
+ \ Try and \nuntil the match is recommenced and when the ball goes to ground \n\
94
+ and/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
95
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
96
+ \ end of \nthe Field of Play. See Appendix 1.\nDef"
97
+ - source_sentence: What happens to a player who is sent to the Sin Bin Area in Touch
98
+ Rugby International Rules?
99
+ sentences:
100
+ - " to the Sin Bin must return to the Interchange Area prior to re-\nentering the\
101
+ \ Field of Play.\n22.4\tAny action that causes the Touch Count to restart will\
102
+ \ result in a continuation of \nthat Possession. For the avoidance of doubt, should\
103
+ \ a defender knock the ball \ndown or give away a Penalty, this does not mean\
104
+ \ that the Possession has been \ncompleted, but rather the Possession continues.\
105
+ \ \nFIT Playing Rules - 5th Edition\n16\nCOPYRIGHT © Touch Football Australia\
106
+ \ 2020\n23  Dismissal \n23.1\tA player or official dismissed for misconduct is\
107
+ \ to take no further part in that \nmatch and is to move to and remain outside\
108
+ \ the Perimeter for the remainder of \nthe match.\n23.2\tThe dismissed player\
109
+ \ or official cannot be replaced and, in accordance with NTA \nDisciplinary Regulations,\
110
+ \ that player shall receive an automatic two (2) match \nsuspension. \n24  Drop-Off\
111
+ \ \n24.1\tShould a Winner be required in drawn matches, the following Drop-Off\
112
+ \ \nprocedure is used to determine a Winner.\n24.1.1\tEach Team will reduce their\
113
+ \ on-field Team to four (4) players and within \n60 seconds take up a position\
114
+ \ to restart play from the Halfway Line, \ndefending the same end of the field\
115
+ \ as at the End of Play.\n24.1.2\tThe Drop-Off commences with a Tap from the centre\
116
+ \ of the Halfway Line \nby the Team that did not commence the match with Possession.\n\
117
+ 24.1.3\tThe Drop-Off will commence with a two (2) minute period of extra time.\n\
118
+ 24.1.4\tShould a Team be leading at the expiration of the two (2) minute period\
119
+ \ \nof extra time then that Team will be declared the Winner and Match \ncomplete.\n\
120
+ 24.1.5\tShould neither Team be leading at the expiration of two (2) minutes, a\
121
+ \ \nsignal is given and the match will pause at the next Touch or Dead Ball. \n\
122
+ Each Team will then remove another player from the Field of Play.\n24.1.6\tThe\
123
+ \ Match will recommence immediately after the players have left the \nfield at\
124
+ \ the same place where it paused (i.e. the Team retains Possession \nat the designated\
125
+ \ number of Touches, or at Change of Possession due to \nsome Infringement or\
126
+ \ the sixth Touch) and the Match will continue until"
127
+ - " Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n\
128
+ 6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement\
129
+ \ of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n\
130
+ 9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n\
131
+ 11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n\
132
+ 14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced\
133
+ \ Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n\
134
+ 17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
135
+ \ Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
136
+ \ Football Australia 2020\n Definitions and Terminology \nUnless the contrary\
137
+ \ intention appears, the following definitions and terminology apply \nto the game\
138
+ \ of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time\
139
+ \ after an Infringement in which the non-offending \nside has the opportunity\
140
+ \ to gain Advantage either territorial, tactical \nor in the form of a Try.\n\
141
+ Attacking Try Line\nThe line on or over which a player has to place the ball to\
142
+ \ \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\n\
143
+ Behind\nA position or direction towards a Team’s Defending Try Line.\nChange of\
144
+ \ Possession\nThe act of moving control of the ball from one Team to the other.\n\
145
+ Dead/Dead Ball\nWhen the ball is out of play including the period following a\
146
+ \ Try and \nuntil the match is recommenced and when the ball goes to ground \n\
147
+ and/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
148
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
149
+ \ end of \nthe Field of Play. See Appendix 1.\nDef"
150
+ - " to the Sin Bin must return to the Interchange Area prior to re-\nentering the\
151
+ \ Field of Play.\n22.4\tAny action that causes the Touch Count to restart will\
152
+ \ result in a continuation of \nthat Possession. For the avoidance of doubt, should\
153
+ \ a defender knock the ball \ndown or give away a Penalty, this does not mean\
154
+ \ that the Possession has been \ncompleted, but rather the Possession continues.\
155
+ \ \nFIT Playing Rules - 5th Edition\n16\nCOPYRIGHT © Touch Football Australia\
156
+ \ 2020\n23  Dismissal \n23.1\tA player or official dismissed for misconduct is\
157
+ \ to take no further part in that \nmatch and is to move to and remain outside\
158
+ \ the Perimeter for the remainder of \nthe match.\n23.2\tThe dismissed player\
159
+ \ or official cannot be replaced and, in accordance with NTA \nDisciplinary Regulations,\
160
+ \ that player shall receive an automatic two (2) match \nsuspension. \n24  Drop-Off\
161
+ \ \n24.1\tShould a Winner be required in drawn matches, the following Drop-Off\
162
+ \ \nprocedure is used to determine a Winner.\n24.1.1\tEach Team will reduce their\
163
+ \ on-field Team to four (4) players and within \n60 seconds take up a position\
164
+ \ to restart play from the Halfway Line, \ndefending the same end of the field\
165
+ \ as at the End of Play.\n24.1.2\tThe Drop-Off commences with a Tap from the centre\
166
+ \ of the Halfway Line \nby the Team that did not commence the match with Possession.\n\
167
+ 24.1.3\tThe Drop-Off will commence with a two (2) minute period of extra time.\n\
168
+ 24.1.4\tShould a Team be leading at the expiration of the two (2) minute period\
169
+ \ \nof extra time then that Team will be declared the Winner and Match \ncomplete.\n\
170
+ 24.1.5\tShould neither Team be leading at the expiration of two (2) minutes, a\
171
+ \ \nsignal is given and the match will pause at the next Touch or Dead Ball. \n\
172
+ Each Team will then remove another player from the Field of Play.\n24.1.6\tThe\
173
+ \ Match will recommence immediately after the players have left the \nfield at\
174
+ \ the same place where it paused (i.e. the Team retains Possession \nat the designated\
175
+ \ number of Touches, or at Change of Possession due to \nsome Infringement or\
176
+ \ the sixth Touch) and the Match will continue until"
177
+ - source_sentence: Under what circumstances can a player perform a Rollball seven
178
+ (7) metres in-field?
179
+ sentences:
180
+ - "\tIf a player mishandles the ball and even if in an effort to gain control, the\
181
+ \ ball \nis accidentally knocked Forward into any other Player, a Change of Possession\
182
+ \ \nresults.\n10  The Touch \n10.1\tA Touch may be made by either a defending\
183
+ \ player or a player in Possession.\n10.2\tA defending player may not claim a\
184
+ \ Touch if contact has not been made. If a \nplayer claims a Touch has been made,\
185
+ \ but the Referee is unsure the Touch will \ncount.\nRuling = A Penalty to the\
186
+ \ Attacking Team at the point of the Infringement and the offending \nplayer sent\
187
+ \ to the Sin Bin.\n10.3\tPlayers of both Defending and Attacking Teams are to\
188
+ \ use the minimum force \nnecessary to make a Touch. Players must ensure that\
189
+ \ the method employed in \nmaking a Touch does not pose an unnecessary risk to\
190
+ \ player safety.\nRuling = A Penalty to the non-offending Team at the point of\
191
+ \ the Infringement.\n10.4\tIf the ball is accidentally knocked from the hands\
192
+ \ of a player in Possession \nduring a Touch, the Touch counts and the Attacking\
193
+ \ Team retains Possession.\n10.5\tThe defending player must not deliberately knock\
194
+ \ the ball from the hands of a \nplayer in Possession during a Touch.\n Ruling\
195
+ \ = A Penalty to the Attacking Team at the point of the Infringement.\n10.6\t\
196
+ A player must not pass or otherwise deliver the ball after a Touch has been \n\
197
+ made.\nRuling = A Penalty to the Defending Team at the point of the Infringement,\
198
+ \ or if In-Goal the \nnearest point on the seven (7) metre line.\n10.7\tThe Half\
199
+ \ may pass or run with the ball but cannot get Touched while in \nPossession of\
200
+ \ the ball.\nRuling = A Change of Possession occurs at the point of the Touch,\
201
+ \ or if In-Goal the nearest \npoint on the seven (7) metre line.\n10.8\tIf a Touch\
202
+ \ is made in the In-Goal Area before the ball is grounded, the player in \nPossession\
203
+ \ is to perform a Rollball seven (7) metres from the Team’s Attacking \nTry Line,\
204
+ \ provided it is not the sixth Touch and the player is not Half.\n10.9\tIf a\
205
+ \ player in Possession is Touched while on or behind their Defending Try Line,\
206
+ \ \nthe Touch counts and once the Referee sets the Mark seven ("
207
+ - " a player enters the Field of Play but does not impede the scoring of a Try the\
208
+ \ \noffending player will be sent to the Sin Bin.\n17.8\tFollowing a Try, players\
209
+ \ may Interchange at will, without having to wait for the \nplayer to enter the\
210
+ \ Interchange Area, but must do so prior to the Tap being taken \nto recommence\
211
+ \ play.\n18  Penalty \n18.1\tThe Tap must be performed in accordance with the\
212
+ \ Definitions.\nRuling = The Referee will instruct the offending Team to return\
213
+ \ to the Mark and perform the \nTap again.\n18.2\tFor Infringements that occur\
214
+ \ between seven (7) metre lines, the Mark for the \nPenalty Tap is at the point\
215
+ \ of Infringement unless otherwise indicated by the \nReferee. \n18.3\tFor Infringements\
216
+ \ that occur within the Seven Metre Zone the Tap must be \ntaken at the nearest\
217
+ \ seven (7) metre line.\n18.4\tFor Infringements that occur beyond the Field of\
218
+ \ Play or in the In-Goal Area \nthe Mark is seven (7) metres infield from the\
219
+ \ Sideline, or directly Forward of \nthe Infringement on the seven (7) metre line\
220
+ \ nearest the Infringement or at a \nposition indicated by the Referee.\n18.5\t\
221
+ The Mark must be indicated by the Referee before a Penalty Tap is taken.\n18.6\t\
222
+ The Penalty Tap must be performed without delay after the Referee indicates \n\
223
+ the Mark.\nRuling = A Penalty to the non-offending team at the point of Infringement.\n\
224
+ 18.7\tA player may perform a Rollball instead of a Penalty Tap and the player\
225
+ \ who \nreceives the ball does not become the Half.\n18.8\tIf the Defending Team\
226
+ \ is penalised three (3) times upon entering their Seven \nMetre Zone during a\
227
+ \ single Possession, the last offending player will be given an \nExclusion until\
228
+ \ the end of that Possession.\n18.9\tA Penalty Try is awarded if any action by\
229
+ \ a player, Team official or spectator, \ndeemed by the Referee to be contrary\
230
+ \ to the Rules or spirit of the game clearly \nprevents the Attacking Team from\
231
+ \ scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
232
+ \ Australia 2020\n15\n19  Advantage \n19.1\tWhere a Defending Team player is\
233
+ \ Offside at a Tap or"
234
+ - " Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n\
235
+ 6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement\
236
+ \ of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n\
237
+ 9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n\
238
+ 11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n\
239
+ 14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced\
240
+ \ Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n\
241
+ 17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
242
+ \ Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
243
+ \ Football Australia 2020\n Definitions and Terminology \nUnless the contrary\
244
+ \ intention appears, the following definitions and terminology apply \nto the game\
245
+ \ of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time\
246
+ \ after an Infringement in which the non-offending \nside has the opportunity\
247
+ \ to gain Advantage either territorial, tactical \nor in the form of a Try.\n\
248
+ Attacking Try Line\nThe line on or over which a player has to place the ball to\
249
+ \ \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\n\
250
+ Behind\nA position or direction towards a Team’s Defending Try Line.\nChange of\
251
+ \ Possession\nThe act of moving control of the ball from one Team to the other.\n\
252
+ Dead/Dead Ball\nWhen the ball is out of play including the period following a\
253
+ \ Try and \nuntil the match is recommenced and when the ball goes to ground \n\
254
+ and/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
255
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
256
+ \ end of \nthe Field of Play. See Appendix 1.\nDef"
257
+ - source_sentence: What is the primary responsibility of the Referee during a Touch
258
+ Rugby match?
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
+ - " Player\nThe player who replaces another player during Interchange. There is\
278
+ \ \na maximum of eight (8) substitute players in any Team and except \nwhen interchanging,\
279
+ \ in the Sin Bin, dismissed or on the Field of Play, \nthey must remain in the\
280
+ \ Substitution Box.\nTap and Tap Penalty\nThe method of commencing the match,\
281
+ \ recommencing the match \nafter Half Time and after a Try has been scored. The\
282
+ \ Tap is also the \nmethod of recommencing play when a Penalty is awarded. The\
283
+ \ Tap \nis taken by placing the ball on the ground at or behind the Mark, \nreleasing\
284
+ \ both hands from the ball, tapping the ball gently with either \nfoot or touching\
285
+ \ the foot on the ball. The ball must not roll or move \nmore than one (1) metre\
286
+ \ in any direction and must be retrieved \ncleanly, without touching the ground\
287
+ \ again. The player may face any \ndirection and use either foot. Provided it\
288
+ \ is at the Mark, the ball does \nnot have to be lifted from the ground prior\
289
+ \ to a Tap being taken.\nTeam\nA group of players constituting one (1) side in\
290
+ \ a competition match.\nTFA\nTouch Football Australia Limited\nTouch\nAny contact\
291
+ \ between the player in Possession and a defending \nplayer. A Touch includes\
292
+ \ contact on the ball, hair or clothing and may \nbe made by a defending player\
293
+ \ or by the player in Possession.\nTouch Count\nThe progressive number of Touches\
294
+ \ that each Team has before a \nChange of Possession, from zero (0) to six (6).\n\
295
+ Try\nThe result of any attacking player, except the Half, placing the ball on\
296
+ \ \nor over the Team’s Attacking Try Line before being Touched.\nTry Lines\nThe\
297
+ \ lines separating the In-Goal Areas from the Field of Play. See \nAppendix 1.\n\
298
+ Voluntary Rollball\nThe player in Possession performs a Rollball before a Touch\
299
+ \ is made \nwith a defending player.\nWing\nThe player outside the Link player.\n\
300
+ Winner\nThe Team that scores the most Tries during the match.\nFIT Playing Rules\
301
+ \ - 5th Edition\n4\nCOPYRIGHT © Touch Football Australia 2020\n Rules of Play\
302
+ \ \n Mode of Play \nThe object of the game of Touch is for each Team to score\
303
+ \ Tries and to prevent the \nopposition from scoring. The ball may be passed,\
304
+ \ knocked or handed between players \nof the Attacking Team who may in turn run"
305
+ - "1\twhen a Change of Possession takes place due to a player in Possession \nmaking\
306
+ \ contact with the Sideline or any ground outside the Field of Play, \nprior to\
307
+ \ a Touch being made; or\n13.6.2\twhen the ball not in Possession of a player\
308
+ \ makes contact with the \nSideline or any ground outside the Field of Play.\n\
309
+ 13.7\tA player may not perform a Tap in replacement of a Rollball.\nRuling = The\
310
+ \ offending Team must return to the Mark and perform the Rollball.\n13.8\tAn attacking\
311
+ \ player, other than the player performing the Rollball, may receive \nthe ball\
312
+ \ at the Rollball and shall do so without delay. That player is referred to as\
313
+ \ \nthe Half.\n13.9\tThe Half may control the ball with a foot prior to picking\
314
+ \ up the ball. \n13.10\tA player ceases to be the Half once the ball is passed\
315
+ \ to another player.\n13.11\tDefending players are not to interfere with the performance\
316
+ \ of the Rollball or the \nHalf. \nRuling = A Penalty to the Attacking Team at\
317
+ \ a point ten (10) metres directly Forward of the \nInfringement.\n13.12\tPlayers\
318
+ \ of the Defending Team must not move Forward of the Onside position \nuntil the\
319
+ \ Half has made contact with the ball, unless directed to do so by the \nReferee\
320
+ \ or in accordance with 13.12.1.\n13.12.1\tWhen the Half is not within one (1)\
321
+ \ metre of the Rollball, Onside players \nof the Defending Team may move Forward\
322
+ \ as soon as the player \nperforming the Rollball releases the ball. If the Half\
323
+ \ is not in position and \na defending player moves Forward and makes contact\
324
+ \ with the ball, a \nChange of Possession results.\n13.13\tIf in the act of performing\
325
+ \ the Rollball, the Attacking player makes contact with \nthe Sideline or any\
326
+ \ ground outside the Field of Play a Change of Possession will \noccur with the\
327
+ \ Rollball to be taken seven (7) metres in field.\n13.14\tAfter a Touch is made\
328
+ \ between the Dead Ball Line and the seven (7) metre line, \nan Attacking Team\
329
+ \ is permitted to Rollball on the seven (7) metre line at a point \ndirectly in\
330
+ \ line with where the Touch was made.\nFIT Playing Rules - 5th Edition\n12\nCOPYRIGHT\
331
+ \ © Touch Football Australia"
332
+ - source_sentence: What happens if a player deliberately delays the changeover procedure
333
+ after a Change of Possession?
334
+ sentences:
335
+ - " Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n\
336
+ 6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement\
337
+ \ of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n\
338
+ 9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n\
339
+ 11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n\
340
+ 14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced\
341
+ \ Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n\
342
+ 17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
343
+ \ Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
344
+ \ Football Australia 2020\n Definitions and Terminology \nUnless the contrary\
345
+ \ intention appears, the following definitions and terminology apply \nto the game\
346
+ \ of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time\
347
+ \ after an Infringement in which the non-offending \nside has the opportunity\
348
+ \ to gain Advantage either territorial, tactical \nor in the form of a Try.\n\
349
+ Attacking Try Line\nThe line on or over which a player has to place the ball to\
350
+ \ \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\n\
351
+ Behind\nA position or direction towards a Team’s Defending Try Line.\nChange of\
352
+ \ Possession\nThe act of moving control of the ball from one Team to the other.\n\
353
+ Dead/Dead Ball\nWhen the ball is out of play including the period following a\
354
+ \ Try and \nuntil the match is recommenced and when the ball goes to ground \n\
355
+ and/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
356
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
357
+ \ end of \nthe Field of Play. See Appendix 1.\nDef"
358
+ - " related matters inside the Perimeter \nfor the Duration of a match, has jurisdiction\
359
+ \ over all players, coaches and \nofficials and is required to:\n25.1.1\tInspect\
360
+ \ the Field of Play, Line Markings and Markers prior to the \ncommencement of\
361
+ \ the Match to ensure the safety of all participants.\n25.1.2\tAdjudicate on the\
362
+ \ Rules of the game;\n25.1.3\tImpose any sanction necessary to control the match;\n\
363
+ 25.1.4\tAward Tries and record the progressive score;\n25.1.5\tMaintain a count\
364
+ \ of Touches during each Possession;\n25.1.6\tAward Penalties for Infringements\
365
+ \ against the Rules; and\n25.1.7\tReport to the relevant competition administration\
366
+ \ any Sin Bins, \nDismissals or injuries to any participant sustained during a\
367
+ \ Match.\n25.2\tOnly Team captains are permitted to seek clarification of a decision\
368
+ \ directly \nfrom the Referee. An approach may only be made during a break in\
369
+ \ play or at \nthe discretion of the Referee.\nFIT Playing Rules - 5th Edition\n\
370
+ 18\nCOPYRIGHT © Touch Football Australia 2020\nHALFWAY LINE\nSIN BIN AREAS\nIN-GOAL\
371
+ \ AREA\nTRY LINE\n7 M ZONE\nDEAD BALL LINE\nPERIMETER\nINTERCHANGE\nAREA\n20M\n\
372
+ 10M\n10M\n1M\n5M\n7 M\n7 M\n7 M\n7 M\n50M\n3M\n70M\nINTERCHANGE\nAREA\n Appendix\
373
+ \ 1 – Field of Play\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football\
374
+ \ Australia 2020\n19\nFEDERATION OF INTERNATIONAL TOUCH\n"
375
+ - " Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n\
376
+ 6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement\
377
+ \ of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n\
378
+ 9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n\
379
+ 11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n\
380
+ 14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced\
381
+ \ Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n\
382
+ 17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
383
+ \ Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch\
384
+ \ Football Australia 2020\n Definitions and Terminology \nUnless the contrary\
385
+ \ intention appears, the following definitions and terminology apply \nto the game\
386
+ \ of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time\
387
+ \ after an Infringement in which the non-offending \nside has the opportunity\
388
+ \ to gain Advantage either territorial, tactical \nor in the form of a Try.\n\
389
+ Attacking Try Line\nThe line on or over which a player has to place the ball to\
390
+ \ \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\n\
391
+ Behind\nA position or direction towards a Team’s Defending Try Line.\nChange of\
392
+ \ Possession\nThe act of moving control of the ball from one Team to the other.\n\
393
+ Dead/Dead Ball\nWhen the ball is out of play including the period following a\
394
+ \ Try and \nuntil the match is recommenced and when the ball goes to ground \n\
395
+ and/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\n\
396
+ Dead Ball Line\nThe end boundaries of the Field of Play. There is one at each\
397
+ \ end of \nthe Field of Play. See Appendix 1.\nDef"
398
+ ---
399
+
400
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
401
+
402
+ 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.
403
+
404
+ ## Model Details
405
+
406
+ ### Model Description
407
+ - **Model Type:** Sentence Transformer
408
+ - **Base model:** [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) <!-- at revision a05860a77cef7b37e0048a7864658139bc18a854 -->
409
+ - **Maximum Sequence Length:** 128 tokens
410
+ - **Output Dimensionality:** 384 tokens
411
+ - **Similarity Function:** Cosine Similarity
412
+ <!-- - **Training Dataset:** Unknown -->
413
+ <!-- - **Language:** Unknown -->
414
+ <!-- - **License:** Unknown -->
415
+
416
+ ### Model Sources
417
+
418
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
419
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
420
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
421
+
422
+ ### Full Model Architecture
423
+
424
+ ```
425
+ SentenceTransformer(
426
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
427
+ (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})
428
+ (2): Normalize()
429
+ )
430
+ ```
431
+
432
+ ## Usage
433
+
434
+ ### Direct Usage (Sentence Transformers)
435
+
436
+ First install the Sentence Transformers library:
437
+
438
+ ```bash
439
+ pip install -U sentence-transformers
440
+ ```
441
+
442
+ Then you can load this model and run inference.
443
+ ```python
444
+ from sentence_transformers import SentenceTransformer
445
+
446
+ # Download from the 🤗 Hub
447
+ model = SentenceTransformer("Trelis/all-MiniLM-L12-v2-ft-pairs-balanced")
448
+ # Run inference
449
+ sentences = [
450
+ 'What happens if a player deliberately delays the changeover procedure after a Change of Possession?',
451
+ ' Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n Definitions and Terminology \nUnless the contrary intention appears, the following definitions and terminology apply \nto the game of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time after an Infringement in which the non-offending \nside has the opportunity to gain Advantage either territorial, tactical \nor in the form of a Try.\nAttacking Try Line\nThe line on or over which a player has to place the ball to \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\nBehind\nA position or direction towards a Team’s Defending Try Line.\nChange of Possession\nThe act of moving control of the ball from one Team to the other.\nDead/Dead Ball\nWhen the ball is out of play including the period following a Try and \nuntil the match is recommenced and when the ball goes to ground \nand/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\nDead Ball Line\nThe end boundaries of the Field of Play. There is one at each end of \nthe Field of Play. See Appendix 1.\nDef',
452
+ ' Registration\n5\n03 I\nThe Ball\n6\n04 I\nPlaying Uniform\n6\n05 I\nTeam Composition\n6\n06 I\nTeam Coach and Team Officials\n7\n07\nI\nCommencement and Recommencement of Play\n7\n08\nI\nMatch Duration\n8\n09 I\nPossession\n8\n10\nI\nThe Touch\n9\n11\nI\nPassing\n10\n12\nI\nBall Touched in Flight\n10\n13\nI\nThe Rollball\n11\n14\nI\nScoring\n13\n15\nI\nOffside\n13\n16\nI\nObstruction\n14\n17\nI\nInterchange\n14\n18\nI\nPenalty\n15\n19\nI\nAdvantage\n16\n20\nI\nMisconduct\n16\n21\nI\nForced Interchange\n16\n22\nI\nSin Bin\n16\n23\nI\nDismissal\n17\n24\nI\nDrop-Off\n17\n25\nI\nMatch Officials\n18\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n Definitions and Terminology \nUnless the contrary intention appears, the following definitions and terminology apply \nto the game of Touch:\nTERM/PHRASE\nDEFINITION/DESCRIPTION\nAdvantage\nThe period of time after an Infringement in which the non-offending \nside has the opportunity to gain Advantage either territorial, tactical \nor in the form of a Try.\nAttacking Try Line\nThe line on or over which a player has to place the ball to \nscore a Try.\nAttacking Team\nThe Team which has or is gaining Possession.\nBehind\nA position or direction towards a Team’s Defending Try Line.\nChange of Possession\nThe act of moving control of the ball from one Team to the other.\nDead/Dead Ball\nWhen the ball is out of play including the period following a Try and \nuntil the match is recommenced and when the ball goes to ground \nand/or outside the boundaries of the Field of Play prior to the \nsubsequent Rollball.\nDead Ball Line\nThe end boundaries of the Field of Play. There is one at each end of \nthe Field of Play. See Appendix 1.\nDef',
453
+ ]
454
+ embeddings = model.encode(sentences)
455
+ print(embeddings.shape)
456
+ # [3, 384]
457
+
458
+ # Get the similarity scores for the embeddings
459
+ similarities = model.similarity(embeddings, embeddings)
460
+ print(similarities.shape)
461
+ # [3, 3]
462
+ ```
463
+
464
+ <!--
465
+ ### Direct Usage (Transformers)
466
+
467
+ <details><summary>Click to see the direct usage in Transformers</summary>
468
+
469
+ </details>
470
+ -->
471
+
472
+ <!--
473
+ ### Downstream Usage (Sentence Transformers)
474
+
475
+ You can finetune this model on your own dataset.
476
+
477
+ <details><summary>Click to expand</summary>
478
+
479
+ </details>
480
+ -->
481
+
482
+ <!--
483
+ ### Out-of-Scope Use
484
+
485
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
486
+ -->
487
+
488
+ <!--
489
+ ## Bias, Risks and Limitations
490
+
491
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
492
+ -->
493
+
494
+ <!--
495
+ ### Recommendations
496
+
497
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
498
+ -->
499
+
500
+ ## Training Details
501
+
502
+ ### Training Hyperparameters
503
+ #### Non-Default Hyperparameters
504
+
505
+ - `eval_strategy`: steps
506
+ - `per_device_train_batch_size`: 4
507
+ - `per_device_eval_batch_size`: 4
508
+ - `learning_rate`: 1e-05
509
+ - `num_train_epochs`: 1
510
+ - `lr_scheduler_type`: cosine
511
+ - `warmup_ratio`: 0.3
512
+ - `bf16`: True
513
+
514
+ #### All Hyperparameters
515
+ <details><summary>Click to expand</summary>
516
+
517
+ - `overwrite_output_dir`: False
518
+ - `do_predict`: False
519
+ - `eval_strategy`: steps
520
+ - `prediction_loss_only`: True
521
+ - `per_device_train_batch_size`: 4
522
+ - `per_device_eval_batch_size`: 4
523
+ - `per_gpu_train_batch_size`: None
524
+ - `per_gpu_eval_batch_size`: None
525
+ - `gradient_accumulation_steps`: 1
526
+ - `eval_accumulation_steps`: None
527
+ - `learning_rate`: 1e-05
528
+ - `weight_decay`: 0.0
529
+ - `adam_beta1`: 0.9
530
+ - `adam_beta2`: 0.999
531
+ - `adam_epsilon`: 1e-08
532
+ - `max_grad_norm`: 1.0
533
+ - `num_train_epochs`: 1
534
+ - `max_steps`: -1
535
+ - `lr_scheduler_type`: cosine
536
+ - `lr_scheduler_kwargs`: {}
537
+ - `warmup_ratio`: 0.3
538
+ - `warmup_steps`: 0
539
+ - `log_level`: passive
540
+ - `log_level_replica`: warning
541
+ - `log_on_each_node`: True
542
+ - `logging_nan_inf_filter`: True
543
+ - `save_safetensors`: True
544
+ - `save_on_each_node`: False
545
+ - `save_only_model`: False
546
+ - `restore_callback_states_from_checkpoint`: False
547
+ - `no_cuda`: False
548
+ - `use_cpu`: False
549
+ - `use_mps_device`: False
550
+ - `seed`: 42
551
+ - `data_seed`: None
552
+ - `jit_mode_eval`: False
553
+ - `use_ipex`: False
554
+ - `bf16`: True
555
+ - `fp16`: False
556
+ - `fp16_opt_level`: O1
557
+ - `half_precision_backend`: auto
558
+ - `bf16_full_eval`: False
559
+ - `fp16_full_eval`: False
560
+ - `tf32`: None
561
+ - `local_rank`: 0
562
+ - `ddp_backend`: None
563
+ - `tpu_num_cores`: None
564
+ - `tpu_metrics_debug`: False
565
+ - `debug`: []
566
+ - `dataloader_drop_last`: False
567
+ - `dataloader_num_workers`: 0
568
+ - `dataloader_prefetch_factor`: None
569
+ - `past_index`: -1
570
+ - `disable_tqdm`: False
571
+ - `remove_unused_columns`: True
572
+ - `label_names`: None
573
+ - `load_best_model_at_end`: False
574
+ - `ignore_data_skip`: False
575
+ - `fsdp`: []
576
+ - `fsdp_min_num_params`: 0
577
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
578
+ - `fsdp_transformer_layer_cls_to_wrap`: None
579
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
580
+ - `deepspeed`: None
581
+ - `label_smoothing_factor`: 0.0
582
+ - `optim`: adamw_torch
583
+ - `optim_args`: None
584
+ - `adafactor`: False
585
+ - `group_by_length`: False
586
+ - `length_column_name`: length
587
+ - `ddp_find_unused_parameters`: None
588
+ - `ddp_bucket_cap_mb`: None
589
+ - `ddp_broadcast_buffers`: False
590
+ - `dataloader_pin_memory`: True
591
+ - `dataloader_persistent_workers`: False
592
+ - `skip_memory_metrics`: True
593
+ - `use_legacy_prediction_loop`: False
594
+ - `push_to_hub`: False
595
+ - `resume_from_checkpoint`: None
596
+ - `hub_model_id`: None
597
+ - `hub_strategy`: every_save
598
+ - `hub_private_repo`: False
599
+ - `hub_always_push`: False
600
+ - `gradient_checkpointing`: False
601
+ - `gradient_checkpointing_kwargs`: None
602
+ - `include_inputs_for_metrics`: False
603
+ - `eval_do_concat_batches`: True
604
+ - `fp16_backend`: auto
605
+ - `push_to_hub_model_id`: None
606
+ - `push_to_hub_organization`: None
607
+ - `mp_parameters`:
608
+ - `auto_find_batch_size`: False
609
+ - `full_determinism`: False
610
+ - `torchdynamo`: None
611
+ - `ray_scope`: last
612
+ - `ddp_timeout`: 1800
613
+ - `torch_compile`: False
614
+ - `torch_compile_backend`: None
615
+ - `torch_compile_mode`: None
616
+ - `dispatch_batches`: None
617
+ - `split_batches`: None
618
+ - `include_tokens_per_second`: False
619
+ - `include_num_input_tokens_seen`: False
620
+ - `neftune_noise_alpha`: None
621
+ - `optim_target_modules`: None
622
+ - `batch_eval_metrics`: False
623
+ - `batch_sampler`: batch_sampler
624
+ - `multi_dataset_batch_sampler`: proportional
625
+
626
+ </details>
627
+
628
+ ### Training Logs
629
+ | Epoch | Step | Training Loss | loss |
630
+ |:------:|:----:|:-------------:|:------:|
631
+ | 0.1053 | 2 | 4.6868 | - |
632
+ | 0.1579 | 3 | - | 2.7075 |
633
+ | 0.2105 | 4 | 5.703 | - |
634
+ | 0.3158 | 6 | 2.1691 | 2.6412 |
635
+ | 0.4211 | 8 | 1.705 | - |
636
+ | 0.4737 | 9 | - | 2.6254 |
637
+ | 0.5263 | 10 | 1.7985 | - |
638
+ | 0.6316 | 12 | 3.4822 | 2.6087 |
639
+ | 0.7368 | 14 | 4.2724 | - |
640
+ | 0.7895 | 15 | - | 2.6000 |
641
+ | 0.8421 | 16 | 3.1489 | - |
642
+ | 0.9474 | 18 | 5.7594 | 2.6032 |
643
+
644
+
645
+ ### Framework Versions
646
+ - Python: 3.10.12
647
+ - Sentence Transformers: 3.0.1
648
+ - Transformers: 4.41.2
649
+ - PyTorch: 2.1.1+cu121
650
+ - Accelerate: 0.31.0
651
+ - Datasets: 2.17.1
652
+ - Tokenizers: 0.19.1
653
+
654
+ ## Citation
655
+
656
+ ### BibTeX
657
+
658
+ #### Sentence Transformers
659
+ ```bibtex
660
+ @inproceedings{reimers-2019-sentence-bert,
661
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
662
+ author = "Reimers, Nils and Gurevych, Iryna",
663
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
664
+ month = "11",
665
+ year = "2019",
666
+ publisher = "Association for Computational Linguistics",
667
+ url = "https://arxiv.org/abs/1908.10084",
668
+ }
669
+ ```
670
+
671
+ #### CoSENTLoss
672
+ ```bibtex
673
+ @online{kexuefm-8847,
674
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
675
+ author={Su Jianlin},
676
+ year={2022},
677
+ month={Jan},
678
+ url={https://kexue.fm/archives/8847},
679
+ }
680
+ ```
681
+
682
+ <!--
683
+ ## Glossary
684
+
685
+ *Clearly define terms in order to be accessible across audiences.*
686
+ -->
687
+
688
+ <!--
689
+ ## Model Card Authors
690
+
691
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
692
+ -->
693
+
694
+ <!--
695
+ ## Model Card Contact
696
+
697
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
698
+ -->
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:bfb44179e045855e43df4a9903ec80307d194c50c325239d160e30602ab6b0e8
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