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 pyproject.toml from FlowRank/mailSort: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/FlowRank/mailSort/resolve/main/pyproject.toml
- Command line
-
hf download hf://FlowRank/mailSort/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/FlowRank/mailSort/resolve/main/pyproject.toml
464 Bytes
| [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 | |