Sentence Similarity
sentence-transformers
Safetensors
new
feature-extraction
Generated from Trainer
dataset_size:11779
loss:TripletLoss
custom_code
text-embeddings-inference
Instructions to use dpanea/skill-assignment-transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dpanea/skill-assignment-transformer with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dpanea/skill-assignment-transformer", trust_remote_code=True) sentences = [ "One day there was a boy called teddy (Ted Andrew)and his favorite game \nwas soccer. One day on his walk home from school he saw a glowing \nsoccer ball on the side of the road! It was just a normal soccer ball but \nglowing so he decided to touch it he walked,he bent,he touched and \nsuddenly he was been transported to the soccer finals.\nHe was in a real life soccer game, it had not started yet but somehow he \nwas running out on the pitch with them.What is happening?he thought,is \nthis a dream he was asking himself this but knew it was real.He checked all\nthe players and realized van dijk was missing then he looked down and \nrealized that they were his then he realized he was playing as him!\nSoon later the Match started and he was in it then konate passed the ball to\nhim so he passed it to Mac Alister, who lobbed it down the wing to salah, \nwho counted it to jota who headed it in! he couldn’t believe it he was in an \nactual soccer Match. It was 1-0 the other teams coach had called time out \nso he had a bit to think about this odd situation,then he just decided to have\nfun and play.\nSzoboszlai took the starting kick and passed it back to him so van dijk (Ted \nAndrew)raced down the pitch then he realized he had the skill of van dijk he \nkicked and won a corner,so Trent took and it was perfect teddy timed it with\nvan dijk’s skill and scored! now it was half time.\nHalf time stared of pretty normally the other side passed it back and tried to\nkeep possession but gravenberch the play maker stole it and passed to \nMac Alister who passed it back to Roberson who made some forward \nthrust and and passed it to Diaz. Now it was really close to another goal he \ncould feel it and sure enough Diaz scored,it was back to kick of the other \nteam was pushing up and took a good shot but Alisson did a great dive and\nsaved it now it was 3-0 and the Match was almost over, 3 minutes left they \nkept possession and won after they all celebrated he touched the mach ball\nand he got transported back and every day after that he would go play with \nthe team,The end.\n", "Narrative Storytelling Skills: Narrative Writing", "Essay Organization Skills: I can write three or more sentences with my ideas in order", "Source Analysis Skills: I can compose source analysis using appropriate sentence structure and paragraphs" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle