Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:21196
loss:DenoisingAutoEncoderLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use tartspuppy/bert-base-uncased-tsdae-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use tartspuppy/bert-base-uncased-tsdae-encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("tartspuppy/bert-base-uncased-tsdae-encoder") sentences = [ "Oldham also has Fencing, Marshall Club is a Competitive of its competing on stage . They train times old South High.", "Several leading batsmen opposed the new law , including the professional Herbert <unk> , known as an exponent of pad @-@ play , and amateurs Errol Holmes and Bob Wyatt . Wisden <unk> ' <unk> noted that these three improved their batting records during the 1935 season , but batsmen generally were less successful . There were also fewer drawn matches . There was an increase in the number of lbws — out of 1 @,@ 560 lbw dismissals in first @-@ class matches in 1935 , 483 were given under the amended law . Wisden judged the experiment a success and several of its opponents changed their mind by the end of the season ; batsmen soon became accustomed to the alteration . Although Australian authorities were less convinced , and did not immediately introduce the revision into domestic first @-@ class cricket , in 1937 the new rule became part of the Laws of Cricket .", "Oldham also has a Fencing Club , Marshall Fencing Club is a Competitive Fencing Club with most of its members competing on the national stage . They train three times a week at the old South Chadderton High School .", "While overseeing an initial <unk> of American involvement in the Vietnam War , he subsequently ended U.S. involvement in 1973 , and eliminated the draft . <unk> , his administration generally embraced policies that transferred power from Washington to the states . Among other things , he initiated wars on cancer and drugs , imposed wage and price controls , enforced <unk> of Southern schools and established the Environmental Protection Agency . Though he presided over Apollo 11 and the subsequent lunar landings , he later scaled back manned space exploration . In 1972 , he was reelected by a landslide , the largest to that date . The Watergate scandal , which would consume the larger part of his second term , resulted in his ultimate resignation on August 4 , 1974 ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K