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

  • Log In
  • Sign Up

dangvantuan
/
sentence-camembert-base

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
French
camembert
Text
Sentence Similarity
Sentence-Embedding
camembert-base
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

Instructions to use dangvantuan/sentence-camembert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use dangvantuan/sentence-camembert-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dangvantuan/sentence-camembert-base")
    
    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]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
sentence-camembert-base
887 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 8 commits
dangvantuan's picture
dangvantuan
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#4)
103d895 verified over 1 year ago
  • 1_Pooling
    Add model about 4 years ago
  • eval
    Add model about 4 years ago
  • .DS_Store
    6.15 kB
    Add model about 4 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#4) over 1 year ago
  • README.md
    4.27 kB
    Add sentence-transformers library name (#3) almost 2 years ago
  • config.json
    727 Bytes
    Add model about 4 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add model about 4 years ago
  • model.safetensors
    443 MB
    xet
    Adding `safetensors` variant of this model (#4) over 1 year ago
  • modules.json
    229 Bytes
    Add model about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    443 MB
    xet
    Add model about 4 years ago
  • sentence_bert_config.json
    53 Bytes
    Add model about 4 years ago
  • sentencepiece.bpe.model
    811 kB
    xet
    Add model about 4 years ago
  • special_tokens_map.json
    298 Bytes
    Add model about 4 years ago
  • tokenizer.json
    1.4 MB
    Add model about 4 years ago
  • tokenizer_config.json
    463 Bytes
    Add model about 4 years ago