Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:8959
loss:CoSENTLoss
text-embeddings-inference
Instructions to use Tien09/tiny_bert_ft_sim_score_1231_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Tien09/tiny_bert_ft_sim_score_1231_1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Tien09/tiny_bert_ft_sim_score_1231_1") sentences = [ "You can target 1 face-up card you control; destroy it, and if you do, Special Summon 1 \"Zoodiac\" monster from your Deck. You can only use this effect of \"Zoodiac Barrage\" once per turn. If this card is destroyed by a card effect and sent to the GY: You can target 1 \"Zoodiac\" Xyz Monster you control; attach this card from your GY to that Xyz Monster as Xyz Material.", "Activate only while all monsters on the field are face-up. Both players send monsters they control to the GY so that they each control only 1 Attribute.", "Equip only to a \"Mikanko\" monster. The equipped monster cannot be destroyed by card effects. If a monster(s) is Special Summoned to your opponent's field (except during the Damage Step): You can target 1 monster you control and 1 monster your opponent controls; return them to the hand. You can only use this effect of \"Mikanko Purification Dance\" once per turn.", "Destroy as many Normal Monsters on the field as possible, and if you do, Special Summon Level 4 or lower Dinosaur-Type monsters from your Deck, up to the number destroyed, but destroy them during the End Phase. You can banish this card from your GY, then target 1 Dinosaur-Type monster you control and 1 card your opponent controls; destroy them." ] 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!