RonanMcGovern commited on
Commit
e59e080
1 Parent(s): 9bf2d7f

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": true,
4
+ "pooling_mode_mean_tokens": false,
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,557 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/multi-qa-MiniLM-L6-dot-v1
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:180
13
+ - loss:MultipleNegativesRankingLoss
14
+ widget:
15
+ - source_sentence: What is the penalty awarded to the non-offending team if a player
16
+ in possession holds or impedes a defending player?
17
+ sentences:
18
+ - 15. 5 after effecting the touch, the defending player must retire the required
19
+ seven ( 7 ) metres or to the defending try line as indicated by the referee without
20
+ interfering with the attacking team. ruling = a penalty to the attacking team
21
+ ten ( 10 ) metres forward of the infringement or if on the defensive try line,
22
+ on the seven ( 7 ) metre line. fit playing rules - 5th edition copyright © touch
23
+ football australia 2020 13 16 obstruction 16. 1 a player in possession must not
24
+ run or otherwise move behind other attacking players or the referee in an attempt
25
+ to avoid an imminent touch. ruling = a penalty to the non - offending team at
26
+ the point of the infringement. 16. 2 the player in possession is not to hold or
27
+ otherwise impede a defending player in any way. ruling = a penalty to the non
28
+ - offending team at the point of the infringement.
29
+ - 'these rules in no way restrict any nta or their authorised competition providers
30
+ from having different match conditions to these rules. any adaptation of or alterations
31
+ to the rules for local competitions should be clearly articulated in relevant
32
+ competition guidelines and be readily available for players, coaches and referees
33
+ alike preamble copyright © touch football australia 2020 all rights reserved.
34
+ these touch football rules are protected by copyright laws. except as permitted
35
+ under the copyright act, these rules must not be reproduced by any process, electronic
36
+ or otherwise, without the written permission of touch football australia. fit
37
+ playing rules - 5th edition copyright © touch football australia 2020 appendix
38
+ 1 – field of play contents 01 i the field of play 5 02 i player registration 5
39
+ 03 i the ball 6 04 i playing uniform 6 05 i team composition 6 06 i team coach
40
+ and team officials 7 07 i commencement and recommencement of play 7 08 i match
41
+ duration 8 09 i possession 8 10 i the touch 9 11 i passing 10 12 i ball touched
42
+ in flight 10 13 i the rollball 11 14 i scoring 13 15 i offside 13 16 i obstruction
43
+ 14 17 i interchange 14 18 i penalty 15 19 i advantage 16 20 i misconduct 16 21
44
+ i forced interchange 16 22 i sin bin 16 23 i dismissal 17 24 i drop - off 17 25
45
+ i match officials 18 fit playing rules - 5th edition copyright © touch football
46
+ australia 2020 fit playing rules - 5th edition copyright © touch football australia
47
+ 2020 definitions and terminology unless the contrary intention appears, the following
48
+ definitions and terminology apply to the game of touch : term / phrase definition
49
+ / description advantage the period of time after an infringement in which the
50
+ non - offending side has the opportunity to gain advantage either territorial,
51
+ tactical or in the form of a try.'
52
+ - fit playing rules - 5th edition copyright © touch football australia 2020 3 sin
53
+ bin area the area between the dead ball line and the perimeter where players are
54
+ sent for either a sin bin period or exclusion for repeated seven metre zone infringements.
55
+ there are four ( 4 ) sin bin areas. see appendix 1. spirit of the game the act
56
+ of good sportsmanship and fair play. substitute player the player who replaces
57
+ another player during interchange. there is a maximum of eight ( 8 ) substitute
58
+ players in any team and except when interchanging, in the sin bin, dismissed or
59
+ on the field of play, they must remain in the substitution box. tap and tap penalty
60
+ the method of commencing the match, recommencing the match after half time and
61
+ after a try has been scored. the tap is also the method of recommencing play when
62
+ a penalty is awarded. the tap is taken by placing the ball on the ground at or
63
+ behind the mark, releasing both hands from the ball, tapping the ball gently with
64
+ either foot or touching the foot on the ball. the ball must not roll or move more
65
+ than one ( 1 ) metre in any direction and must be retrieved cleanly, without touching
66
+ the ground again.
67
+ - source_sentence: What is the consequence for teams playing unregistered players?
68
+ sentences:
69
+ - 12. 2 if a player from the defending team deliberately makes contact with the
70
+ ball in flight and the ball is retrieved by an attacking player, without touching
71
+ the ground, play continues and the next touch is zero ( 0 ) touch. 12. 3 if a
72
+ player from the defending team deliberately makes contact with the ball in flight,
73
+ propelling it forward and an attacking player, in an attempt to regain possession,
74
+ drops the ball, the attacking team retains possession and the fit playing rules
75
+ - 5th edition 10 copyright © touch football australia 2020 touch count restarts
76
+ as zero ( 0 ) touch. 12. 4 if a player from the defending team deliberately makes
77
+ contact with the ball in flight, propelling it towards the defending team ’ s
78
+ dead ball line and an attacking player, in an attempt to regain possession drops
79
+ the ball, a change of possession occurs. 12. 5 if a player from the defending
80
+ team unintentionally makes contact with the ball in flight and the ball goes to
81
+ ground, a change of possession occurs. 12. 6 if a player from the defending team
82
+ unintentionally makes contact with the ball in flight and the ball is retrieved
83
+ by an attacking player, play and the touch count continues.
84
+ - 8. 3. 1 should a penalty be awarded during this period, the penalty is to be taken.
85
+ 8. 4 if a match is abandoned in any circumstances other than those referred to
86
+ in clause 24. 1. 6 the nta or nta competition provider in its sole discretion
87
+ shall determine the result of the match. 9 possession 9. 1 the team with the ball
88
+ is entitled to six ( 6 ) touches prior to a change of possession. 9. 2 on the
89
+ change of possession due to an intercept, the first touch will be zero ( 0 ) touch.
90
+ 9. 3 following the sixth touch or a loss of possession due to any other means,
91
+ the ball must be returned to the mark without delay. ruling = a deliberate delay
92
+ in the changeover procedure will result in a penalty awarded to the non - offending
93
+ team ten ( 10 ) metres forward of the mark for the change of possession. 9. 4
94
+ if the ball is dropped or passed and goes to ground during play, a change of possession
95
+ results. ruling = the mark for the change of possession is where the ball makes
96
+ initial contact with the ground.
97
+ - 2 player registration 2. 1 participating players are to be registered with a nta
98
+ or with an approved nta competition provider. 2. 2 teams playing unregistered
99
+ players are liable to forfeit any match in which unregistered players have competed.
100
+ fit playing rules - 5th edition copyright © touch football australia 2020 5 3
101
+ the ball 3. 1 the game is played with an oval, inflated ball of a shape, colour
102
+ and size approved by fit or the nta. 3. 2 the ball shall be inflated to the manufacturers
103
+ ’ recommended air pressure. 3. 3 the referee shall immediately pause the match
104
+ if the size and shape of the ball no longer complies with clauses 3. 1 or 3. 2
105
+ to allow for the ball to replaced or the issue rectified. 3. 4 the ball must not
106
+ be hidden under player attire. 4 playing uniform 4. 1 participating players are
107
+ to be correctly attired in matching team uniforms 4. 2 playing uniforms consist
108
+ of shirt, singlet or other item as approved by the nta or nta competition provider,
109
+ shorts and / or tights and socks.
110
+ - source_sentence: What is the length of the field of play from try line to try line?
111
+ sentences:
112
+ - fit playing rules - 5th edition 4 copyright © touch football australia 2020 rules
113
+ of play mode of play the object of the game of touch is for each team to score
114
+ tries and to prevent the opposition from scoring. the ball may be passed, knocked
115
+ or handed between players of the attacking team who may in turn run or otherwise
116
+ move with the ball in an attempt to gain territorial advantage and to score tries.
117
+ defending players prevent the attacking team from gaining a territorial advantage
118
+ by touching the ball carrier. 1 the field of play 1. 1 the field of play is rectangular
119
+ in shape measuring 70 metres in length from try line to try line, excluding the
120
+ in - goal areas and 50 metres in width from sideline to sideline excluding the
121
+ interchange areas. 1. 1. 1 variations to the dimensions of the field of play may
122
+ be made but must be included in relevant competition, event or tournament conditions
123
+ 1. 2 line markings should be 4cm in width but must be no less than 2. 5cm. line
124
+ markings are to be laid out as shown in appendix 1 - the field of play.
125
+ - 22 sin bin 22. 1 the on - field referee is required to indicate the commencement
126
+ and the end of the sin bin time. 22. 2 any player sent to the sin bin must stand
127
+ in the sin bin area at the opposition ’ s end of the field of play and on the
128
+ same side as their interchange area. 22. 3 any player sent to the sin bin must
129
+ return to the interchange area prior to re - entering the field of play. 22. 4
130
+ any action that causes the touch count to restart will result in a continuation
131
+ of that possession. for the avoidance of doubt, should a defender knock the ball
132
+ down or give away a penalty, this does not mean that the possession has been completed,
133
+ but rather the possession continues. fit playing rules - 5th edition 16 copyright
134
+ © touch football australia 2020 23 dismissal 23. 1 a player or official dismissed
135
+ for misconduct is to take no further part in that match and is to move to and
136
+ remain outside the perimeter for the remainder of the match. 23. 2 the dismissed
137
+ player or official cannot be replaced and, in accordance with nta disciplinary
138
+ regulations, that player shall receive an automatic two ( 2 ) match suspension.
139
+ - 25. 1. 2 adjudicate on the rules of the game ; 25. 1. 3 impose any sanction necessary
140
+ to control the match ; 25. 1. 4 award tries and record the progressive score ;
141
+ 25. 1. 5 maintain a count of touches during each possession ; 25. 1. 6 award penalties
142
+ for infringements against the rules ; and 25. 1. 7 report to the relevant competition
143
+ administration any sin bins, dismissals or injuries to any participant sustained
144
+ during a match. 25. 2 only team captains are permitted to seek clarification of
145
+ a decision directly from the referee. an approach may only be made during a break
146
+ in play or at the discretion of the referee. fit playing rules - 5th edition 18
147
+ copyright © touch football australia 2020 halfway line sin bin areas in - goal
148
+ area try line 7 m zone dead ball line perimeter interchange area 20m 10m 10m 1m
149
+ 5m 7 m 7 m 7 m 7 m 50m 3m 70m interchange area appendix 1 – field of play fit
150
+ playing rules - 5th edition copyright © touch football australia 2020 19 federation
151
+ of international touch
152
+ - source_sentence: What is the distance from the point of infringement where a penalty
153
+ can be taken, according to rule 15.2 and 15.3?
154
+ sentences:
155
+ - 15. 2 at a tap, all players from the defending team must retire a distance of
156
+ ten ( 10 ) metres from the mark or to the defending try line as indicated by the
157
+ referee. ruling = a penalty to the attacking team at the point of the infringement
158
+ or on the ten ( 10 ) metre line directly forward of the infringement. 15. 3 at
159
+ a rollball or tap, players from the defending team must not retire an unreasonable
160
+ distance beyond the defending try line. ruling = a penalty to the attacking team
161
+ at the point of the infringement or on the seven ( 7 ) metre line directly forward
162
+ of the infringement. 15. 4 when a rollball occurs within defending team ’ s seven
163
+ metre zone or a penalty tap within ten ( 10 ) metres of the defending team ’ s
164
+ try line, all players from the defending team must have both feet on or behind
165
+ their try line and no other part of the body in contact with the ground forward
166
+ of their try line. ruling = a penalty to the attacking team at the seven ( 7 )
167
+ metre line directly forward of the point of the infringement.
168
+ - 'fit playing rules - 5th edition copyright © touch football australia 2020 17
169
+ 24. 3 at the commencement of the drop - off, if there is a player serving time
170
+ in the sin bin and is yet to complete the required time, their team commences
171
+ the drop - off with one ( 1 ) less player on the field than their opposition and
172
+ continues to play with one ( 1 ) player less until the sin bin period has been
173
+ completed. 24. 4 at the commencement of the drop - off, if a team has had a player
174
+ dismissed for the remainder of the match that team continues to play with one
175
+ ( 1 ) player less than the opposition team for the duration of the drop - off.
176
+ 24. 5 for the avoidance of doubt for clauses 24. 3 and 24. 4 the non - offending
177
+ team will retain a numerical advantage on the field of play during the drop -
178
+ off. 25 match officials 25. 1 the referee is the sole judge on all match related
179
+ matters inside the perimeter for the duration of a match, has jurisdiction over
180
+ all players, coaches and officials and is required to : 25. 1. 1 inspect the field
181
+ of play, line markings and markers prior to the commencement of the match to ensure
182
+ the safety of all participants.'
183
+ - 'these rules in no way restrict any nta or their authorised competition providers
184
+ from having different match conditions to these rules. any adaptation of or alterations
185
+ to the rules for local competitions should be clearly articulated in relevant
186
+ competition guidelines and be readily available for players, coaches and referees
187
+ alike preamble copyright © touch football australia 2020 all rights reserved.
188
+ these touch football rules are protected by copyright laws. except as permitted
189
+ under the copyright act, these rules must not be reproduced by any process, electronic
190
+ or otherwise, without the written permission of touch football australia. fit
191
+ playing rules - 5th edition copyright © touch football australia 2020 appendix
192
+ 1 – field of play contents 01 i the field of play 5 02 i player registration 5
193
+ 03 i the ball 6 04 i playing uniform 6 05 i team composition 6 06 i team coach
194
+ and team officials 7 07 i commencement and recommencement of play 7 08 i match
195
+ duration 8 09 i possession 8 10 i the touch 9 11 i passing 10 12 i ball touched
196
+ in flight 10 13 i the rollball 11 14 i scoring 13 15 i offside 13 16 i obstruction
197
+ 14 17 i interchange 14 18 i penalty 15 19 i advantage 16 20 i misconduct 16 21
198
+ i forced interchange 16 22 i sin bin 16 23 i dismissal 17 24 i drop - off 17 25
199
+ i match officials 18 fit playing rules - 5th edition copyright © touch football
200
+ australia 2020 fit playing rules - 5th edition copyright © touch football australia
201
+ 2020 definitions and terminology unless the contrary intention appears, the following
202
+ definitions and terminology apply to the game of touch : term / phrase definition
203
+ / description advantage the period of time after an infringement in which the
204
+ non - offending side has the opportunity to gain advantage either territorial,
205
+ tactical or in the form of a try.'
206
+ - source_sentence: What is the consequence if a defending team is penalized three
207
+ times in their seven-meter zone during a single possession?
208
+ sentences:
209
+ - 5th edition rules touch football tion rules touch football touch football australia
210
+ ( tfa ) undertook an extensive internal review of their domestic playing rules
211
+ throughout 2018 and 2019. the review was led by an vastly experienced group of
212
+ current and past players, coaches, referees and administrators of the sport from
213
+ community competitions to the elite international game. this group consulted broadly
214
+ within the australian community to develop a set of playing rules that could be
215
+ applied across all levels of the sport. the result was the tfa 8th edition playing
216
+ rules. at the federation of international touch paris convention held in october
217
+ 2019 touch football australia presented the tfa 8th edition playing rules and
218
+ subsequently offered fit and all national touch associations ( ntas ) royalty
219
+ free rights to use the newly developed rules. consequently, the fit board resolved
220
+ to adopt the tfa 8th edition playing rules as the 5th edition fit playing rules
221
+ to be used across all levels of the game internationally. fit and its members
222
+ acknowledge and thank touch football australia for the rights to use these rules.
223
+ whilst consistency in the application of the rules of the game is important, fit
224
+ encourages its members to offer features in local competition rules to ensure
225
+ that all participants enjoy a high quality experience.
226
+ - 17. 2 there is no limit to the number of times a player may interchange. 17. 3
227
+ interchange players must remain in their interchange area for the duration of
228
+ the match. 17. 4 interchanges may only occur after the player leaving the field
229
+ of play has entered the interchange area. 17. 5 players leaving or entering the
230
+ field of play shall not hinder or obstruct play. ruling = a penalty to the non
231
+ - offending team at the point of the infringement. 17. 6 players entering the
232
+ field of play must take up an onside position before becoming involved in play.
233
+ fit playing rules - 5th edition 14 copyright © touch football australia 2020 ruling
234
+ = a penalty to the non - offending team at the point of the infringement. 17.
235
+ 7 when an intercept has occurred or a line break made, players are not permitted
236
+ to interchange until the next touch has been made or ball becomes dead. ruling
237
+ a = if a player enters the field of play and prevents the scoring of a try, a
238
+ penalty try will be awarded and the offending player sent to the sin bin.
239
+ - 18. 5 the mark must be indicated by the referee before a penalty tap is taken.
240
+ 18. 6 the penalty tap must be performed without delay after the referee indicates
241
+ the mark. ruling = a penalty to the non - offending team at the point of infringement.
242
+ 18. 7 a player may perform a rollball instead of a penalty tap and the player
243
+ who receives the ball does not become the half. 18. 8 if the defending team is
244
+ penalised three ( 3 ) times upon entering their seven metre zone during a single
245
+ possession, the last offending player will be given an exclusion until the end
246
+ of that possession. 18. 9 a penalty try is awarded if any action by a player,
247
+ team official or spectator, deemed by the referee to be contrary to the rules
248
+ or spirit of the game clearly prevents the attacking team from scoring a try.
249
+ fit playing rules - 5th edition copyright © touch football australia 2020 15 19
250
+ advantage 19. 1 where a defending team player is offside at a tap or rollball
251
+ and attempts to interfere with play, the referee will allow advantage or award
252
+ a penalty, whichever is of greater advantage to the attacking team.
253
+ ---
254
+
255
+ # SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-dot-v1
256
+
257
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/multi-qa-MiniLM-L6-dot-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-dot-v1). 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.
258
+
259
+ ## Model Details
260
+
261
+ ### Model Description
262
+ - **Model Type:** Sentence Transformer
263
+ - **Base model:** [sentence-transformers/multi-qa-MiniLM-L6-dot-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-dot-v1) <!-- at revision c3bdeb02464bc83f9b85156a3386a50bfbf3e6a8 -->
264
+ - **Maximum Sequence Length:** 512 tokens
265
+ - **Output Dimensionality:** 384 tokens
266
+ - **Similarity Function:** Dot Product
267
+ <!-- - **Training Dataset:** Unknown -->
268
+ <!-- - **Language:** Unknown -->
269
+ <!-- - **License:** Unknown -->
270
+
271
+ ### Model Sources
272
+
273
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
274
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
275
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
276
+
277
+ ### Full Model Architecture
278
+
279
+ ```
280
+ SentenceTransformer(
281
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
282
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
283
+ )
284
+ ```
285
+
286
+ ## Usage
287
+
288
+ ### Direct Usage (Sentence Transformers)
289
+
290
+ First install the Sentence Transformers library:
291
+
292
+ ```bash
293
+ pip install -U sentence-transformers
294
+ ```
295
+
296
+ Then you can load this model and run inference.
297
+ ```python
298
+ from sentence_transformers import SentenceTransformer
299
+
300
+ # Download from the 🤗 Hub
301
+ model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-dot-v1-ft-pairs-4-cst-epoch-s1")
302
+ # Run inference
303
+ sentences = [
304
+ 'What is the consequence if a defending team is penalized three times in their seven-meter zone during a single possession?',
305
+ '18. 5 the mark must be indicated by the referee before a penalty tap is taken. 18. 6 the penalty tap must be performed without delay after the referee indicates the mark. ruling = a penalty to the non - offending team at the point of infringement. 18. 7 a player may perform a rollball instead of a penalty tap and the player who receives the ball does not become the half. 18. 8 if the defending team is penalised three ( 3 ) times upon entering their seven metre zone during a single possession, the last offending player will be given an exclusion until the end of that possession. 18. 9 a penalty try is awarded if any action by a player, team official or spectator, deemed by the referee to be contrary to the rules or spirit of the game clearly prevents the attacking team from scoring a try. fit playing rules - 5th edition copyright © touch football australia 2020 15 19 advantage 19. 1 where a defending team player is offside at a tap or rollball and attempts to interfere with play, the referee will allow advantage or award a penalty, whichever is of greater advantage to the attacking team.',
306
+ '5th edition rules touch football tion rules touch football touch football australia ( tfa ) undertook an extensive internal review of their domestic playing rules throughout 2018 and 2019. the review was led by an vastly experienced group of current and past players, coaches, referees and administrators of the sport from community competitions to the elite international game. this group consulted broadly within the australian community to develop a set of playing rules that could be applied across all levels of the sport. the result was the tfa 8th edition playing rules. at the federation of international touch paris convention held in october 2019 touch football australia presented the tfa 8th edition playing rules and subsequently offered fit and all national touch associations ( ntas ) royalty free rights to use the newly developed rules. consequently, the fit board resolved to adopt the tfa 8th edition playing rules as the 5th edition fit playing rules to be used across all levels of the game internationally. fit and its members acknowledge and thank touch football australia for the rights to use these rules. whilst consistency in the application of the rules of the game is important, fit encourages its members to offer features in local competition rules to ensure that all participants enjoy a high quality experience.',
307
+ ]
308
+ embeddings = model.encode(sentences)
309
+ print(embeddings.shape)
310
+ # [3, 384]
311
+
312
+ # Get the similarity scores for the embeddings
313
+ similarities = model.similarity(embeddings, embeddings)
314
+ print(similarities.shape)
315
+ # [3, 3]
316
+ ```
317
+
318
+ <!--
319
+ ### Direct Usage (Transformers)
320
+
321
+ <details><summary>Click to see the direct usage in Transformers</summary>
322
+
323
+ </details>
324
+ -->
325
+
326
+ <!--
327
+ ### Downstream Usage (Sentence Transformers)
328
+
329
+ You can finetune this model on your own dataset.
330
+
331
+ <details><summary>Click to expand</summary>
332
+
333
+ </details>
334
+ -->
335
+
336
+ <!--
337
+ ### Out-of-Scope Use
338
+
339
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
340
+ -->
341
+
342
+ <!--
343
+ ## Bias, Risks and Limitations
344
+
345
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
346
+ -->
347
+
348
+ <!--
349
+ ### Recommendations
350
+
351
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
352
+ -->
353
+
354
+ ## Training Details
355
+
356
+ ### Training Hyperparameters
357
+ #### Non-Default Hyperparameters
358
+
359
+ - `eval_strategy`: steps
360
+ - `per_device_train_batch_size`: 32
361
+ - `per_device_eval_batch_size`: 32
362
+ - `learning_rate`: 2e-05
363
+ - `num_train_epochs`: 4
364
+ - `lr_scheduler_type`: constant
365
+ - `warmup_ratio`: 0.3
366
+
367
+ #### All Hyperparameters
368
+ <details><summary>Click to expand</summary>
369
+
370
+ - `overwrite_output_dir`: False
371
+ - `do_predict`: False
372
+ - `eval_strategy`: steps
373
+ - `prediction_loss_only`: True
374
+ - `per_device_train_batch_size`: 32
375
+ - `per_device_eval_batch_size`: 32
376
+ - `per_gpu_train_batch_size`: None
377
+ - `per_gpu_eval_batch_size`: None
378
+ - `gradient_accumulation_steps`: 1
379
+ - `eval_accumulation_steps`: None
380
+ - `learning_rate`: 2e-05
381
+ - `weight_decay`: 0.0
382
+ - `adam_beta1`: 0.9
383
+ - `adam_beta2`: 0.999
384
+ - `adam_epsilon`: 1e-08
385
+ - `max_grad_norm`: 1.0
386
+ - `num_train_epochs`: 4
387
+ - `max_steps`: -1
388
+ - `lr_scheduler_type`: constant
389
+ - `lr_scheduler_kwargs`: {}
390
+ - `warmup_ratio`: 0.3
391
+ - `warmup_steps`: 0
392
+ - `log_level`: passive
393
+ - `log_level_replica`: warning
394
+ - `log_on_each_node`: True
395
+ - `logging_nan_inf_filter`: True
396
+ - `save_safetensors`: True
397
+ - `save_on_each_node`: False
398
+ - `save_only_model`: False
399
+ - `restore_callback_states_from_checkpoint`: False
400
+ - `no_cuda`: False
401
+ - `use_cpu`: False
402
+ - `use_mps_device`: False
403
+ - `seed`: 42
404
+ - `data_seed`: None
405
+ - `jit_mode_eval`: False
406
+ - `use_ipex`: False
407
+ - `bf16`: False
408
+ - `fp16`: False
409
+ - `fp16_opt_level`: O1
410
+ - `half_precision_backend`: auto
411
+ - `bf16_full_eval`: False
412
+ - `fp16_full_eval`: False
413
+ - `tf32`: None
414
+ - `local_rank`: 0
415
+ - `ddp_backend`: None
416
+ - `tpu_num_cores`: None
417
+ - `tpu_metrics_debug`: False
418
+ - `debug`: []
419
+ - `dataloader_drop_last`: False
420
+ - `dataloader_num_workers`: 0
421
+ - `dataloader_prefetch_factor`: None
422
+ - `past_index`: -1
423
+ - `disable_tqdm`: False
424
+ - `remove_unused_columns`: True
425
+ - `label_names`: None
426
+ - `load_best_model_at_end`: False
427
+ - `ignore_data_skip`: False
428
+ - `fsdp`: []
429
+ - `fsdp_min_num_params`: 0
430
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
431
+ - `fsdp_transformer_layer_cls_to_wrap`: None
432
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
433
+ - `deepspeed`: None
434
+ - `label_smoothing_factor`: 0.0
435
+ - `optim`: adamw_torch
436
+ - `optim_args`: None
437
+ - `adafactor`: False
438
+ - `group_by_length`: False
439
+ - `length_column_name`: length
440
+ - `ddp_find_unused_parameters`: None
441
+ - `ddp_bucket_cap_mb`: None
442
+ - `ddp_broadcast_buffers`: False
443
+ - `dataloader_pin_memory`: True
444
+ - `dataloader_persistent_workers`: False
445
+ - `skip_memory_metrics`: True
446
+ - `use_legacy_prediction_loop`: False
447
+ - `push_to_hub`: False
448
+ - `resume_from_checkpoint`: None
449
+ - `hub_model_id`: None
450
+ - `hub_strategy`: every_save
451
+ - `hub_private_repo`: False
452
+ - `hub_always_push`: False
453
+ - `gradient_checkpointing`: False
454
+ - `gradient_checkpointing_kwargs`: None
455
+ - `include_inputs_for_metrics`: False
456
+ - `eval_do_concat_batches`: True
457
+ - `fp16_backend`: auto
458
+ - `push_to_hub_model_id`: None
459
+ - `push_to_hub_organization`: None
460
+ - `mp_parameters`:
461
+ - `auto_find_batch_size`: False
462
+ - `full_determinism`: False
463
+ - `torchdynamo`: None
464
+ - `ray_scope`: last
465
+ - `ddp_timeout`: 1800
466
+ - `torch_compile`: False
467
+ - `torch_compile_backend`: None
468
+ - `torch_compile_mode`: None
469
+ - `dispatch_batches`: None
470
+ - `split_batches`: None
471
+ - `include_tokens_per_second`: False
472
+ - `include_num_input_tokens_seen`: False
473
+ - `neftune_noise_alpha`: None
474
+ - `optim_target_modules`: None
475
+ - `batch_eval_metrics`: False
476
+ - `eval_on_start`: False
477
+ - `batch_sampler`: batch_sampler
478
+ - `multi_dataset_batch_sampler`: proportional
479
+
480
+ </details>
481
+
482
+ ### Training Logs
483
+ | Epoch | Step | Training Loss | loss |
484
+ |:------:|:----:|:-------------:|:------:|
485
+ | 0.3333 | 2 | 1.7279 | - |
486
+ | 0.5 | 3 | - | 1.3621 |
487
+ | 0.6667 | 4 | 1.4819 | - |
488
+ | 1.0 | 6 | 1.5272 | 1.2755 |
489
+ | 1.3333 | 8 | 1.2528 | - |
490
+ | 1.5 | 9 | - | 1.2600 |
491
+ | 1.6667 | 10 | 1.421 | - |
492
+ | 2.0 | 12 | 1.1836 | 1.2422 |
493
+ | 2.3333 | 14 | 1.2527 | - |
494
+ | 2.5 | 15 | - | 1.2317 |
495
+ | 2.6667 | 16 | 1.485 | - |
496
+ | 3.0 | 18 | 0.8239 | 1.1883 |
497
+ | 3.3333 | 20 | 1.1028 | - |
498
+ | 3.5 | 21 | - | 1.1533 |
499
+ | 3.6667 | 22 | 0.9746 | - |
500
+ | 4.0 | 24 | 0.816 | 1.1237 |
501
+
502
+
503
+ ### Framework Versions
504
+ - Python: 3.10.12
505
+ - Sentence Transformers: 3.0.1
506
+ - Transformers: 4.42.3
507
+ - PyTorch: 2.1.1+cu121
508
+ - Accelerate: 0.31.0
509
+ - Datasets: 2.17.1
510
+ - Tokenizers: 0.19.1
511
+
512
+ ## Citation
513
+
514
+ ### BibTeX
515
+
516
+ #### Sentence Transformers
517
+ ```bibtex
518
+ @inproceedings{reimers-2019-sentence-bert,
519
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
520
+ author = "Reimers, Nils and Gurevych, Iryna",
521
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
522
+ month = "11",
523
+ year = "2019",
524
+ publisher = "Association for Computational Linguistics",
525
+ url = "https://arxiv.org/abs/1908.10084",
526
+ }
527
+ ```
528
+
529
+ #### MultipleNegativesRankingLoss
530
+ ```bibtex
531
+ @misc{henderson2017efficient,
532
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
533
+ author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
534
+ year={2017},
535
+ eprint={1705.00652},
536
+ archivePrefix={arXiv},
537
+ primaryClass={cs.CL}
538
+ }
539
+ ```
540
+
541
+ <!--
542
+ ## Glossary
543
+
544
+ *Clearly define terms in order to be accessible across audiences.*
545
+ -->
546
+
547
+ <!--
548
+ ## Model Card Authors
549
+
550
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
551
+ -->
552
+
553
+ <!--
554
+ ## Model Card Contact
555
+
556
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
557
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/multi-qa-MiniLM-L6-dot-v1",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.42.3",
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.42.3",
5
+ "pytorch": "2.1.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "dot"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc9df27687aa5ea4d17c14ca6f84f5355dfdd1dc146af28450a6a5d77efe28f2
3
+ size 90864192
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
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": 250,
50
+ "model_max_length": 512,
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