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