Instructions to use SouhilOuchene/ACML_Part2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SouhilOuchene/ACML_Part2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SouhilOuchene/ACML_Part2") 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 SouhilOuchene/ACML_Part2 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("SouhilOuchene/ACML_Part2") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from SouhilOuchene/ACML_Part2: direct link, hf CLI and curl.
- Browser
- Download file 13.2 kB
-
https://huggingface.co/SouhilOuchene/ACML_Part2/resolve/main/model_head.pkl
- Command line
-
hf download hf://SouhilOuchene/ACML_Part2/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/SouhilOuchene/ACML_Part2/resolve/main/model_head.pkl
13.2 kB
- Xet hash:
- 62967e89a4fc8c98e38d323b2aceefffcc6103ea6d898667073212ccf302a93a
- Size of remote file:
- 13.2 kB
- SHA256:
- 2c80a5ac93bd1ad85ed8e28feafc1a0e9a01a1ea872b818c1bbb7c4a1277beec
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.