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

  • Log In
  • Sign Up

LazarusNLP
/
all-indo-e5-small-v4

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

Instructions to use LazarusNLP/all-indo-e5-small-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LazarusNLP/all-indo-e5-small-v4 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LazarusNLP/all-indo-e5-small-v4")
    
    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 LazarusNLP/all-indo-e5-small-v4 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("LazarusNLP/all-indo-e5-small-v4")
    model = AutoModel.from_pretrained("LazarusNLP/all-indo-e5-small-v4")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
all-indo-e5-small-v4
958 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
w11wo's picture
w11wo
itsdevice's picture
itsdevice
Add exported onnx model 'model.onnx' (#1)
ac1d8e6 verified 4 months ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • onnx
    Add exported onnx model 'model.onnx' (#1) 4 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. almost 2 years ago
  • README.md
    4.37 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    681 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    176 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    471 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    965 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.17 kB
    Add new SentenceTransformer model. almost 2 years ago