Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Jrinky
/
model1

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

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

  • Libraries
  • sentence-transformers

    How to use Jrinky/model1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Jrinky/model1")
    
    sentences = [
        "What surprised the author about the appearance of sloths when looking for animals to draw for the letter S",
        "Third National Bank may refer to:\n\nin the United States\n(by state)\nThird National Bank (Atlanta, Georgia), now The Metropolitan (Atlanta condominium building)\n Third National Bank (Glasgow, Kentucky), listed on the NRHP in Kentucky\n Third National Bank (Ohio), a predecessor of Fifth Third Bank\n Third National Bank (Syracuse, New York), listed on the NRHP in New York\n Third National Bank (Sandusky, Ohio), listed on the NRHP in Ohio\n Third National Bank in Nashville, now incorporated within SunTrust Bank",
        "S is for Sloth\nI never really paid much attention to sloths until I began searching for animals to draw for the letter S. Looking at some photos, I was shocked to see just how much they look like Muppets in real life! They're hilarious!",
        "History\nThe Annual Review of Animal Biosciences was first published in 2013, with Harris A. Lewin and R. Michael Roberts as the founding co-editors. Though it was initially published in print, as of 2021 it is only published electronically. Scope and indexing\nThe Annual Review of Animal Biosciences defines its scope as covering significant developments relevant to biotechnology, genomics, genetics, veterinary medicine, animal breeding, and conservation biology. The intended audience for the journal is scientists and veterinarians involved with wild and domestic animals. It is abstracted and indexed in Scopus, Science Citation Index Expanded, MEDLINE, and Embase, among others."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
model1
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Jrinky's picture
Jrinky
Add new SentenceTransformer model
6751507 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
    37.7 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