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

  • Log In
  • Sign Up

Sahajtomar
/
french_semantic

Sentence Similarity
sentence-transformers
French
semantic
Model card Files Files and versions
xet
Community
3

Instructions to use Sahajtomar/french_semantic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Sahajtomar/french_semantic with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Sahajtomar/french_semantic")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
french_semantic
1.35 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
julien-c's picture
julien-c HF Staff
Fixup previous commit
df60f0a almost 5 years ago
  • 0_Transformer
    First version of the french_semantic model and tokenizer. about 5 years ago
  • 1_Pooling
    First version of the french_semantic model and tokenizer. about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    933 Bytes
    Fixup previous commit almost 5 years ago
  • config.json
    28 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • modules.json
    242 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • similarity_evaluation_sts-dev_results.csv
    769 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • similarity_evaluation_sts-test_results.csv
    296 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago