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
/
DeBERTa2-0.9B-ST-v2

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

Instructions to use bobox/DeBERTa2-0.9B-ST-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use bobox/DeBERTa2-0.9B-ST-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bobox/DeBERTa2-0.9B-ST-v2")
    
    sentences = [
        "what is the wisconsin idea",
        "The Netherlands Time is in the Central European Time Zone . Central European Standard Time ( CET ) is 1 hours ahead of Greenwich Mean Time ( GMT+1 ). Like most states in Europe, Summer (Daylight-Saving) Time is observed in The Netherlands Time, where the time is shifted forward by 1 hour; 2 hours ahead of Greenwich Mean Time ( GMT+2 ). After the Summer months the time in The Netherlands Time is shifted back by 1 hour to Central European Time (CET) or ( GMT+1 )",
        "Unless stated otherwise, these amounts are the total that is recommended for your dog over a 24 hour period. Most adult dogs should eat two meals a day (puppies often require three or more feedings), so you’ll need to divide the amount in the table by the number of meals you are offering.",
        "McCarthy's book, The Wisconsin Idea, published in 1912, describes the major problems facing the country, some of the Progressive reforms already passed, and his guiding vision for the future. Library-Archives."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
DeBERTa2-0.9B-ST-v2
3.55 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
bobox's picture
bobox
Cached Gist embedd loss
b029439 verified over 1 year ago
  • 1_Pooling
    Cached Gist embedd loss over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    312 kB
    Cached Gist embedd loss over 1 year ago
  • added_tokens.json
    23 Bytes
    Cached Gist embedd loss over 1 year ago
  • config.json
    940 Bytes
    Cached Gist embedd loss over 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Cached Gist embedd loss over 1 year ago
  • modules.json
    229 Bytes
    Cached Gist embedd loss over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    3.54 GB
    xet
    Cached Gist embedd loss over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Cached Gist embedd loss over 1 year ago
  • special_tokens_map.json
    286 Bytes
    Cached Gist embedd loss over 1 year ago
  • spm.model
    2.45 MB
    xet
    Cached Gist embedd loss over 1 year ago
  • tokenizer.json
    8.64 MB
    Cached Gist embedd loss over 1 year ago
  • tokenizer_config.json
    1.28 kB
    Cached Gist embedd loss over 1 year ago