RonanMcGovern commited on
Commit
028d7c5
1 Parent(s): ecdea2d

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,552 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:188
13
+ - loss:MultipleNegativesRankingLoss
14
+ widget:
15
+ - source_sentence: What is the minimum force that players of both defending and attacking
16
+ teams should use when making a touch?
17
+ sentences:
18
+ - 'touch football australia 2020 11 13. 5. 5 when possession changes after the half
19
+ is touched or when the half places the ball on or over the try line ; or 13. 5.
20
+ 6 in replacement of a penalty tap ; or 13. 5. 7 when so directed by the referee.
21
+ 13. 6 a player is to perform a rollball seven ( 7 ) metres in - field under the
22
+ following circumstances : 13. 6. 1 when a change of possession takes place due
23
+ to a player in possession making contact with the sideline or any ground outside
24
+ the field of play, prior to a touch being made ; or 13. 6. 2 when the ball not
25
+ in possession of a player makes contact with the sideline or any ground outside
26
+ the field of play. 13. 7 a player may not perform a tap in replacement of a rollball.
27
+ ruling = the offending team must return to the mark and perform the rollball.
28
+ 13. 8 an attacking player, other than the player performing the rollball, may
29
+ receive the ball at the rollball and shall do so without delay. that player is
30
+ referred to as the half. 13. 9 the half may control the ball with a foot prior
31
+ to picking up the ball. 13. 10 a player'
32
+ - or passed and goes to ground during play, a change of possession results. ruling
33
+ = the mark for the change of possession is where the ball makes initial contact
34
+ with the ground. 9. 5 if the ball, while still under the control of the half,
35
+ contacts the ground in the in - goal area, possession is lost. ruling = play will
36
+ restart with a rollball at the nearest point on the seven ( 7 ) metre line. fit
37
+ playing rules - 5th edition 8 copyright © touch football australia 2020 9. 6 if
38
+ a player mishandles the ball and even if in an effort to gain control, the ball
39
+ is accidentally knocked forward into any other player, a change of possession
40
+ results. 10 the touch 10. 1 a touch may be made by either a defending player or
41
+ a player in possession. 10. 2 a defending player may not claim a touch if contact
42
+ has not been made. if a player claims a touch has been made, but the referee is
43
+ unsure the touch will count. ruling = a penalty to the attacking team at the point
44
+ of the infringement and the offending player sent to the sin bin. 10. 3 players
45
+ of both defending and attacking teams are to use the minimum force necessary to
46
+ make a touch. players must ensure that the
47
+ - is normally forty - five minutes, inclusive of a five ( 5 ) minute half time.
48
+ end of play when the referee indicates completion of the match. exclusion when
49
+ a player is sent to the nearest sin bin area following three ( 3 ) penalties by
50
+ the defending team upon entering their seven metre zone. the player is counted
51
+ as a player on the field of play and cannot be replaced or interchanged. fit playing
52
+ rules - 5th edition copyright © touch football australia 2020 1 fit federation
53
+ of international touch field of play the playing area bounded by the sidelines
54
+ and dead ball lines, both of which are out of bounds. see appendix 1. forced interchange
55
+ when a player is required to undertake a compulsory interchange for an infringement
56
+ ruled more serious than a penalty but less serious than a permanent interchange,
57
+ sin bin or dismissal. forward a position or direction towards the dead ball line
58
+ beyond the team ’ s attacking try line. full time the expiration of the second
59
+ period of time allowed for play. half the player who takes possession following
60
+ a rollball. half time the break in play between the two halves of a match. imminent
61
+ about to occur, it is almost certain to occur. infringement the action of a player
62
+ contrary to the rules of the game. in - goal area the area
63
+ - source_sentence: What was the name of the convention where TFA presented the TFA
64
+ 8th edition playing rules?
65
+ sentences:
66
+ - 5th edition rules touch football tion rules touch football touch football australia
67
+ ( tfa ) undertook an extensive internal review of their domestic playing rules
68
+ throughout 2018 and 2019. the review was led by an vastly experienced group of
69
+ current and past players, coaches, referees and administrators of the sport from
70
+ community competitions to the elite international game. this group consulted broadly
71
+ within the australian community to develop a set of playing rules that could be
72
+ applied across all levels of the sport. the result was the tfa 8th edition playing
73
+ rules. at the federation of international touch paris convention held in october
74
+ 2019 touch football australia presented the tfa 8th edition playing rules and
75
+ subsequently offered fit and all national touch associations ( ntas ) royalty
76
+ free rights to use the newly developed rules. consequently, the fit board resolved
77
+ to adopt the tfa 8th edition playing rules as the 5th edition fit playing rules
78
+ to be used across all levels of the game internationally. fit and its members
79
+ acknowledge and thank touch football australia for the rights to use these rules.
80
+ whilst consistency in the application of the rules of the game is important, fit
81
+ encourages its members to offer features in local competition rules to ensure
82
+ that all participants enjoy a high quality experience. these rules in no way restrict
83
+ any nta or their authorised competition providers from having
84
+ - dead ball and end of play is signaled by the referee. 8. 3. 1 should a penalty
85
+ be awarded during this period, the penalty is to be taken. 8. 4 if a match is
86
+ abandoned in any circumstances other than those referred to in clause 24. 1. 6
87
+ the nta or nta competition provider in its sole discretion shall determine the
88
+ result of the match. 9 possession 9. 1 the team with the ball is entitled to six
89
+ ( 6 ) touches prior to a change of possession. 9. 2 on the change of possession
90
+ due to an intercept, the first touch will be zero ( 0 ) touch. 9. 3 following
91
+ the sixth touch or a loss of possession due to any other means, the ball must
92
+ be returned to the mark without delay. ruling = a deliberate delay in the changeover
93
+ procedure will result in a penalty awarded to the non - offending team ten ( 10
94
+ ) metres forward of the mark for the change of possession. 9. 4 if the ball is
95
+ dropped or passed and goes to ground during play, a change of possession results.
96
+ ruling = the mark for the change of possession is where the ball makes initial
97
+ contact with the ground. 9. 5 if the ball, while still under the control of the
98
+ half
99
+ - ( 1 ). 6 team coach and team officials 6. 1 the team coach ( s ) and team officials
100
+ may be permitted inside the perimeter but shall be required to be positioned either
101
+ in the interchange area or at the end of the field of play for the duration of
102
+ the match. 6. 2 the team coach ( s ) and team officials may move from one position
103
+ to the other but shall do so without delay. while in a position at the end of
104
+ the field of play, the team coach ( s ) or team official must remain no closer
105
+ than five ( 5 ) metres from the dead ball line and must not coach or communicate
106
+ ( verbal or non - verbal ) with either team or the referees. 7 commencement and
107
+ recommencement of play 7. 1 team captains are to toss a coin in the presence of
108
+ the referee ( s ) with the winning captain ’ s team having the choice of the direction
109
+ the team wishes to run in the first half ; the choice of interchange areas for
110
+ the duration of the match, including any extra time ; and the choice of which
111
+ team will commence the match in possession. 7. 2 a player of the attacking team
112
+ is to commence the match with a tap at the centre of the halfway line following
113
+ the indication to
114
+ - source_sentence: What is the minimum number of defending players required to be
115
+ in an onside position for a tap to be taken?
116
+ sentences:
117
+ - ( 4 ) defending players are in an onside position or unless directed to so by
118
+ the referee. where the number of players on the field from the defending team
119
+ falls below four ( 4 ), all players must be in an onside position for a tap to
120
+ be taken unless directed to do so by the referee. ruling = the player will be
121
+ directed to return to the mark and to take the tap again. 7. 7 the tap to commence
122
+ or recommence play must be performed without delay. ruling = a penalty to the
123
+ non - offending team at the centre of the halfway line. 8 match duration 8. 1
124
+ a match is 40 minutes in duration, consisting of two ( 2 ) x 20 minute halves
125
+ with a half time break. 8. 1. 1 there is no time off for injury during a match.
126
+ 8. 2 local competition and tournament conditions may vary the duration of a match.
127
+ 8. 3 when time expires, play is to continue until the next touch or dead ball
128
+ and end of play is signaled by the referee. 8. 3. 1 should a penalty be awarded
129
+ during this period, the penalty is to be taken. 8. 4 if a match is abandoned in
130
+ any circumstances other than those referred to in
131
+ - players from the defending team must retire a distance of ten ( 10 ) metres from
132
+ the mark or to the defending try line as indicated by the referee. ruling = a
133
+ penalty to the attacking team at the point of the infringement or on the ten (
134
+ 10 ) metre line directly forward of the infringement. 15. 3 at a rollball or tap,
135
+ players from the defending team must not retire an unreasonable distance beyond
136
+ the defending try line. ruling = a penalty to the attacking team at the point
137
+ of the infringement or on the seven ( 7 ) metre line directly forward of the infringement.
138
+ 15. 4 when a rollball occurs within defending team ’ s seven metre zone or a penalty
139
+ tap within ten ( 10 ) metres of the defending team ’ s try line, all players from
140
+ the defending team must have both feet on or behind their try line and no other
141
+ part of the body in contact with the ground forward of their try line. ruling
142
+ = a penalty to the attacking team at the seven ( 7 ) metre line directly forward
143
+ of the point of the infringement. 15. 5 after effecting the touch, the defending
144
+ player must retire the required seven ( 7 ) metres or to the defending try line
145
+ as indicated by the referee without interfering with the attacking team. ruling
146
+ =
147
+ - '##s as zero ( 0 ) touch. 12. 2 if a player from the defending team deliberately
148
+ makes contact with the ball in flight and the ball is retrieved by an attacking
149
+ player, without touching the ground, play continues and the next touch is zero
150
+ ( 0 ) touch. 12. 3 if a player from the defending team deliberately makes contact
151
+ with the ball in flight, propelling it forward and an attacking player, in an
152
+ attempt to regain possession, drops the ball, the attacking team retains possession
153
+ and the fit playing rules - 5th edition 10 copyright © touch football australia
154
+ 2020 touch count restarts as zero ( 0 ) touch. 12. 4 if a player from the defending
155
+ team deliberately makes contact with the ball in flight, propelling it towards
156
+ the defending team ’ s dead ball line and an attacking player, in an attempt to
157
+ regain possession drops the ball, a change of possession occurs. 12. 5 if a player
158
+ from the defending team unintentionally makes contact with the ball in flight
159
+ and the ball goes to ground, a change of possession occurs. 12. 6 if a player
160
+ from the defending team unintentionally makes contact with the ball in flight
161
+ and the ball is retrieved by an attacking player, play and the touch count continues.'
162
+ - source_sentence: How many times can a player interchange during a match?
163
+ sentences:
164
+ - ( 7 ) metre line. 10. 7 the half may pass or run with the ball but cannot get
165
+ touched while in possession of the ball. ruling = a change of possession occurs
166
+ at the point of the touch, or if in - goal the nearest point on the seven ( 7
167
+ ) metre line. 10. 8 if a touch is made in the in - goal area before the ball is
168
+ grounded, the player in possession is to perform a rollball seven ( 7 ) metres
169
+ from the team ’ s attacking try line, provided it is not the sixth touch and the
170
+ player is not half. 10. 9 if a player in possession is touched while on or behind
171
+ their defending try line, the touch counts and once the referee sets the mark
172
+ seven ( 7 ) metres directly forward of the contact point from the defending team
173
+ ’ s try line, a rollball is performed. 10. 10 if a player in possession intentionally
174
+ makes a touch on an offside defender who is making every effort to retire and
175
+ remain out of play, the touch counts. fit playing rules - 5th edition copyright
176
+ © touch football australia 2020 9 10. 11 if a touch is made on a player in possession
177
+ while the player is juggling the ball in an attempt to maintain control of it,
178
+ - '##ommencement of play 7 08 i match duration 8 09 i possession 8 10 i the touch
179
+ 9 11 i passing 10 12 i ball touched in flight 10 13 i the rollball 11 14 i scoring
180
+ 13 15 i offside 13 16 i obstruction 14 17 i interchange 14 18 i penalty 15 19
181
+ i advantage 16 20 i misconduct 16 21 i forced interchange 16 22 i sin bin 16 23
182
+ i dismissal 17 24 i drop - off 17 25 i match officials 18 fit playing rules -
183
+ 5th edition copyright © touch football australia 2020 fit playing rules - 5th
184
+ edition copyright © touch football australia 2020 definitions and terminology
185
+ unless the contrary intention appears, the following definitions and terminology
186
+ apply to the game of touch : term / phrase definition / description advantage
187
+ the period of time after an infringement in which the non - offending side has
188
+ the opportunity to gain advantage either territorial, tactical or in the form
189
+ of a try. attacking try line the line on or over which a player has to place the
190
+ ball to score a try. attacking team the team which has or is gaining possession.
191
+ behind a position or direction towards a team ’ s defending try line. change of
192
+ possession the act of moving control of the ball from one team to the other. dead
193
+ / dead ball when the'
194
+ - at the mark where the interference occurred and the touch count remains unchanged.
195
+ 17 interchange 17. 1 players may interchange at any time. 17. 2 there is no limit
196
+ to the number of times a player may interchange. 17. 3 interchange players must
197
+ remain in their interchange area for the duration of the match. 17. 4 interchanges
198
+ may only occur after the player leaving the field of play has entered the interchange
199
+ area. 17. 5 players leaving or entering the field of play shall not hinder or
200
+ obstruct play. ruling = a penalty to the non - offending team at the point of
201
+ the infringement. 17. 6 players entering the field of play must take up an onside
202
+ position before becoming involved in play. fit playing rules - 5th edition 14
203
+ copyright © touch football australia 2020 ruling = a penalty to the non - offending
204
+ team at the point of the infringement. 17. 7 when an intercept has occurred or
205
+ a line break made, players are not permitted to interchange until the next touch
206
+ has been made or ball becomes dead. ruling a = if a player enters the field of
207
+ play and prevents the scoring of a try, a penalty try will be awarded and the
208
+ offending player sent to the sin bin. ruling b = if a player
209
+ - source_sentence: What is the ruling if a player in possession holds or impedes a
210
+ defending player?
211
+ sentences:
212
+ - required in drawn matches, the following drop - off procedure is used to determine
213
+ a winner. 24. 1. 1 each team will reduce their on - field team to four ( 4 ) players
214
+ and within 60 seconds take up a position to restart play from the halfway line,
215
+ defending the same end of the field as at the end of play. 24. 1. 2 the drop -
216
+ off commences with a tap from the centre of the halfway line by the team that
217
+ did not commence the match with possession. 24. 1. 3 the drop - off will commence
218
+ with a two ( 2 ) minute period of extra time. 24. 1. 4 should a team be leading
219
+ at the expiration of the two ( 2 ) minute period of extra time then that team
220
+ will be declared the winner and match complete. 24. 1. 5 should neither team be
221
+ leading at the expiration of two ( 2 ) minutes, a signal is given and the match
222
+ will pause at the next touch or dead ball. each team will then remove another
223
+ player from the field of play. 24. 1. 6 the match will recommence immediately
224
+ after the players have left the field at the same place where it paused ( i. e.
225
+ the team retains possession at the
226
+ - . attacking team the team which has or is gaining possession. behind a position
227
+ or direction towards a team ’ s defending try line. change of possession the act
228
+ of moving control of the ball from one team to the other. dead / dead ball when
229
+ the ball is out of play including the period following a try and until the match
230
+ is recommenced and when the ball goes to ground and / or outside the boundaries
231
+ of the field of play prior to the subsequent rollball. dead ball line the end
232
+ boundaries of the field of play. there is one at each end of the field of play.
233
+ see appendix 1. defending try line the line which a team has to defend to prevent
234
+ a try. defending team the team without or which is losing possession. dismissal
235
+ when a player is sent from the field of play for the rest of the match. drop -
236
+ off a procedure used to determine a winner following equal scores at the expiration
237
+ of normal duration. duration the length of time a competition match lasts, which
238
+ is normally forty - five minutes, inclusive of a five ( 5 ) minute half time.
239
+ end of play when the referee indicates completion of the match. exclusion when
240
+ a player is sent to the nearest sin bin area following three ( 3 ) penalties by
241
+ the
242
+ - directly forward of the point of the infringement. 15. 5 after effecting the touch,
243
+ the defending player must retire the required seven ( 7 ) metres or to the defending
244
+ try line as indicated by the referee without interfering with the attacking team.
245
+ ruling = a penalty to the attacking team ten ( 10 ) metres forward of the infringement
246
+ or if on the defensive try line, on the seven ( 7 ) metre line. fit playing rules
247
+ - 5th edition copyright © touch football australia 2020 13 16 obstruction 16.
248
+ 1 a player in possession must not run or otherwise move behind other attacking
249
+ players or the referee in an attempt to avoid an imminent touch. ruling = a penalty
250
+ to the non - offending team at the point of the infringement. 16. 2 the player
251
+ in possession is not to hold or otherwise impede a defending player in any way.
252
+ ruling = a penalty to the non - offending team at the point of the infringement.
253
+ 16. 3 an attacking player in support of the player in possession may move as necessary
254
+ to achieve a supporting position but must not grab, hold, push or otherwise deliberately
255
+ interfere with a defending player attempting to make a touch ruling = a penalty
256
+ to the non - offending team at the point of the infringement or on the seven (
257
+ 7
258
+ ---
259
+
260
+ # SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-dot-v1
261
+
262
+ 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.
263
+
264
+ ## Model Details
265
+
266
+ ### Model Description
267
+ - **Model Type:** Sentence Transformer
268
+ - **Base model:** [sentence-transformers/multi-qa-MiniLM-L6-dot-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-dot-v1) <!-- at revision c3bdeb02464bc83f9b85156a3386a50bfbf3e6a8 -->
269
+ - **Maximum Sequence Length:** 512 tokens
270
+ - **Output Dimensionality:** 384 tokens
271
+ - **Similarity Function:** Dot Product
272
+ <!-- - **Training Dataset:** Unknown -->
273
+ <!-- - **Language:** Unknown -->
274
+ <!-- - **License:** Unknown -->
275
+
276
+ ### Model Sources
277
+
278
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
279
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
280
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
281
+
282
+ ### Full Model Architecture
283
+
284
+ ```
285
+ SentenceTransformer(
286
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
287
+ (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})
288
+ )
289
+ ```
290
+
291
+ ## Usage
292
+
293
+ ### Direct Usage (Sentence Transformers)
294
+
295
+ First install the Sentence Transformers library:
296
+
297
+ ```bash
298
+ pip install -U sentence-transformers
299
+ ```
300
+
301
+ Then you can load this model and run inference.
302
+ ```python
303
+ from sentence_transformers import SentenceTransformer
304
+
305
+ # Download from the 🤗 Hub
306
+ model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-dot-v1-ft-pairs")
307
+ # Run inference
308
+ sentences = [
309
+ 'What is the ruling if a player in possession holds or impedes a defending player?',
310
+ 'directly forward of the point of the infringement. 15. 5 after effecting the touch, the defending player must retire the required seven ( 7 ) metres or to the defending try line as indicated by the referee without interfering with the attacking team. ruling = a penalty to the attacking team ten ( 10 ) metres forward of the infringement or if on the defensive try line, on the seven ( 7 ) metre line. fit playing rules - 5th edition copyright © touch football australia 2020 13 16 obstruction 16. 1 a player in possession must not run or otherwise move behind other attacking players or the referee in an attempt to avoid an imminent touch. ruling = a penalty to the non - offending team at the point of the infringement. 16. 2 the player in possession is not to hold or otherwise impede a defending player in any way. ruling = a penalty to the non - offending team at the point of the infringement. 16. 3 an attacking player in support of the player in possession may move as necessary to achieve a supporting position but must not grab, hold, push or otherwise deliberately interfere with a defending player attempting to make a touch ruling = a penalty to the non - offending team at the point of the infringement or on the seven ( 7',
311
+ '. attacking team the team which has or is gaining possession. behind a position or direction towards a team ’ s defending try line. change of possession the act of moving control of the ball from one team to the other. dead / dead ball when the ball is out of play including the period following a try and until the match is recommenced and when the ball goes to ground and / or outside the boundaries of the field of play prior to the subsequent rollball. dead ball line the end boundaries of the field of play. there is one at each end of the field of play. see appendix 1. defending try line the line which a team has to defend to prevent a try. defending team the team without or which is losing possession. dismissal when a player is sent from the field of play for the rest of the match. drop - off a procedure used to determine a winner following equal scores at the expiration of normal duration. duration the length of time a competition match lasts, which is normally forty - five minutes, inclusive of a five ( 5 ) minute half time. end of play when the referee indicates completion of the match. exclusion when a player is sent to the nearest sin bin area following three ( 3 ) penalties by the',
312
+ ]
313
+ embeddings = model.encode(sentences)
314
+ print(embeddings.shape)
315
+ # [3, 384]
316
+
317
+ # Get the similarity scores for the embeddings
318
+ similarities = model.similarity(embeddings, embeddings)
319
+ print(similarities.shape)
320
+ # [3, 3]
321
+ ```
322
+
323
+ <!--
324
+ ### Direct Usage (Transformers)
325
+
326
+ <details><summary>Click to see the direct usage in Transformers</summary>
327
+
328
+ </details>
329
+ -->
330
+
331
+ <!--
332
+ ### Downstream Usage (Sentence Transformers)
333
+
334
+ You can finetune this model on your own dataset.
335
+
336
+ <details><summary>Click to expand</summary>
337
+
338
+ </details>
339
+ -->
340
+
341
+ <!--
342
+ ### Out-of-Scope Use
343
+
344
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
345
+ -->
346
+
347
+ <!--
348
+ ## Bias, Risks and Limitations
349
+
350
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
351
+ -->
352
+
353
+ <!--
354
+ ### Recommendations
355
+
356
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
357
+ -->
358
+
359
+ ## Training Details
360
+
361
+ ### Training Hyperparameters
362
+ #### Non-Default Hyperparameters
363
+
364
+ - `eval_strategy`: steps
365
+ - `per_device_train_batch_size`: 16
366
+ - `per_device_eval_batch_size`: 16
367
+ - `learning_rate`: 0.0001
368
+ - `num_train_epochs`: 1
369
+ - `lr_scheduler_type`: constant
370
+ - `warmup_ratio`: 0.3
371
+
372
+ #### All Hyperparameters
373
+ <details><summary>Click to expand</summary>
374
+
375
+ - `overwrite_output_dir`: False
376
+ - `do_predict`: False
377
+ - `eval_strategy`: steps
378
+ - `prediction_loss_only`: True
379
+ - `per_device_train_batch_size`: 16
380
+ - `per_device_eval_batch_size`: 16
381
+ - `per_gpu_train_batch_size`: None
382
+ - `per_gpu_eval_batch_size`: None
383
+ - `gradient_accumulation_steps`: 1
384
+ - `eval_accumulation_steps`: None
385
+ - `learning_rate`: 0.0001
386
+ - `weight_decay`: 0.0
387
+ - `adam_beta1`: 0.9
388
+ - `adam_beta2`: 0.999
389
+ - `adam_epsilon`: 1e-08
390
+ - `max_grad_norm`: 1.0
391
+ - `num_train_epochs`: 1
392
+ - `max_steps`: -1
393
+ - `lr_scheduler_type`: constant
394
+ - `lr_scheduler_kwargs`: {}
395
+ - `warmup_ratio`: 0.3
396
+ - `warmup_steps`: 0
397
+ - `log_level`: passive
398
+ - `log_level_replica`: warning
399
+ - `log_on_each_node`: True
400
+ - `logging_nan_inf_filter`: True
401
+ - `save_safetensors`: True
402
+ - `save_on_each_node`: False
403
+ - `save_only_model`: False
404
+ - `restore_callback_states_from_checkpoint`: False
405
+ - `no_cuda`: False
406
+ - `use_cpu`: False
407
+ - `use_mps_device`: False
408
+ - `seed`: 42
409
+ - `data_seed`: None
410
+ - `jit_mode_eval`: False
411
+ - `use_ipex`: False
412
+ - `bf16`: False
413
+ - `fp16`: False
414
+ - `fp16_opt_level`: O1
415
+ - `half_precision_backend`: auto
416
+ - `bf16_full_eval`: False
417
+ - `fp16_full_eval`: False
418
+ - `tf32`: None
419
+ - `local_rank`: 0
420
+ - `ddp_backend`: None
421
+ - `tpu_num_cores`: None
422
+ - `tpu_metrics_debug`: False
423
+ - `debug`: []
424
+ - `dataloader_drop_last`: False
425
+ - `dataloader_num_workers`: 0
426
+ - `dataloader_prefetch_factor`: None
427
+ - `past_index`: -1
428
+ - `disable_tqdm`: False
429
+ - `remove_unused_columns`: True
430
+ - `label_names`: None
431
+ - `load_best_model_at_end`: False
432
+ - `ignore_data_skip`: False
433
+ - `fsdp`: []
434
+ - `fsdp_min_num_params`: 0
435
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
436
+ - `fsdp_transformer_layer_cls_to_wrap`: None
437
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
438
+ - `deepspeed`: None
439
+ - `label_smoothing_factor`: 0.0
440
+ - `optim`: adamw_torch
441
+ - `optim_args`: None
442
+ - `adafactor`: False
443
+ - `group_by_length`: False
444
+ - `length_column_name`: length
445
+ - `ddp_find_unused_parameters`: None
446
+ - `ddp_bucket_cap_mb`: None
447
+ - `ddp_broadcast_buffers`: False
448
+ - `dataloader_pin_memory`: True
449
+ - `dataloader_persistent_workers`: False
450
+ - `skip_memory_metrics`: True
451
+ - `use_legacy_prediction_loop`: False
452
+ - `push_to_hub`: False
453
+ - `resume_from_checkpoint`: None
454
+ - `hub_model_id`: None
455
+ - `hub_strategy`: every_save
456
+ - `hub_private_repo`: False
457
+ - `hub_always_push`: False
458
+ - `gradient_checkpointing`: False
459
+ - `gradient_checkpointing_kwargs`: None
460
+ - `include_inputs_for_metrics`: False
461
+ - `eval_do_concat_batches`: True
462
+ - `fp16_backend`: auto
463
+ - `push_to_hub_model_id`: None
464
+ - `push_to_hub_organization`: None
465
+ - `mp_parameters`:
466
+ - `auto_find_batch_size`: False
467
+ - `full_determinism`: False
468
+ - `torchdynamo`: None
469
+ - `ray_scope`: last
470
+ - `ddp_timeout`: 1800
471
+ - `torch_compile`: False
472
+ - `torch_compile_backend`: None
473
+ - `torch_compile_mode`: None
474
+ - `dispatch_batches`: None
475
+ - `split_batches`: None
476
+ - `include_tokens_per_second`: False
477
+ - `include_num_input_tokens_seen`: False
478
+ - `neftune_noise_alpha`: None
479
+ - `optim_target_modules`: None
480
+ - `batch_eval_metrics`: False
481
+ - `eval_on_start`: False
482
+ - `batch_sampler`: batch_sampler
483
+ - `multi_dataset_batch_sampler`: proportional
484
+
485
+ </details>
486
+
487
+ ### Training Logs
488
+ | Epoch | Step | Training Loss | loss |
489
+ |:------:|:----:|:-------------:|:------:|
490
+ | 0.1667 | 2 | 1.5903 | 1.1222 |
491
+ | 0.3333 | 4 | 1.3817 | 1.1956 |
492
+ | 0.5 | 6 | 0.8451 | 1.1244 |
493
+ | 0.6667 | 8 | 1.4958 | 1.1055 |
494
+ | 0.8333 | 10 | 1.3135 | 1.0260 |
495
+ | 1.0 | 12 | 1.7283 | 0.9734 |
496
+
497
+
498
+ ### Framework Versions
499
+ - Python: 3.10.12
500
+ - Sentence Transformers: 3.0.1
501
+ - Transformers: 4.42.3
502
+ - PyTorch: 2.1.1+cu121
503
+ - Accelerate: 0.31.0
504
+ - Datasets: 2.17.1
505
+ - Tokenizers: 0.19.1
506
+
507
+ ## Citation
508
+
509
+ ### BibTeX
510
+
511
+ #### Sentence Transformers
512
+ ```bibtex
513
+ @inproceedings{reimers-2019-sentence-bert,
514
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
515
+ author = "Reimers, Nils and Gurevych, Iryna",
516
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
517
+ month = "11",
518
+ year = "2019",
519
+ publisher = "Association for Computational Linguistics",
520
+ url = "https://arxiv.org/abs/1908.10084",
521
+ }
522
+ ```
523
+
524
+ #### MultipleNegativesRankingLoss
525
+ ```bibtex
526
+ @misc{henderson2017efficient,
527
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
528
+ 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},
529
+ year={2017},
530
+ eprint={1705.00652},
531
+ archivePrefix={arXiv},
532
+ primaryClass={cs.CL}
533
+ }
534
+ ```
535
+
536
+ <!--
537
+ ## Glossary
538
+
539
+ *Clearly define terms in order to be accessible across audiences.*
540
+ -->
541
+
542
+ <!--
543
+ ## Model Card Authors
544
+
545
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
546
+ -->
547
+
548
+ <!--
549
+ ## Model Card Contact
550
+
551
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
552
+ -->
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:95e99a8b3c9320b1adab602a2be0ddf2417bb2600091366df2bca04b90953826
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