Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:3394
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use avinot/distilroberta-base-LoL-Champions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use avinot/distilroberta-base-LoL-Champions with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("avinot/distilroberta-base-LoL-Champions") sentences = [ "As senna, Watch your positioning at all times so she cannot land crucial spells on you.\n\nKeep the minion wave closer to your side of the map to force her to over-extend for farm.\n\nSenna is quite weak early, you might be able to abuse that to gain an early health advantage. But if you can’t, don’t worry.\n\nFocus on farming early on if you can’t get kills. Try to poke her down often: whenever she uses her Q, try and use yours.\n", "As riven, Riven will begin to fall as the game continues, so she will have to accumulate an early lead on. She should rely on peaks to win the game. She will have a lot of articles during this phase of the game, which will let her dry a lot of damage if she manages to catch an enemy. Level 16 is a massive power peak, which means that she can completely decimate the enemies that are joined together. She will have to find flanks on the enemy frequently.", "As senna, Watch your position at all times so it can't put crucial spells on you. Keep the minion wave closer to your side of the map to force it to overtake for the farm. Senna is weak enough early, you might be able to abuse it to gain an early health benefit. But if you can, don't worry. Focus on agriculture early if you can't get killed.", "Against zac, Zac really has long cooling times on his engagement abilities. As a result, he can really use them as a tool of engagement or escape only once in a fight. If you know that he is without these abilities- try to fight him. Placing the vision around his entrances into the jungle and into the river will reduce his ability to get successful ganks. Note that Zac can gank from afar with his E however. The easiest way for Zac to kill the Crab Scuttle is by using his E. If you see him killing the Crab Scuttle, it will usually mean that his E is on cooldown and he will miss an escape tool." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K