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

kushalc1
/
sarashina-embedding-v2-1b-jsts-matryoshka

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

Instructions to use kushalc1/sarashina-embedding-v2-1b-jsts-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use kushalc1/sarashina-embedding-v2-1b-jsts-matryoshka with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("kushalc1/sarashina-embedding-v2-1b-jsts-matryoshka")
    
    sentences = [
        "草原で2頭のシマウマが草を食べています。",
        "芝の上に5体象のオブジェが置いてあります。",
        "テーブルトップが大理石になってる台所です。",
        "草地にシマウマが二頭並んで草を食べています。"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sarashina-embedding-v2-1b-jsts-matryoshka
4.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
kushalc1's picture
kushalc1
Update README.md
0dc39fc verified 6 months ago
  • 1_Pooling
    Add new SentenceTransformer model 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    36.1 kB
    Update README.md 6 months ago
  • config.json
    663 Bytes
    Add new SentenceTransformer model 6 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 6 months ago
  • model.safetensors
    4.9 GB
    xet
    Add new SentenceTransformer model 6 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 6 months ago
  • sentence_bert_config.json
    58 Bytes
    Add new SentenceTransformer model 6 months ago
  • special_tokens_map.json
    968 Bytes
    Add new SentenceTransformer model 6 months ago
  • tokenizer.json
    6.72 MB
    Add new SentenceTransformer model 6 months ago
  • tokenizer.model
    1.83 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • tokenizer_config.json
    3.78 kB
    Add new SentenceTransformer model 6 months ago