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

  • Log In
  • Sign Up

nayan06
/
binary-classifier-conversion-intent-1.1-mpnet

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

Instructions to use nayan06/binary-classifier-conversion-intent-1.1-mpnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nayan06/binary-classifier-conversion-intent-1.1-mpnet with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("nayan06/binary-classifier-conversion-intent-1.1-mpnet")
    
    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 nayan06/binary-classifier-conversion-intent-1.1-mpnet with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("nayan06/binary-classifier-conversion-intent-1.1-mpnet")
    model = AutoModel.from_pretrained("nayan06/binary-classifier-conversion-intent-1.1-mpnet")
  • Notebooks
  • Google Colab
  • Kaggle
binary-classifier-conversion-intent-1.1-mpnet
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
nayan06's picture
nayan06
Update README.md
5aa813e over 3 years ago
  • 1_Pooling
    Add SetFit model over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • README.md
    2.09 kB
    Update README.md over 3 years ago
  • config.json
    655 Bytes
    Add SetFit model over 3 years ago
  • config_sentence_transformers.json
    116 Bytes
    Add SetFit model over 3 years ago
  • model_head.pkl
    7.12 kB
    xet
    Add SetFit model over 3 years ago
  • modules.json
    349 Bytes
    Add SetFit model over 3 years ago
  • pytorch_model.bin
    438 MB
    xet
    Add SetFit model over 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model over 3 years ago
  • special_tokens_map.json
    280 Bytes
    Add SetFit model over 3 years ago
  • tokenizer.json
    711 kB
    Add SetFit model over 3 years ago
  • tokenizer_config.json
    455 Bytes
    Add SetFit model over 3 years ago
  • vocab.txt
    232 kB
    Add SetFit model over 3 years ago