Sentence Similarity
sentence-transformers
PyTorch
English
deberta-v2
feature-extraction
Generated from Trainer
dataset_size:279409
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use bobox/DeBERTa-small-ST-v1-test-step3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bobox/DeBERTa-small-ST-v1-test-step3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bobox/DeBERTa-small-ST-v1-test-step3") sentences = [ "what is acetylcholinesterase in biochemistry", "The Arkansas was the last nuclear powered cruiser built by the United States. (Click here for detailed information about the USS Arkansas) USS Enterprise (CVN-65) The USS Enterprise was the Navy's first nuclear powered aircraft carrier and from 1961 to 1972 she was the biggest warship in the world.", "The staph infection may also live on the skin of a dog as a parasite or in the respiratory system of a dog. In some cases if a dog is not treated right away the dog could become very ill or even die. In some cases where a dog is infected with staph a dog may have one or several different symptoms. These signs may be a reason to have a dog seen by a veterinarian; typically this disease may make a dog very sick. Some symptoms of staph infection may include but are not limited to.", "Acetylcholinesterase (HGNC symbol ACHE), also known as AChE or acetylhydrolase, is the primary cholinesterase in the body.It is an enzyme that catalyzes the breakdown of acetylcholine and of some other choline esters that function as neurotransmitters.AChE is found at mainly neuromuscular junctions and in chemical synapses of the cholinergic type, where its activity serves to terminate synaptic transmission.uring neurotransmission, ACh is released from the nerve into the synaptic cleft and binds to ACh receptors on the post-synaptic membrane, relaying the signal from the nerve. AChE, also located on the post-synaptic membrane, terminates the signal transmission by hydrolyzing ACh." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle