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