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

Marco127
/
Base_T

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

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

  • Libraries
  • sentence-transformers

    How to use Marco127/Base_T with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Marco127/Base_T")
    
    sentences = [
        "\nWe request that guests report any complaints and defects to the hotel reception or hotel\nmanagement in person. Your complaints shall be attended to immediately.",
        "\nAnimals may not be allowed onto beds or other furniture, which serves for\nguests. It is not permitted to use baths, showers or washbasins for bathing or\nwashing animals.",
        "\nWe request that guests report any complaints and defects to the hotel reception or hotel\nmanagement in person. Your complaints shall be attended to immediately.",
        "\nGuests who take accommodation after midnight, shall still pay the price for\naccommodation for the whole of the preceding night. The hotel’s official Check-in time is\nfrom 02:00 pm. For a possible early check-in, please consult with the reservation team, or\nthe reception in advance."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Base_T
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Marco127's picture
Marco127
Add new SentenceTransformer model
644a36f 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
    24.9 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    622 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    202 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
    964 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.62 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model over 1 year ago