Sentence Similarity
sentence-transformers
Safetensors
French
french
semantic-similarity
deduplication
paraphrase-detection
text-classification
Instructions to use France-ML/French-semantic-engine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use France-ML/French-semantic-engine with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("France-ML/French-semantic-engine") 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
Download stage2/tokenizer.json from France-ML/French-semantic-engine: direct link, hf CLI and curl.
- Browser
- Download file 2.42 MB
-
https://huggingface.co/France-ML/French-semantic-engine/resolve/main/stage2/tokenizer.json
- Command line
-
hf download hf://France-ML/French-semantic-engine/stage2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/France-ML/French-semantic-engine/resolve/main/stage2/tokenizer.json
2.42 MB
File too large to display, you can check the raw version instead.