Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:211
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Trelis/multi-qa-MiniLM-L6-dot-v1-ft-pairs-4-cst-epoch-s1-overlap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Trelis/multi-qa-MiniLM-L6-dot-v1-ft-pairs-4-cst-epoch-s1-overlap with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-dot-v1-ft-pairs-4-cst-epoch-s1-overlap") sentences = [ "What happens if a player in possession enters the defending team's seven-metre zone?", "10. 8 if a touch is made in the in - goal area before the ball is grounded, the player in possession is to perform a rollball seven ( 7 ) metres from the team ’ s attacking try line, provided it is not the sixth touch and the player is not half. 10. 9 if a player in possession is touched while on or behind their defending try line, the touch counts and once the referee sets the mark seven ( 7 ) metres directly forward of the contact point from the defending team ’ s try line, a rollball is performed. 10. 10 if a player in possession intentionally makes a touch on an offside defender who is making every effort to retire and remain out of play, the touch counts. fit playing rules - 5th edition copyright © touch football australia 2020 9 10. 11 if a touch is made on a player in possession while the player is juggling the ball in an attempt to maintain control of it, the touch counts if the attacking player following the touch retains possession.", "9. 2 on the change of possession due to an intercept, the first touch will be zero ( 0 ) touch. 9. 3 following the sixth touch or a loss of possession due to any other means, the ball must be returned to the mark without delay. ruling = a deliberate delay in the changeover procedure will result in a penalty awarded to the non - offending team ten ( 10 ) metres forward of the mark for the change of possession. 9. 4 if the ball is dropped or passed and goes to ground during play, a change of possession results. ruling = the mark for the change of possession is where the ball makes initial contact with the ground. 9. 5 if the ball, while still under the control of the half, contacts the ground in the in - goal area, possession is lost. ruling = play will restart with a rollball at the nearest point on the seven ( 7 ) metre line. fit playing rules - 5th edition 8 copyright © touch football australia 2020 9. 6 if a player mishandles the ball and even if in an effort to gain control, the ball is accidentally knocked forward into any other player, a change of possession results.", "fit playing rules - 5th edition copyright © touch football australia 2020 9 10. 11 if a touch is made on a player in possession while the player is juggling the ball in an attempt to maintain control of it, the touch counts if the attacking player following the touch retains possession. 10. 12 if a player in possession is touched and subsequently makes contact with either the sideline, a field marker or the ground outside the field of play, the touch counts and play continues with a rollball at the mark where the touch occurred. 10. 13 when a player from the defending team enters its defensive seven metre zone, the defending team must move forward at a reasonable pace until a touch is imminent or made. ruling = a penalty to the attacking team at the point of the infringement. 10. 14 when a player in possession enters the defending teams ’ seven metre zone the defending team is not obliged to move forward but cannot retire back towards their try line until a touch is imminent or made. ruling = a penalty to the attacking team at the seven ( 7 ) metre line in line with the point of the infringement." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K