Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

bobox
/
DeBERTa-small-ST-v1-test-step3

Sentence Similarity
sentence-transformers
PyTorch
English
deberta-v2
feature-extraction
Generated from Trainer
dataset_size:279409
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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
DeBERTa-small-ST-v1-test-step3
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
bobox's picture
bobox
Cached Gist embedd loss
df9aaa7 verified almost 2 years ago
  • 1_Pooling
    Cached Gist embedd loss almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    456 kB
    Cached Gist embedd loss almost 2 years ago
  • added_tokens.json
    23 Bytes
    Cached Gist embedd loss almost 2 years ago
  • config.json
    870 Bytes
    Cached Gist embedd loss almost 2 years ago
  • config_sentence_transformers.json
    195 Bytes
    Cached Gist embedd loss almost 2 years ago
  • modules.json
    229 Bytes
    Cached Gist embedd loss almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    565 MB
    xet
    Cached Gist embedd loss almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Cached Gist embedd loss almost 2 years ago
  • special_tokens_map.json
    970 Bytes
    Cached Gist embedd loss almost 2 years ago
  • spm.model
    2.46 MB
    xet
    Cached Gist embedd loss almost 2 years ago
  • tokenizer.json
    8.65 MB
    Cached Gist embedd loss almost 2 years ago
  • tokenizer_config.json
    1.45 kB
    Cached Gist embedd loss almost 2 years ago