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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FlowRank/mailSort", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| [project] | |
| name = "mailsort" | |
| version = "0.1.0" | |
| description = "Add your description here" | |
| requires-python = ">=3.11" | |
| dependencies = [ | |
| "accelerate>=1.13.0", | |
| "datasets>=4.8.5", | |
| "huggingface-hub>=1.13.0", | |
| "safetensors>=0.7.0", | |
| "torch>=2.11.0", | |
| "transformers>=5.8.0", | |
| ] | |
| [project.scripts] | |
| mailsort-train = "mailsort.train:main" | |
| mailsort-eval = "mailsort.eval:main" | |
| mailsort-prepare-model = "mailsort.prepare_model:main" | |
| [tool.uv] | |
| package = true | |