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

amorfati
/
custom-emb-model

Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:942
loss:CoSENTLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use amorfati/custom-emb-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use amorfati/custom-emb-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("amorfati/custom-emb-model")
    
    sentences = [
        "The entire city was surrounded by open countryside with a scattering of small villages.",
        "Let's leave it.",
        "It was proven that Mrs. Vandemeyer and the girl were hiding something.",
        "There is only one large village in the countryside."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
custom-emb-model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
amorfati's picture
amorfati
Add new SentenceTransformer model.
2244e5b verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    15.1 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    594 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    962 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.39 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago