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

  • Log In
  • Sign Up

cassador
/
indobert-embedding-2epoch

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

Instructions to use cassador/indobert-embedding-2epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use cassador/indobert-embedding-2epoch with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cassador/indobert-embedding-2epoch")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use cassador/indobert-embedding-2epoch with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("cassador/indobert-embedding-2epoch")
    model = AutoModel.from_pretrained("cassador/indobert-embedding-2epoch")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_Pooling
    Upload 13 files about 2 years ago
  • eval
    Upload 13 files about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    4.01 kB
    Upload 13 files about 2 years ago
  • config.json
    1.1 kB
    Upload 13 files about 2 years ago
  • config_sentence_transformers.json
    171 Bytes
    Upload 13 files about 2 years ago
  • model.safetensors
    498 MB
    xet
    Upload 13 files about 2 years ago
  • modules.json
    229 Bytes
    Upload 13 files about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 13 files about 2 years ago
  • similarity_evaluation_sts-test_results.csv
    320 Bytes
    Upload 13 files about 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 13 files about 2 years ago
  • tokenizer.json
    709 kB
    Upload 13 files about 2 years ago
  • tokenizer_config.json
    1.26 kB
    Upload 13 files about 2 years ago
  • vocab.txt
    229 kB
    Upload 13 files about 2 years ago