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