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

  • Log In
  • Sign Up

Jrinky
/
model4

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

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

  • Libraries
  • sentence-transformers

    How to use Jrinky/model4 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Jrinky/model4")
    
    sentences = [
        "What do studies show about the configurations of eukaryotic polysomes",
        "Eukaryotic\n\nIn cells \nin situ (in cell) studies have shown that eukaryotic polysomes exhibit linear configurations. Densely packed 3-D helices and planar double-row polysomes were found with variable packing including “top-to-top” contacts similar to prokaryotic polysomes.",
        "Carlo Dante Rota (born 17 April 1961) is a British-born Canadian actor. He has appeared in Little Mosque on the Prairie and as systems analyst Morris O'Brian on the Fox series 24.",
        "Ronnie & Jo Wood Still ‘Close Friends’ Despite Joint Property Auction\nCelebrity auctioneer Darren Julien is gearing up for a massive sale of over 600 items belonging to Rolling Stones guitarist Ronnie Wood’s and his ex-wife Jo Wood. Much like many of Julian’s Auctions past collections, this auction has created some controversy because Ronnie has recently come out as opposed to the sale of his personal belongings, denying his involvement in the ‘joint’ sale. In response to those recent statements coming out Ronnie Wood’s camp saying he’s “shocked and disappointed” at the auctioning off his personal belongings, and that the auction has been “misrepresented as a joint sale,” Julien claims Ronnie has known about the auction since its start."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
model4
2.29 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Jrinky's picture
Jrinky
Add new SentenceTransformer model
20e43fa verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model over 1 year ago
  • README.md
    34 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    741 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
    2.27 GB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    54 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
    17.1 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    1.37 kB
    Add new SentenceTransformer model over 1 year ago