Instructions to use IslemTouati/french_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use IslemTouati/french_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("IslemTouati/french_model") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use IslemTouati/french_model with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("IslemTouati/french_model") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.25c5f15
-
Add SetFit model
5f753c8 -
Add SetFit model
013923a
-
Add SetFit model
b9b2ada
-
Add SetFit model
e355221 -
Add SetFit model
bd799fa -
Add SetFit model
6aae010
-
Add SetFit model
ddb705c -
Add SetFit model
5b2007a -
Add SetFit model
8abd6c0 -
Add SetFit model
422c777
-
Add SetFit model
c263488 -
Add SetFit model
2ff6d91 -
Add SetFit model
01598b9 -
Add SetFit model
fe77347 -
Add SetFit model
94a1291 -
Add SetFit model
702d747
-
Add SetFit model
3174209
-
Add SetFit model
bafdaad -
Add SetFit model
43cb763 -
Add SetFit model
20ddd62 -
Add SetFit model
edfafdf -
Add SetFit model
3246646
-
Add SetFit model
7e886a8
-
Add SetFit model
7a66275
-
Add SetFit model
24b7a2d -
Add SetFit model
c5315cf
-
Add SetFit model
74c622e -
Add SetFit model
45ca632 -
Add SetFit model
085c4eb -
Add SetFit model
cd217ac -
initial commit
f7a6f2b