Text Classification
Model2Vec
English
poster-sentry
document-classification
scientific-posters
multimodal
poster-detection
machine-actionable
FAIR-data
posters-science
quality-control
Instructions to use fairdataihub/poster-sentry with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use fairdataihub/poster-sentry with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("fairdataihub/poster-sentry") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
Retrained head (CC0/CC-BY corpus, poster2json first-page text) and package sync (v0.3.0)
1a48207 verified Download src/poster_sentry/__main__.py from fairdataihub/poster-sentry: direct link, hf CLI and curl.
- Browser
- Download file 127 Bytes
-
https://huggingface.co/fairdataihub/poster-sentry/resolve/main/src/poster_sentry/__main__.py
- Command line
-
hf download hf://fairdataihub/poster-sentry/src/poster_sentry/__main__.py
-
curl -L -o __main__.py https://huggingface.co/fairdataihub/poster-sentry/resolve/main/src/poster_sentry/__main__.py
127 Bytes
| """Allow running PosterSentry as ``python -m poster_sentry``.""" | |
| from .cli import main | |
| if __name__ == "__main__": | |
| main() | |