Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:200
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use bsmith3715/legal-ft-demo_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bsmith3715/legal-ft-demo_final with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bsmith3715/legal-ft-demo_final") sentences = [ "How many times should you squeeze the booty while lifting the leg?", "the elbow then we're gonna punch it\nforward\nbend it and extend behind you oh good\nyou guys Bend\nuse that core extend forward\nand return\nand Ben\nbig exhale forward\nand back check those hips that they're\nequal you're not sinking\nto one side\nthree more\nuse that belly you guys\nif you're fill in the back just place\nthat knee down two\nall right hold it up there on one use\nthe belly use the core hold hold hold\ndrop the leg and lift just five squeeze\nthe booty four\nthree\ntwo\nand one and bring it in\ngive yourself a little round through\nyour back\nall right we're staying in this kneeling\nposition\nand you're gonna come up\nyou're on the lighter spring\nin this unstable position so be careful\nyou're gonna sweep this arm forward", "you guys can exhale press curl up pause\ninhale let's reach the right leg out to\na challenging level exhale the pull back\nin inhale left leg extends exhale in\ninhale out and exhale back think\nengaging our obliques to pull each leg\nback in inhale and exhale let's do one\nmore right\none more left\narms can go up heads can go down relax a\nfeet give yourselves a stretch\nlike send her arms back up to the\nceiling you guys can bring your knees up\ninto your tabletop position again again\none abdominal curl let's exhale press\ncurl up pause at the top inhale reach\nfull flakes out to a challenging level\nexhale scoop into your low ABS to pull\nin inhale out and exhaling as you pull\nback in inhale away\nexhale to pull think draw your abs into", "into that abdominal curl inhale lower\nyour right leg straight down towards\nyour foot bar exhale lift left leg\nlowers and exhale lift as always think\nsingle legs engaging your obliques to\npull each leg back up to the ceiling\nwe'll do three more\none more right\none more left\nbend your knees arms up head down relax\nthe feet feel free to give yourselves a\nlittle stretch last thing will be that\ndouble leg lowering\nso let's extend our arms up to the\nceiling knees can go up into our table\ntop position legs go straight up to the\nceiling exhale press curl yourselves\nback up pause inhale lower both legs\ndown to a challenging level and then\nexhale scoop into your low ABS to lift\ninhale lower\nand exhaling as you lift think drawing" ] 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!