Instructions to use dangvantuan/french-document-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dangvantuan/french-document-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dangvantuan/french-document-embedding", trust_remote_code=True) 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] - Transformers
How to use dangvantuan/french-document-embedding with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dangvantuan/french-document-embedding", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
convert to GGUF in order to use with LMSTUDIO ?
hi, thanks for your work.
How i can use your model in LMStudio ? when i want convert it to GGUF, it's impossible "ERROR:hf-to-gguf:Model BilingualModel is not supported".
thanks
Hi
This model is a sentence embedding model designed for extracting vector representations of sentences or documents. It is not a generative language model (LLM) like GPT or LLaMA, which are compatible with the GGUF format used in tools like LMStudio.
hi, thanks. i want to use better embedding model on anythingLLM (MiniLM-L6).
How do I know if it's an LLM? where is it indicated on hugging face ?
I don't understand because I managed to convert two embedding models to GGUF.
https://huggingface.co/gandolfi/bge-m3-custom-fr-Q4_K_M-GGUF
https://huggingface.co/gandolfi/jina-embeddings-v2-base-code-Q4_K_M-GGUF
but it's impossible to convert https://huggingface.co/jinaai/jina-embeddings-v3
Please convert this model to GGUF so I can try it.
A lot of other embedding models have already been converted.