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

zacbrld
/
MNLP_M3_document_encoder_V1

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:34235
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use zacbrld/MNLP_M3_document_encoder_V1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("zacbrld/MNLP_M3_document_encoder_V1")
    
    sentences = [
        "What is This?",
        "Bellcranks are also seen in automotive applications, such as in the linkage connecting the throttle pedal to the carburetor or connecting the brake pedal to the master cylinder In vehicle suspensions, bellcranks are used in pullrod and pushrod suspensions in cars or in the Christie suspension in tanks More vertical suspension designs such as MacPherson struts may not be feasible in some vehicle designs due to space, aerodynamic, or other design constraints; bellcranks translate the vertical motion of the wheel into horizontal motion, allowing the suspension to be mounted transversely or longitudinally within the vehicle",
        "DynaMo was also used as the face of the BBC's parental assistance website This was created for parents to assist children with homework There was also a section called \"DynaMo's Den\" which included educational games for children The website was activated on 2 October 1998",
        "The diode equation above is an example of an element constitutive equation of the general form,\n\n  \n    \n      \n        f\n        (\n        v\n        ,\n        i\n        )\n        =\n        0\n      \n    \n    {\\displaystyle f(v,i)=0}\n  \n\nThis can be thought of as a non-linear resistor The corresponding constitutive equations for non-linear inductors and capacitors are respectively;\n\n  \n    \n      \n        f\n        (\n        v\n        ,\n        φ\n        )\n        =\n        0\n      \n    \n    {\\displaystyle f(v,\\varphi )=0}\n  \n\n  \n    \n      \n        f\n        (\n        v\n        ,\n        q\n        )\n        =\n        0\n      \n    \n    {\\displaystyle f(v,q)=0}\n  \n\nwhere f is any arbitrary function, φ is the stored magnetic flux and q is the stored charge"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MNLP_M3_document_encoder_V1
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
zacbrld's picture
zacbrld
Add new SentenceTransformer model
ec7ac6a verified 12 months ago
  • 1_Pooling
    Add new SentenceTransformer model 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    27.2 kB
    Add new SentenceTransformer model 12 months ago
  • config.json
    617 Bytes
    Add new SentenceTransformer model 12 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 12 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 12 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 12 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 12 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 12 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 12 months ago
  • tokenizer_config.json
    1.46 kB
    Add new SentenceTransformer model 12 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 12 months ago