Instructions to use YakovElm/MariaDB15SetFitModel_clean_data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use YakovElm/MariaDB15SetFitModel_clean_data with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("YakovElm/MariaDB15SetFitModel_clean_data") 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 YakovElm/MariaDB15SetFitModel_clean_data with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("YakovElm/MariaDB15SetFitModel_clean_data") 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 YakovElm/MariaDB15SetFitModel_clean_data: direct link, hf CLI and curl.
- Browser
- Download file 6.99 kB
-
https://huggingface.co/YakovElm/MariaDB15SetFitModel_clean_data/resolve/main/model_head.pkl
- Command line
-
hf download hf://YakovElm/MariaDB15SetFitModel_clean_data/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/YakovElm/MariaDB15SetFitModel_clean_data/resolve/main/model_head.pkl
6.99 kB
- Xet hash:
- 1cdf3cc40cbc02f59048a90e71341509482f1f76b77ebcdf42e7963710ed2c04
- Size of remote file:
- 6.99 kB
- SHA256:
- 1f9afac5e30a58a23869fa2f87d35af044308e5294edf4bdced3d5700f6a9cf3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.