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

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 / 0_Transformer
1.35 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sahajtomar's picture
Sahajtomar
First version of the french_semantic model and tokenizer.
f991aed about 5 years ago
  • config.json
    683 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.35 GB
    xet
    First version of the french_semantic model and tokenizer. about 5 years ago
  • sentence_bert_config.json
    54 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • sentencepiece.bpe.model
    809 kB
    xet
    First version of the french_semantic model and tokenizer. about 5 years ago
  • special_tokens_map.json
    298 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago
  • tokenizer_config.json
    400 Bytes
    First version of the french_semantic model and tokenizer. about 5 years ago