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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Trelis
/
multi-qa-MiniLM-L6-cos-v1-ft-pairs-2-cos-epoch-s20

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

Instructions to use Trelis/multi-qa-MiniLM-L6-cos-v1-ft-pairs-2-cos-epoch-s20 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Trelis/multi-qa-MiniLM-L6-cos-v1-ft-pairs-2-cos-epoch-s20 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Trelis/multi-qa-MiniLM-L6-cos-v1-ft-pairs-2-cos-epoch-s20")
    
    sentences = [
        "How long is the initial period of extra time in the drop-off procedure?",
        "required in drawn matches, the following drop - off procedure is used to determine a winner. 24. 1. 1 each team will reduce their on - field team to four ( 4 ) players and within 60 seconds take up a position to restart play from the halfway line, defending the same end of the field as at the end of play. 24. 1. 2 the drop - off commences with a tap from the centre of the halfway line by the team that did not commence the match with possession. 24. 1. 3 the drop - off will commence with a two ( 2 ) minute period of extra time. 24. 1. 4 should a team be leading at the expiration of the two ( 2 ) minute period of extra time then that team will be declared the winner and match complete. 24. 1. 5 should neither team be leading at the expiration of two ( 2 ) minutes, a signal is given and the match will pause at the next touch or dead ball. each team will then remove another player from the field of play. 24. 1. 6 the match will recommence immediately after the players have left the field at the same place where it paused ( i. e. the team retains possession at the",
        "made but must be included in relevant competition, event or tournament conditions 1. 2 line markings should be 4cm in width but must be no less than 2. 5cm. line markings are to be laid out as shown in appendix 1 - the field of play. sidelines extend seven ( 7 ) metres beyond the try lines to join the dead ball lines and define the in - goal areas which measure fifty ( 50 ) metres wide by seven ( 7 ) metres in length. 1. 3 the interchange areas are located no closer than one ( 1 ) metre from each sideline. 1. 4 suitably sized markers, cones or corner posts of a distinguishing colour and made from safe and pliable material should be positioned at the intersections of the sideline and halfway line and the sideline and the try line. 1. 4. 1 markers, cones or corner posts placed on the junction of the sideline and try line are deemed to be in the field of play. 1. 4. 2 all other markers or cones are deemed to be out of the field of play. 1. 5 the standard playing surface is grass. other surfaces including synthetic grass may be used but shall be subject to nta approved standards. 1. 6 the field of play",
        "required in drawn matches, the following drop - off procedure is used to determine a winner. 24. 1. 1 each team will reduce their on - field team to four ( 4 ) players and within 60 seconds take up a position to restart play from the halfway line, defending the same end of the field as at the end of play. 24. 1. 2 the drop - off commences with a tap from the centre of the halfway line by the team that did not commence the match with possession. 24. 1. 3 the drop - off will commence with a two ( 2 ) minute period of extra time. 24. 1. 4 should a team be leading at the expiration of the two ( 2 ) minute period of extra time then that team will be declared the winner and match complete. 24. 1. 5 should neither team be leading at the expiration of two ( 2 ) minutes, a signal is given and the match will pause at the next touch or dead ball. each team will then remove another player from the field of play. 24. 1. 6 the match will recommence immediately after the players have left the field at the same place where it paused ( i. e. the team retains possession at the"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
multi-qa-MiniLM-L6-cos-v1-ft-pairs-2-cos-epoch-s20
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
RonanMcGovern's picture
RonanMcGovern
Add new SentenceTransformer model.
81b701f verified over 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    30 kB
    Add new SentenceTransformer model. over 2 years ago
  • config.json
    687 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model. over 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. over 2 years ago
  • tokenizer_config.json
    1.43 kB
    Add new SentenceTransformer model. over 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. over 2 years ago