RonanMcGovern commited on
Commit
b3a6756
1 Parent(s): 7bf10de

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,548 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/multi-qa-MiniLM-L6-cos-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:211
13
+ - loss:MultipleNegativesRankingLoss
14
+ widget:
15
+ - source_sentence: How long is the initial period of extra time in the drop-off procedure?
16
+ sentences:
17
+ - required in drawn matches, the following drop - off procedure is used to determine
18
+ a winner. 24. 1. 1 each team will reduce their on - field team to four ( 4 ) players
19
+ and within 60 seconds take up a position to restart play from the halfway line,
20
+ defending the same end of the field as at the end of play. 24. 1. 2 the drop -
21
+ off commences with a tap from the centre of the halfway line by the team that
22
+ did not commence the match with possession. 24. 1. 3 the drop - off will commence
23
+ with a two ( 2 ) minute period of extra time. 24. 1. 4 should a team be leading
24
+ at the expiration of the two ( 2 ) minute period of extra time then that team
25
+ will be declared the winner and match complete. 24. 1. 5 should neither team be
26
+ leading at the expiration of two ( 2 ) minutes, a signal is given and the match
27
+ will pause at the next touch or dead ball. each team will then remove another
28
+ player from the field of play. 24. 1. 6 the match will recommence immediately
29
+ after the players have left the field at the same place where it paused ( i. e.
30
+ the team retains possession at the
31
+ - made but must be included in relevant competition, event or tournament conditions
32
+ 1. 2 line markings should be 4cm in width but must be no less than 2. 5cm. line
33
+ markings are to be laid out as shown in appendix 1 - the field of play. sidelines
34
+ extend seven ( 7 ) metres beyond the try lines to join the dead ball lines and
35
+ define the in - goal areas which measure fifty ( 50 ) metres wide by seven ( 7
36
+ ) metres in length. 1. 3 the interchange areas are located no closer than one
37
+ ( 1 ) metre from each sideline. 1. 4 suitably sized markers, cones or corner posts
38
+ of a distinguishing colour and made from safe and pliable material should be positioned
39
+ at the intersections of the sideline and halfway line and the sideline and the
40
+ try line. 1. 4. 1 markers, cones or corner posts placed on the junction of the
41
+ sideline and try line are deemed to be in the field of play. 1. 4. 2 all other
42
+ markers or cones are deemed to be out of the field of play. 1. 5 the standard
43
+ playing surface is grass. other surfaces including synthetic grass may be used
44
+ but shall be subject to nta approved standards. 1. 6 the field of play
45
+ - required in drawn matches, the following drop - off procedure is used to determine
46
+ a winner. 24. 1. 1 each team will reduce their on - field team to four ( 4 ) players
47
+ and within 60 seconds take up a position to restart play from the halfway line,
48
+ defending the same end of the field as at the end of play. 24. 1. 2 the drop -
49
+ off commences with a tap from the centre of the halfway line by the team that
50
+ did not commence the match with possession. 24. 1. 3 the drop - off will commence
51
+ with a two ( 2 ) minute period of extra time. 24. 1. 4 should a team be leading
52
+ at the expiration of the two ( 2 ) minute period of extra time then that team
53
+ will be declared the winner and match complete. 24. 1. 5 should neither team be
54
+ leading at the expiration of two ( 2 ) minutes, a signal is given and the match
55
+ will pause at the next touch or dead ball. each team will then remove another
56
+ player from the field of play. 24. 1. 6 the match will recommence immediately
57
+ after the players have left the field at the same place where it paused ( i. e.
58
+ the team retains possession at the
59
+ - source_sentence: What happens to the touch count if a player from the defending
60
+ team deliberately makes contact with the ball in flight, propelling it towards
61
+ the defending team's dead ball line and an attacking player drops the ball?
62
+ sentences:
63
+ - '##s as zero ( 0 ) touch. 12. 2 if a player from the defending team deliberately
64
+ makes contact with the ball in flight and the ball is retrieved by an attacking
65
+ player, without touching the ground, play continues and the next touch is zero
66
+ ( 0 ) touch. 12. 3 if a player from the defending team deliberately makes contact
67
+ with the ball in flight, propelling it forward and an attacking player, in an
68
+ attempt to regain possession, drops the ball, the attacking team retains possession
69
+ and the fit playing rules - 5th edition 10 copyright © touch football australia
70
+ 2020 touch count restarts as zero ( 0 ) touch. 12. 4 if a player from the defending
71
+ team deliberately makes contact with the ball in flight, propelling it towards
72
+ the defending team ’ s dead ball line and an attacking player, in an attempt to
73
+ regain possession drops the ball, a change of possession occurs. 12. 5 if a player
74
+ from the defending team unintentionally makes contact with the ball in flight
75
+ and the ball goes to ground, a change of possession occurs. 12. 6 if a player
76
+ from the defending team unintentionally makes contact with the ball in flight
77
+ and the ball is retrieved by an attacking player, play and the touch count continues.'
78
+ - made but must be included in relevant competition, event or tournament conditions
79
+ 1. 2 line markings should be 4cm in width but must be no less than 2. 5cm. line
80
+ markings are to be laid out as shown in appendix 1 - the field of play. sidelines
81
+ extend seven ( 7 ) metres beyond the try lines to join the dead ball lines and
82
+ define the in - goal areas which measure fifty ( 50 ) metres wide by seven ( 7
83
+ ) metres in length. 1. 3 the interchange areas are located no closer than one
84
+ ( 1 ) metre from each sideline. 1. 4 suitably sized markers, cones or corner posts
85
+ of a distinguishing colour and made from safe and pliable material should be positioned
86
+ at the intersections of the sideline and halfway line and the sideline and the
87
+ try line. 1. 4. 1 markers, cones or corner posts placed on the junction of the
88
+ sideline and try line are deemed to be in the field of play. 1. 4. 2 all other
89
+ markers or cones are deemed to be out of the field of play. 1. 5 the standard
90
+ playing surface is grass. other surfaces including synthetic grass may be used
91
+ but shall be subject to nta approved standards. 1. 6 the field of play
92
+ - ( 4 ) defending players are in an onside position or unless directed to so by
93
+ the referee. where the number of players on the field from the defending team
94
+ falls below four ( 4 ), all players must be in an onside position for a tap to
95
+ be taken unless directed to do so by the referee. ruling = the player will be
96
+ directed to return to the mark and to take the tap again. 7. 7 the tap to commence
97
+ or recommence play must be performed without delay. ruling = a penalty to the
98
+ non - offending team at the centre of the halfway line. 8 match duration 8. 1
99
+ a match is 40 minutes in duration, consisting of two ( 2 ) x 20 minute halves
100
+ with a half time break. 8. 1. 1 there is no time off for injury during a match.
101
+ 8. 2 local competition and tournament conditions may vary the duration of a match.
102
+ 8. 3 when time expires, play is to continue until the next touch or dead ball
103
+ and end of play is signaled by the referee. 8. 3. 1 should a penalty be awarded
104
+ during this period, the penalty is to be taken. 8. 4 if a match is abandoned in
105
+ any circumstances other than those referred to in
106
+ - source_sentence: What happens if an attacking player fails to perform a rollball
107
+ on the mark?
108
+ sentences:
109
+ - 'ball goes to ground, a change of possession occurs. 12. 6 if a player from the
110
+ defending team unintentionally makes contact with the ball in flight and the ball
111
+ is retrieved by an attacking player, play and the touch count continues. 12. 7
112
+ a player from the attacking team cannot pass the ball into a defending player
113
+ intentionally seeking a rebound or a restart of the touch count. ruling = a penalty
114
+ to the defending team at the point of the pass. 13 the rollball 13. 1 the attacking
115
+ player is to position on the mark, face the opponent ’ s try line, make a genuine
116
+ attempt to stand parallel to the sidelines, place the ball on the ground between
117
+ the feet in a controlled manner and : 13. 1. 1 step forward over the ball ; or
118
+ 13. 1. 2 roll the ball back between the feet no more than one ( 1 ) metre ; or
119
+ 13. 1. 3 pass a foot over the ball. ruling = a change of possession to the defending
120
+ team at the point of the infringement. 13. 2 a player must perform the rollball
121
+ on the mark. ruling = a penalty to the defending team at the point of the infringement.
122
+ 13. 3 a player must not perform a voluntary rollball'
123
+ - dead ball and end of play is signaled by the referee. 8. 3. 1 should a penalty
124
+ be awarded during this period, the penalty is to be taken. 8. 4 if a match is
125
+ abandoned in any circumstances other than those referred to in clause 24. 1. 6
126
+ the nta or nta competition provider in its sole discretion shall determine the
127
+ result of the match. 9 possession 9. 1 the team with the ball is entitled to six
128
+ ( 6 ) touches prior to a change of possession. 9. 2 on the change of possession
129
+ due to an intercept, the first touch will be zero ( 0 ) touch. 9. 3 following
130
+ the sixth touch or a loss of possession due to any other means, the ball must
131
+ be returned to the mark without delay. ruling = a deliberate delay in the changeover
132
+ procedure will result in a penalty awarded to the non - offending team ten ( 10
133
+ ) metres forward of the mark for the change of possession. 9. 4 if the ball is
134
+ dropped or passed and goes to ground during play, a change of possession results.
135
+ ruling = the mark for the change of possession is where the ball makes initial
136
+ contact with the ground. 9. 5 if the ball, while still under the control of the
137
+ half
138
+ - ( 7 ) metre line. 10. 7 the half may pass or run with the ball but cannot get
139
+ touched while in possession of the ball. ruling = a change of possession occurs
140
+ at the point of the touch, or if in - goal the nearest point on the seven ( 7
141
+ ) metre line. 10. 8 if a touch is made in the in - goal area before the ball is
142
+ grounded, the player in possession is to perform a rollball seven ( 7 ) metres
143
+ from the team ’ s attacking try line, provided it is not the sixth touch and the
144
+ player is not half. 10. 9 if a player in possession is touched while on or behind
145
+ their defending try line, the touch counts and once the referee sets the mark
146
+ seven ( 7 ) metres directly forward of the contact point from the defending team
147
+ ’ s try line, a rollball is performed. 10. 10 if a player in possession intentionally
148
+ makes a touch on an offside defender who is making every effort to retire and
149
+ remain out of play, the touch counts. fit playing rules - 5th edition copyright
150
+ © touch football australia 2020 9 10. 11 if a touch is made on a player in possession
151
+ while the player is juggling the ball in an attempt to maintain control of it,
152
+ - source_sentence: What is the result of a match if it is abandoned in circumstances
153
+ other than those specified in clause 24.1.6?
154
+ sentences:
155
+ - 'touch football australia 2020 11 13. 5. 5 when possession changes after the half
156
+ is touched or when the half places the ball on or over the try line ; or 13. 5.
157
+ 6 in replacement of a penalty tap ; or 13. 5. 7 when so directed by the referee.
158
+ 13. 6 a player is to perform a rollball seven ( 7 ) metres in - field under the
159
+ following circumstances : 13. 6. 1 when a change of possession takes place due
160
+ to a player in possession making contact with the sideline or any ground outside
161
+ the field of play, prior to a touch being made ; or 13. 6. 2 when the ball not
162
+ in possession of a player makes contact with the sideline or any ground outside
163
+ the field of play. 13. 7 a player may not perform a tap in replacement of a rollball.
164
+ ruling = the offending team must return to the mark and perform the rollball.
165
+ 13. 8 an attacking player, other than the player performing the rollball, may
166
+ receive the ball at the rollball and shall do so without delay. that player is
167
+ referred to as the half. 13. 9 the half may control the ball with a foot prior
168
+ to picking up the ball. 13. 10 a player'
169
+ - a rollball. half time the break in play between the two halves of a match. imminent
170
+ about to occur, it is almost certain to occur. infringement the action of a player
171
+ contrary to the rules of the game. in - goal area the area in the field of play
172
+ bounded by the sidelines, the try lines and the dead ball lines. there are two
173
+ ( 2 ), one ( 1 ) at each end of the field of play. see appendix 1. interchange
174
+ the act of an on - field player leaving the field of play to be replaced by an
175
+ off - field player entering the field of play. interchange area a marked rectangle
176
+ for each team on opposite sides of the field of play usually measuring 20 metres
177
+ long by no more than five ( 5 ) metres wide, extending ten ( 10 ) metres either
178
+ side of the halfway line and not less than one ( 1 ) metre from the sideline.
179
+ it is the area in which all off - field players must remain until an interchange
180
+ is initiated. see appendix 1. kick strike or propel forcibly with the foot, a
181
+ blow or forceful thrust with the foot to the ball. a tap to commence or recommence
182
+ play or a penalty tap is not defined as a kick. line markings
183
+ - dead ball and end of play is signaled by the referee. 8. 3. 1 should a penalty
184
+ be awarded during this period, the penalty is to be taken. 8. 4 if a match is
185
+ abandoned in any circumstances other than those referred to in clause 24. 1. 6
186
+ the nta or nta competition provider in its sole discretion shall determine the
187
+ result of the match. 9 possession 9. 1 the team with the ball is entitled to six
188
+ ( 6 ) touches prior to a change of possession. 9. 2 on the change of possession
189
+ due to an intercept, the first touch will be zero ( 0 ) touch. 9. 3 following
190
+ the sixth touch or a loss of possession due to any other means, the ball must
191
+ be returned to the mark without delay. ruling = a deliberate delay in the changeover
192
+ procedure will result in a penalty awarded to the non - offending team ten ( 10
193
+ ) metres forward of the mark for the change of possession. 9. 4 if the ball is
194
+ dropped or passed and goes to ground during play, a change of possession results.
195
+ ruling = the mark for the change of possession is where the ball makes initial
196
+ contact with the ground. 9. 5 if the ball, while still under the control of the
197
+ half
198
+ - source_sentence: What is the ruling if an attacking player intentionally passes
199
+ the ball to a defending player seeking a rebound or restart of the touch count?
200
+ sentences:
201
+ - 'ball goes to ground, a change of possession occurs. 12. 6 if a player from the
202
+ defending team unintentionally makes contact with the ball in flight and the ball
203
+ is retrieved by an attacking player, play and the touch count continues. 12. 7
204
+ a player from the attacking team cannot pass the ball into a defending player
205
+ intentionally seeking a rebound or a restart of the touch count. ruling = a penalty
206
+ to the defending team at the point of the pass. 13 the rollball 13. 1 the attacking
207
+ player is to position on the mark, face the opponent ’ s try line, make a genuine
208
+ attempt to stand parallel to the sidelines, place the ball on the ground between
209
+ the feet in a controlled manner and : 13. 1. 1 step forward over the ball ; or
210
+ 13. 1. 2 roll the ball back between the feet no more than one ( 1 ) metre ; or
211
+ 13. 1. 3 pass a foot over the ball. ruling = a change of possession to the defending
212
+ team at the point of the infringement. 13. 2 a player must perform the rollball
213
+ on the mark. ruling = a penalty to the defending team at the point of the infringement.
214
+ 13. 3 a player must not perform a voluntary rollball'
215
+ - . see appendix 1. kick strike or propel forcibly with the foot, a blow or forceful
216
+ thrust with the foot to the ball. a tap to commence or recommence play or a penalty
217
+ tap is not defined as a kick. line markings markings of the field of play. see
218
+ appendix 1. link the player beside the wing player. mark ( for a tap ) the centre
219
+ of the halfway line for the commencement or recommencement of play, or the position
220
+ where a penalty tap is awarded as a result of an infringement. mark ( for a touch
221
+ ) the position in the field of play where the player in possession was at the
222
+ time the touch was made. fit playing rules - 5th edition 2 copyright © touch football
223
+ australia 2020 middle the player inside the link player. nta national touch association
224
+ as defined in the fit constitution. obstruction a deliberate attempt by either
225
+ an attacking or defending player to gain an unfair advantage by interfering with
226
+ the opposition to prevent them from gaining a rightful advantage. offside ( attacker
227
+ ) an attacking player in a position forward of the ball. offside ( defender )
228
+ a defending player in a position closer than seven ( 7 ) metres from the mark
229
+ of the rollball ; or ten ( 10 ) metres from the mark
230
+ - or passed and goes to ground during play, a change of possession results. ruling
231
+ = the mark for the change of possession is where the ball makes initial contact
232
+ with the ground. 9. 5 if the ball, while still under the control of the half,
233
+ contacts the ground in the in - goal area, possession is lost. ruling = play will
234
+ restart with a rollball at the nearest point on the seven ( 7 ) metre line. fit
235
+ playing rules - 5th edition 8 copyright © touch football australia 2020 9. 6 if
236
+ a player mishandles the ball and even if in an effort to gain control, the ball
237
+ is accidentally knocked forward into any other player, a change of possession
238
+ results. 10 the touch 10. 1 a touch may be made by either a defending player or
239
+ a player in possession. 10. 2 a defending player may not claim a touch if contact
240
+ has not been made. if a player claims a touch has been made, but the referee is
241
+ unsure the touch will count. ruling = a penalty to the attacking team at the point
242
+ of the infringement and the offending player sent to the sin bin. 10. 3 players
243
+ of both defending and attacking teams are to use the minimum force necessary to
244
+ make a touch. players must ensure that the
245
+ ---
246
+
247
+ # SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-cos-v1
248
+
249
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/multi-qa-MiniLM-L6-cos-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-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.
250
+
251
+ ## Model Details
252
+
253
+ ### Model Description
254
+ - **Model Type:** Sentence Transformer
255
+ - **Base model:** [sentence-transformers/multi-qa-MiniLM-L6-cos-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1) <!-- at revision 2430568290bb832d22ad5064f44dd86cf0240142 -->
256
+ - **Maximum Sequence Length:** 512 tokens
257
+ - **Output Dimensionality:** 384 tokens
258
+ - **Similarity Function:** Cosine Similarity
259
+ <!-- - **Training Dataset:** Unknown -->
260
+ <!-- - **Language:** Unknown -->
261
+ <!-- - **License:** Unknown -->
262
+
263
+ ### Model Sources
264
+
265
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
266
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
267
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
268
+
269
+ ### Full Model Architecture
270
+
271
+ ```
272
+ SentenceTransformer(
273
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
274
+ (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})
275
+ (2): Normalize()
276
+ )
277
+ ```
278
+
279
+ ## Usage
280
+
281
+ ### Direct Usage (Sentence Transformers)
282
+
283
+ First install the Sentence Transformers library:
284
+
285
+ ```bash
286
+ pip install -U sentence-transformers
287
+ ```
288
+
289
+ Then you can load this model and run inference.
290
+ ```python
291
+ from sentence_transformers import SentenceTransformer
292
+
293
+ # Download from the 🤗 Hub
294
+ model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-cos-v1-ft-pairs")
295
+ # Run inference
296
+ sentences = [
297
+ 'What is the ruling if an attacking player intentionally passes the ball to a defending player seeking a rebound or restart of the touch count?',
298
+ 'ball goes to ground, a change of possession occurs. 12. 6 if a player from the defending team unintentionally makes contact with the ball in flight and the ball is retrieved by an attacking player, play and the touch count continues. 12. 7 a player from the attacking team cannot pass the ball into a defending player intentionally seeking a rebound or a restart of the touch count. ruling = a penalty to the defending team at the point of the pass. 13 the rollball 13. 1 the attacking player is to position on the mark, face the opponent ’ s try line, make a genuine attempt to stand parallel to the sidelines, place the ball on the ground between the feet in a controlled manner and : 13. 1. 1 step forward over the ball ; or 13. 1. 2 roll the ball back between the feet no more than one ( 1 ) metre ; or 13. 1. 3 pass a foot over the ball. ruling = a change of possession to the defending team at the point of the infringement. 13. 2 a player must perform the rollball on the mark. ruling = a penalty to the defending team at the point of the infringement. 13. 3 a player must not perform a voluntary rollball',
299
+ '. see appendix 1. kick strike or propel forcibly with the foot, a blow or forceful thrust with the foot to the ball. a tap to commence or recommence play or a penalty tap is not defined as a kick. line markings markings of the field of play. see appendix 1. link the player beside the wing player. mark ( for a tap ) the centre of the halfway line for the commencement or recommencement of play, or the position where a penalty tap is awarded as a result of an infringement. mark ( for a touch ) the position in the field of play where the player in possession was at the time the touch was made. fit playing rules - 5th edition 2 copyright © touch football australia 2020 middle the player inside the link player. nta national touch association as defined in the fit constitution. obstruction a deliberate attempt by either an attacking or defending player to gain an unfair advantage by interfering with the opposition to prevent them from gaining a rightful advantage. offside ( attacker ) an attacking player in a position forward of the ball. offside ( defender ) a defending player in a position closer than seven ( 7 ) metres from the mark of the rollball ; or ten ( 10 ) metres from the mark',
300
+ ]
301
+ embeddings = model.encode(sentences)
302
+ print(embeddings.shape)
303
+ # [3, 384]
304
+
305
+ # Get the similarity scores for the embeddings
306
+ similarities = model.similarity(embeddings, embeddings)
307
+ print(similarities.shape)
308
+ # [3, 3]
309
+ ```
310
+
311
+ <!--
312
+ ### Direct Usage (Transformers)
313
+
314
+ <details><summary>Click to see the direct usage in Transformers</summary>
315
+
316
+ </details>
317
+ -->
318
+
319
+ <!--
320
+ ### Downstream Usage (Sentence Transformers)
321
+
322
+ You can finetune this model on your own dataset.
323
+
324
+ <details><summary>Click to expand</summary>
325
+
326
+ </details>
327
+ -->
328
+
329
+ <!--
330
+ ### Out-of-Scope Use
331
+
332
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
333
+ -->
334
+
335
+ <!--
336
+ ## Bias, Risks and Limitations
337
+
338
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
339
+ -->
340
+
341
+ <!--
342
+ ### Recommendations
343
+
344
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
345
+ -->
346
+
347
+ ## Training Details
348
+
349
+ ### Training Hyperparameters
350
+ #### Non-Default Hyperparameters
351
+
352
+ - `eval_strategy`: steps
353
+ - `per_device_train_batch_size`: 16
354
+ - `per_device_eval_batch_size`: 16
355
+ - `learning_rate`: 0.0001
356
+ - `num_train_epochs`: 2
357
+ - `lr_scheduler_type`: cosine
358
+ - `warmup_ratio`: 0.3
359
+
360
+ #### All Hyperparameters
361
+ <details><summary>Click to expand</summary>
362
+
363
+ - `overwrite_output_dir`: False
364
+ - `do_predict`: False
365
+ - `eval_strategy`: steps
366
+ - `prediction_loss_only`: True
367
+ - `per_device_train_batch_size`: 16
368
+ - `per_device_eval_batch_size`: 16
369
+ - `per_gpu_train_batch_size`: None
370
+ - `per_gpu_eval_batch_size`: None
371
+ - `gradient_accumulation_steps`: 1
372
+ - `eval_accumulation_steps`: None
373
+ - `learning_rate`: 0.0001
374
+ - `weight_decay`: 0.0
375
+ - `adam_beta1`: 0.9
376
+ - `adam_beta2`: 0.999
377
+ - `adam_epsilon`: 1e-08
378
+ - `max_grad_norm`: 1.0
379
+ - `num_train_epochs`: 2
380
+ - `max_steps`: -1
381
+ - `lr_scheduler_type`: cosine
382
+ - `lr_scheduler_kwargs`: {}
383
+ - `warmup_ratio`: 0.3
384
+ - `warmup_steps`: 0
385
+ - `log_level`: passive
386
+ - `log_level_replica`: warning
387
+ - `log_on_each_node`: True
388
+ - `logging_nan_inf_filter`: True
389
+ - `save_safetensors`: True
390
+ - `save_on_each_node`: False
391
+ - `save_only_model`: False
392
+ - `restore_callback_states_from_checkpoint`: False
393
+ - `no_cuda`: False
394
+ - `use_cpu`: False
395
+ - `use_mps_device`: False
396
+ - `seed`: 42
397
+ - `data_seed`: None
398
+ - `jit_mode_eval`: False
399
+ - `use_ipex`: False
400
+ - `bf16`: False
401
+ - `fp16`: False
402
+ - `fp16_opt_level`: O1
403
+ - `half_precision_backend`: auto
404
+ - `bf16_full_eval`: False
405
+ - `fp16_full_eval`: False
406
+ - `tf32`: None
407
+ - `local_rank`: 0
408
+ - `ddp_backend`: None
409
+ - `tpu_num_cores`: None
410
+ - `tpu_metrics_debug`: False
411
+ - `debug`: []
412
+ - `dataloader_drop_last`: False
413
+ - `dataloader_num_workers`: 0
414
+ - `dataloader_prefetch_factor`: None
415
+ - `past_index`: -1
416
+ - `disable_tqdm`: False
417
+ - `remove_unused_columns`: True
418
+ - `label_names`: None
419
+ - `load_best_model_at_end`: False
420
+ - `ignore_data_skip`: False
421
+ - `fsdp`: []
422
+ - `fsdp_min_num_params`: 0
423
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
424
+ - `fsdp_transformer_layer_cls_to_wrap`: None
425
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
426
+ - `deepspeed`: None
427
+ - `label_smoothing_factor`: 0.0
428
+ - `optim`: adamw_torch
429
+ - `optim_args`: None
430
+ - `adafactor`: False
431
+ - `group_by_length`: False
432
+ - `length_column_name`: length
433
+ - `ddp_find_unused_parameters`: None
434
+ - `ddp_bucket_cap_mb`: None
435
+ - `ddp_broadcast_buffers`: False
436
+ - `dataloader_pin_memory`: True
437
+ - `dataloader_persistent_workers`: False
438
+ - `skip_memory_metrics`: True
439
+ - `use_legacy_prediction_loop`: False
440
+ - `push_to_hub`: False
441
+ - `resume_from_checkpoint`: None
442
+ - `hub_model_id`: None
443
+ - `hub_strategy`: every_save
444
+ - `hub_private_repo`: False
445
+ - `hub_always_push`: False
446
+ - `gradient_checkpointing`: False
447
+ - `gradient_checkpointing_kwargs`: None
448
+ - `include_inputs_for_metrics`: False
449
+ - `eval_do_concat_batches`: True
450
+ - `fp16_backend`: auto
451
+ - `push_to_hub_model_id`: None
452
+ - `push_to_hub_organization`: None
453
+ - `mp_parameters`:
454
+ - `auto_find_batch_size`: False
455
+ - `full_determinism`: False
456
+ - `torchdynamo`: None
457
+ - `ray_scope`: last
458
+ - `ddp_timeout`: 1800
459
+ - `torch_compile`: False
460
+ - `torch_compile_backend`: None
461
+ - `torch_compile_mode`: None
462
+ - `dispatch_batches`: None
463
+ - `split_batches`: None
464
+ - `include_tokens_per_second`: False
465
+ - `include_num_input_tokens_seen`: False
466
+ - `neftune_noise_alpha`: None
467
+ - `optim_target_modules`: None
468
+ - `batch_eval_metrics`: False
469
+ - `eval_on_start`: False
470
+ - `batch_sampler`: batch_sampler
471
+ - `multi_dataset_batch_sampler`: proportional
472
+
473
+ </details>
474
+
475
+ ### Training Logs
476
+ | Epoch | Step | Training Loss | loss |
477
+ |:------:|:----:|:-------------:|:------:|
478
+ | 0.1429 | 2 | 1.0897 | - |
479
+ | 0.2857 | 4 | 1.3506 | 1.1206 |
480
+ | 0.4286 | 6 | 1.1968 | - |
481
+ | 0.5714 | 8 | 1.4074 | 1.0205 |
482
+ | 0.7143 | 10 | 1.3476 | - |
483
+ | 0.8571 | 12 | 1.0062 | 1.0278 |
484
+ | 1.0 | 14 | 1.4792 | - |
485
+ | 1.1429 | 16 | 0.8863 | 1.1568 |
486
+ | 1.2857 | 18 | 0.5465 | - |
487
+ | 1.4286 | 20 | 0.5672 | 1.1830 |
488
+ | 1.5714 | 22 | 0.5482 | - |
489
+ | 1.7143 | 24 | 0.7633 | 1.1838 |
490
+ | 1.8571 | 26 | 0.5931 | - |
491
+ | 2.0 | 28 | 0.4969 | 1.1800 |
492
+
493
+
494
+ ### Framework Versions
495
+ - Python: 3.10.12
496
+ - Sentence Transformers: 3.0.1
497
+ - Transformers: 4.42.3
498
+ - PyTorch: 2.1.1+cu121
499
+ - Accelerate: 0.31.0
500
+ - Datasets: 2.17.1
501
+ - Tokenizers: 0.19.1
502
+
503
+ ## Citation
504
+
505
+ ### BibTeX
506
+
507
+ #### Sentence Transformers
508
+ ```bibtex
509
+ @inproceedings{reimers-2019-sentence-bert,
510
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
511
+ author = "Reimers, Nils and Gurevych, Iryna",
512
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
513
+ month = "11",
514
+ year = "2019",
515
+ publisher = "Association for Computational Linguistics",
516
+ url = "https://arxiv.org/abs/1908.10084",
517
+ }
518
+ ```
519
+
520
+ #### MultipleNegativesRankingLoss
521
+ ```bibtex
522
+ @misc{henderson2017efficient,
523
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
524
+ 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},
525
+ year={2017},
526
+ eprint={1705.00652},
527
+ archivePrefix={arXiv},
528
+ primaryClass={cs.CL}
529
+ }
530
+ ```
531
+
532
+ <!--
533
+ ## Glossary
534
+
535
+ *Clearly define terms in order to be accessible across audiences.*
536
+ -->
537
+
538
+ <!--
539
+ ## Model Card Authors
540
+
541
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
542
+ -->
543
+
544
+ <!--
545
+ ## Model Card Contact
546
+
547
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
548
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/multi-qa-MiniLM-L6-cos-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": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a59e54fc3bc790af318116e24afabcbec1a1388e2e85a7ee70c19bbcfc62f7a0
3
+ size 90864192
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": 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