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

yahyaabd
/
bps-custom-tokenizer-paraphrase-multilingual-MiniLM-L12-v2-mnrl-2

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

Instructions to use yahyaabd/bps-custom-tokenizer-paraphrase-multilingual-MiniLM-L12-v2-mnrl-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use yahyaabd/bps-custom-tokenizer-paraphrase-multilingual-MiniLM-L12-v2-mnrl-2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("yahyaabd/bps-custom-tokenizer-paraphrase-multilingual-MiniLM-L12-v2-mnrl-2")
    
    sentences = [
        "Laporan neraca arus dana dalam Rupiah miliar untuk Q2 2011",
        "Ringkasan Neraca Arus Dana, Triwulan II, 2011*), (Miliar Rupiah)",
        "Tingkat Inflasi Harga Konsumen Nasional Tahun Kalender (Y-to-D) 1 (2022=100)",
        "Jumlah Pendapatan Setelah Pajak Menurut Golongan Rumah Tangga (miliar rupiah), 2000, 2005, dan 2008"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bps-custom-tokenizer-paraphrase-multilingual-MiniLM-L12-v2-mnrl-2 / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
yahyaabd's picture
yahyaabd
Add new SentenceTransformer model
da52d96 verified about 1 year ago
  • config.json
    296 Bytes
    Add new SentenceTransformer model about 1 year ago