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

greatakela
/
gennlp_hw1_encoder2025

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:4893
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use greatakela/gennlp_hw1_encoder2025 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("greatakela/gennlp_hw1_encoder2025")
    
    sentences = [
        "I almost envy you your assignment. I see in your mind that you are tempted to take my place. Not correct, Doctor, although I am aware of your mind attempting to contact mine. Were you born a telepath? Yes. That is why I had to study on Vulcan. I understand. May I show you to your quarters?[SEP]I think I'll stay here a bit. Ambassador Kollos often finds the process of transport somewhat unsettling.",
        " I don't see anything, do you?",
        "I understand. Our ship's surgeon often makes the same complaint. Do call when you are ready.",
        "Irrelevant, since we are here."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
gennlp_hw1_encoder2025
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
greatakela's picture
greatakela
Add new SentenceTransformer model
e17e45c verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    20.3 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    594 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    962 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    1.42 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model over 1 year ago