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

jzju
/
sbert-sv-lim2

Sentence Similarity
sentence-transformers
PyTorch
Swedish
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use jzju/sbert-sv-lim2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jzju/sbert-sv-lim2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jzju/sbert-sv-lim2")
    
    sentences = [
        "Mannen åt mat.",
        "Han förtärde en närande och nyttig måltid.",
        "Det var ett sunkigt hak med ganska gott käk.",
        "Han inmundigade middagen tillsammans med ett glas rödvin.",
        "Potatischips är jättegoda.",
        "Tryck på knappen för att få tala med kundsupporten."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [6, 6]
  • Notebooks
  • Google Colab
  • Kaggle
sbert-sv-lim2
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
jzju's picture
jzju
Update README.md
02fe10e almost 3 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 3 years ago
  • 2_Dense
    Add new SentenceTransformer model. almost 3 years ago
  • .gitattributes
    1.82 kB
    Add new SentenceTransformer model. almost 3 years ago
  • README.md
    5.41 kB
    Update README.md almost 3 years ago
  • config.json
    644 Bytes
    Add new SentenceTransformer model. almost 3 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add new SentenceTransformer model. almost 3 years ago
  • modules.json
    341 Bytes
    Add new SentenceTransformer model. almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage"

    What is a pickle import?

    541 MB
    xet
    Add new SentenceTransformer model. almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 3 years ago
  • special_tokens_map.json
    173 Bytes
    Add new SentenceTransformer model. almost 3 years ago
  • tokenizer.json
    1.42 MB
    Add new SentenceTransformer model. almost 3 years ago
  • tokenizer_config.json
    221 Bytes
    Add new SentenceTransformer model. almost 3 years ago