Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:192
loss:TripletLoss
text-embeddings-inference
Instructions to use Trelis/all-MiniLM-L12-v2-ft-triplets-10Qs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Trelis/all-MiniLM-L12-v2-ft-triplets-10Qs with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Trelis/all-MiniLM-L12-v2-ft-triplets-10Qs") sentences = [ "What is the purpose of the Rollball in Touch Rugby?", " Attacking Team from scoring a Try.\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n15\n19 Advantage \n19.1\tWhere a Defending Team player is Offside at a Tap or Rollball and attempts \nto interfere with play, the Referee will allow Advantage or award a Penalty, \nwhichever is of greater Advantage to the Attacking Team.\n19.2\tShould the Attacking Team in the act of taking the Advantage subsequently \ninfringe, the Ruling on the initial Infringement will apply.\n20 Misconduct \n20.1\tMisconduct warranting Penalty, Forced Interchange, Sin Bin or Dismissal \nincludes:\n20.1.1\tContinuous or regular breaches of the Rules;\n20.1.2\tSwearing towards another player, Referee, spectator or other match \t\nofficial;\n20.1.3\tDisputing decisions of Referees or other match official(s);\n20.1.4\tUsing more than the necessary physical force to make a Touch;\n20.1.5\tPoor sportsmanship;\n20.1.6\tTripping, striking, or otherwise assaulting another player, Referee, \nspectator or other match official; or\n20.1.7\tAny other action that is contrary to the spirit of the game.\n21 Forced Interchange \n21.1\tWhere the Referee deems it necessary to implement a Forced Interchange \nfollowing an Infringement, the Referee is to stop the match, direct the ball to \nbe placed on the Mark, advise the offending player of the reason for the Forced \nInterchange, direct that player to return to the Interchange Area, display the \nrelevant signal and award a Penalty to the non-offending Team.\n22 Sin Bin \n22.1\tThe on-field Referee is required to indicate the commencement and the end of \nthe Sin Bin time.\n22.2\tAny player sent to the Sin Bin must stand in the Sin Bin Area at the opposition’s \nend of the Field of Play and on the same side as their Interchange Area. \n22.3\tAny player sent to the Sin Bin must return to the Interchange Area prior to re-\nentering the Field of Play.\n22.4\tAny action that causes the Touch Count to restart will result in a continuation of \nthat Possession. For the avoidance of", " The Rollball \n \n13.1\tThe attacking player is to position on the Mark, face the opponent’s Try Line, \nmake a genuine attempt to stand parallel to the Sidelines, place the ball on the \nground between the feet in a controlled manner and:\n13.1.1\tstep Forward over the ball; or\n13.1.2\troll the ball back between the feet no more than one (1) metre; or\n13.1.3\tpass a foot over the ball.\nRuling = A Change of Possession to the Defending Team at the point of the Infringement.\n13.2\tA player must perform the Rollball on the Mark.\nRuling = A Penalty to the Defending Team at the point of the Infringement.\n13.3\tA player must not perform a Voluntary Rollball.\nRuling = A Penalty to the Defending Team at the point of the Infringement.\n13.4\tA player must not delay in performing the Rollball.\nRuling = A Penalty to the Defending Team at the point of the Infringement.\n13.5\tA player may only perform a Rollball at the Mark under the following \ncircumstances:\n13.5.1\twhen a Touch has been made; or\n13.5.2\twhen Possession changes following the sixth Touch; or\n13.5.3\twhen Possession changes due to the ball being dropped or passed and \ngoes to the ground; or\n13.5.4\twhen Possession changes due to an Infringement by an attacking player \nat a Penalty, a Tap or a Rollball; or\nFIT Playing Rules - 5th Edition\nCOPYRIGHT © Touch Football Australia 2020\n11\n13.5.5\twhen Possession changes after the Half is Touched or when the Half \nplaces the ball on or over the Try Line; or\n13.5.6\tin replacement of a Penalty Tap; or\n13.5.7\twhen so directed by the Referee.\n13.6\tA player is to perform a Rollball seven (7) metres in-field under the following \ncircumstances:\n13.6.1\twhen a Change of Possession takes place due to a player in Possession \nmaking contact with the Sideline or any ground outside the Field of Play, \nprior to a Touch being made; or\n13.6.2\twhen the ball", "1\twhen a Change of Possession takes place due to a player in Possession \nmaking contact with the Sideline or any ground outside the Field of Play, \nprior to a Touch being made; or\n13.6.2\twhen the ball not in Possession of a player makes contact with the \nSideline or any ground outside the Field of Play.\n13.7\tA player may not perform a Tap in replacement of a Rollball.\nRuling = The offending Team must return to the Mark and perform the Rollball.\n13.8\tAn attacking player, other than the player performing the Rollball, may receive \nthe ball at the Rollball and shall do so without delay. That player is referred to as \nthe Half.\n13.9\tThe Half may control the ball with a foot prior to picking up the ball. \n13.10\tA player ceases to be the Half once the ball is passed to another player.\n13.11\tDefending players are not to interfere with the performance of the Rollball or the \nHalf. \nRuling = A Penalty to the Attacking Team at a point ten (10) metres directly Forward of the \nInfringement.\n13.12\tPlayers of the Defending Team must not move Forward of the Onside position \nuntil the Half has made contact with the ball, unless directed to do so by the \nReferee or in accordance with 13.12.1.\n13.12.1\tWhen the Half is not within one (1) metre of the Rollball, Onside players \nof the Defending Team may move Forward as soon as the player \nperforming the Rollball releases the ball. If the Half is not in position and \na defending player moves Forward and makes contact with the ball, a \nChange of Possession results.\n13.13\tIf in the act of performing the Rollball, the Attacking player makes contact with \nthe Sideline or any ground outside the Field of Play a Change of Possession will \noccur with the Rollball to be taken seven (7) metres in field.\n13.14\tAfter a Touch is made between the Dead Ball Line and the seven (7) metre line, \nan Attacking Team is permitted to Rollball on the seven (7) metre line at a point \ndirectly in line with where the Touch was made.\nFIT Playing Rules - 5th Edition\n12\nCOPYRIGHT © Touch Football Australia" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K