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

  • Log In
  • Sign Up

Lajavaness
/
bilingual-embedding-small

Sentence Similarity
sentence-transformers
Safetensors
Transformers
French
English
bilingual
feature-extraction
sentence-embedding
mteb
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Lajavaness/bilingual-embedding-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Lajavaness/bilingual-embedding-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Lajavaness/bilingual-embedding-small", trust_remote_code=True)
    
    sentences = [
        "C'est une personne heureuse",
        "C'est un chien heureux",
        "C'est une personne très heureuse",
        "Aujourd'hui est une journée ensoleillée"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use Lajavaness/bilingual-embedding-small with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Lajavaness/bilingual-embedding-small", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bilingual-embedding-small
493 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
dangvantuan's picture
dangvantuan
Update README.md
80f7adb verified 9 months ago
  • 1_Pooling
    add: add model almost 2 years ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json almost 2 years ago
  • README.md
    242 kB
    Update README.md 9 months ago
  • config.json
    1.32 kB
    add: add model almost 2 years ago
  • config.py
    7.12 kB
    update config almost 2 years ago
  • config_sentence_transformers.json
    171 Bytes
    add: add model almost 2 years ago
  • model.safetensors
    471 MB
    xet
    Update model.safetensors over 1 year ago
  • modeling.py
    72.2 kB
    update config almost 2 years ago
  • modules.json
    229 Bytes
    add: add model almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    add: add model almost 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    add: add model almost 2 years ago
  • special_tokens_map.json
    965 Bytes
    add: add model almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer.json almost 2 years ago
  • tokenizer_config.json
    1.36 kB
    add: add model almost 2 years ago