Instructions to use FlowRank/mailSort with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FlowRank/mailSort with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FlowRank/mailSort")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FlowRank/mailSort", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download main.py from FlowRank/mailSort: direct link, hf CLI and curl.
- Browser
- Download file 126 Bytes
-
https://huggingface.co/FlowRank/mailSort/resolve/main/main.py
- Command line
-
hf download hf://FlowRank/mailSort/main.py
-
curl -L -o main.py https://huggingface.co/FlowRank/mailSort/resolve/main/main.py
126 Bytes
| from __future__ import annotations | |
| from mailsort.train import main | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |