Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

bowdpr
/
bowdpr_marco_ft

Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • sentence-transformers

    How to use bowdpr/bowdpr_marco_ft with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bowdpr/bowdpr_marco_ft")
    
    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 bowdpr/bowdpr_marco_ft with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("bowdpr/bowdpr_marco_ft")
    model = AutoModel.from_pretrained("bowdpr/bowdpr_marco_ft")
  • Notebooks
  • Google Colab
  • Kaggle
bowdpr_marco_ft
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Ma787639046's picture
Ma787639046
Update README.md
7f262c1 verified over 2 years ago
  • 1_Pooling
    Upload 11 files over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.34 kB
    Update README.md over 2 years ago
  • config.json
    653 Bytes
    Upload 11 files over 2 years ago
  • config_sentence_transformers.json
    127 Bytes
    Upload 11 files over 2 years ago
  • modules.json
    229 Bytes
    Upload 11 files over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    438 MB
    xet
    Upload 11 files over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 11 files over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 11 files over 2 years ago
  • tokenizer.json
    711 kB
    Upload 11 files over 2 years ago
  • tokenizer_config.json
    342 Bytes
    Upload 11 files over 2 years ago
  • vocab.txt
    232 kB
    Upload 11 files over 2 years ago