Instructions to use HamzaFarhan/PDFSetFit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use HamzaFarhan/PDFSetFit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("HamzaFarhan/PDFSetFit") 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 HamzaFarhan/PDFSetFit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("HamzaFarhan/PDFSetFit") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 84dc6a0805e835374c76dcca2c6eb5258e0f57bc270a4ee715f38a18c66bb721
- Size of remote file:
- 438 MB
- SHA256:
- 100f085ef265e71f1c4c148eff0301be168194ed2e7d583a831cce4eeb673fbc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.