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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SAGAR4REAL
/
blueforce

Sentence Similarity
sentence-transformers
PyTorch
Transformers
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use SAGAR4REAL/blueforce with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use SAGAR4REAL/blueforce with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("SAGAR4REAL/blueforce")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use SAGAR4REAL/blueforce with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("SAGAR4REAL/blueforce", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
blueforce
332 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
SAGAR4REAL's picture
SAGAR4REAL
Upload config.json
6b71605 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    3.8 kB
    Upload 11 files over 3 years ago
  • config.json
    190 Bytes
    Upload config.json over 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    Upload 11 files over 3 years ago
  • merges.txt
    456 kB
    Upload 11 files over 3 years ago
  • modules.json
    229 Bytes
    Upload 11 files over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    329 MB
    xet
    Upload 11 files over 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 11 files over 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload 11 files over 3 years ago
  • tokenizer.json
    2.11 MB
    Upload 11 files over 3 years ago
  • tokenizer_config.json
    410 Bytes
    Upload 11 files over 3 years ago
  • vocab.json
    798 kB
    Upload 11 files over 3 years ago