Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
Generated from Trainer
dataset_size:305
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Trelis/modernbert-embed-base-touch-rugby-ft-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Trelis/modernbert-embed-base-touch-rugby-ft-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Trelis/modernbert-embed-base-touch-rugby-ft-v2") sentences = [ "What happens if neither team is leading after the two-minute drop-off period?", "24 Drop-Off \n24.1\tShould a Winner be required in drawn matches, the following Drop-Off \nprocedure is used to determine a Winner.24.1.1\tEach Team will reduce their on-field Team to four (4) players and within \n60 seconds take up a position to restart play from the Halfway Line, \ndefending the same end of the field as at the End of Play.24.1.2\tThe Drop-Off commences with a Tap from the centre of the Halfway Line \nby the Team that did not commence the match with Possession.24.1.3\tThe Drop-Off will commence with a two (2) minute period of extra time.24.1.4\tShould a Team be leading at the expiration of the two (2) minute period \nof extra time then that Team will be declared the Winner and Match \ncomplete.24.1.5\tShould neither Team be leading at the expiration of two (2) minutes, a \nsignal is given and the match will pause at the next Touch or Dead Ball.", "25.1.2\tAdjudicate on the Rules of the game;\n25.1.3\tImpose any sanction necessary to control the match;\n25.1.4\tAward Tries and record the progressive score;\n25.1.5\tMaintain a count of Touches during each Possession;\n25.1.6\tAward Penalties for Infringements against the Rules; and\n25.1.7\tReport to the relevant competition administration any Sin Bins, \nDismissals or injuries to any participant sustained during a Match.25.2\tOnly Team captains are permitted to seek clarification of a decision directly \nfrom the Referee.An approach may only be made during a break in play or at \nthe discretion of the Referee.", "21 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.22 Sin Bin \n22.1\tThe on-field Referee is required to indicate the commencement and the end of \nthe Sin Bin time.22.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.22.3\tAny player sent to the Sin Bin must return to the Interchange Area prior to re-\nentering the Field of Play.22.4\tAny action that causes the Touch Count to restart will result in a continuation of \nthat Possession." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!