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

LazarusNLP
/
sct-indobert-base

Sentence Similarity
sentence-transformers
Safetensors
Transformers
Indonesian
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use LazarusNLP/sct-indobert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LazarusNLP/sct-indobert-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LazarusNLP/sct-indobert-base")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Transformers

    How to use LazarusNLP/sct-indobert-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("LazarusNLP/sct-indobert-base")
    model = AutoModel.from_pretrained("LazarusNLP/sct-indobert-base")
  • Notebooks
  • Google Colab
  • Kaggle
sct-indobert-base / eval
3.31 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
w11wo's picture
w11wo
Added Eval Result
9a57aa6 over 2 years ago
  • similarity_evaluation_results.csv
    3.31 kB
    Added Eval Result over 2 years ago