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