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

Lajavaness
/
sentence-flaubert-base

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

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

  • Libraries
  • sentence-transformers

    How to use Lajavaness/sentence-flaubert-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Lajavaness/sentence-flaubert-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-flaubert-base
1.1 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 8 commits
dangvantuan's picture
dangvantuan
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
47f6b0a verified over 1 year ago
  • 1_Pooling
    add model sentence-flaubert-base over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    9.49 kB
    Add sentence-transformers library name (#1) almost 2 years ago
  • config.json
    1.66 kB
    add model sentence-flaubert-base over 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    add model sentence-flaubert-base over 2 years ago
  • merges.txt
    598 kB
    add model sentence-flaubert-base over 2 years ago
  • model.safetensors
    549 MB
    xet
    Adding `safetensors` variant of this model (#2) over 1 year ago
  • modules.json
    229 Bytes
    add model sentence-flaubert-base over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    549 MB
    xet
    add model sentence-flaubert-base over 2 years ago
  • sentence_bert_config.json
    52 Bytes
    add model sentence-flaubert-base over 2 years ago
  • special_tokens_map.json
    366 Bytes
    add model sentence-flaubert-base over 2 years ago
  • tokenizer_config.json
    2.96 kB
    add model sentence-flaubert-base over 2 years ago
  • vocab.json
    1.45 MB
    add model sentence-flaubert-base over 2 years ago