Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:9729
loss:TripletLoss
text-embeddings-inference
Instructions to use Trelis/multi-qa-MiniLM-L6-dot-v1-ft-triplets-2-cst-epoch-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-triplets-2-cst-epoch-overlap with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-dot-v1-ft-triplets-2-cst-epoch-overlap") sentences = [ "What is the penalty awarded to the attacking team when a defending player fails to retire the required seven metres or to the defending try line after effecting a touch?", "13. 3 a player must not perform a voluntary rollball. ruling = a penalty to the defending team at the point of the infringement. 13. 4 a player must not delay in performing the rollball. ruling = a penalty to the defending team at the point of the infringement. 13. 5 a player may only perform a rollball at the mark under the following circumstances : 13. 5. 1 when a touch has been made ; or 13. 5. 2 when possession changes following the sixth touch ; or 13. 5. 3 when possession changes due to the ball being dropped or passed and goes to the ground ; or 13. 5. 4 when possession changes due to an infringement by an attacking player at a penalty, a tap or a rollball ; or fit playing rules - 5th edition copyright © touch football australia 2020 11 13. 5. 5 when possession changes after the half is touched or when the half places the ball on or over the try line ; or 13. 5. 6 in replacement of a penalty tap ; or 13. 5. 7 when so directed by the referee.", "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.", "ruling = a penalty to the attacking team at the point of the infringement or on the seven ( 7 ) metre line directly forward of the infringement. 15. 4 when a rollball occurs within defending team ’ s seven metre zone or a penalty tap within ten ( 10 ) metres of the defending team ’ s try line, all players from the defending team must have both feet on or behind their try line and no other part of the body in contact with the ground forward of their try line. ruling = a penalty to the attacking team at the seven ( 7 ) metre line 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." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle