Run this model with HF Jobs

Run Noor-Khan/spam-detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Noor-Khan/spam-detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Noor-Khan/spam-detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
spam-detector / samples /examples.json
Noor-Khan's picture
Upload examples.json
46783e9 verified
Raw History Blame Contribute Delete
1.27 kB
{
"examples": [
{
"text": "Congratulations! You have WON a FREE 1000 cash prize. Call 09001234567 now to claim your reward!",
"expected": "spam",
"lr_p_spam": 0.9578,
"lr_label": "spam",
"nb_p_spam": 1.0,
"nb_label": "spam"
},
{
"text": "Hey, are we still meeting for lunch tomorrow? Let me know what time works for you.",
"expected": "ham",
"lr_p_spam": 0.0273,
"lr_label": "ham",
"nb_p_spam": 0.0001,
"nb_label": "ham"
},
{
"text": "URGENT: Your account will be closed today unless you verify your details at http://bit.ly/verify-now",
"expected": "spam",
"lr_p_spam": 0.3056,
"lr_label": "ham",
"nb_p_spam": 0.5219,
"nb_label": "spam"
},
{
"text": "Ok lar, see you at 7. Bring the notes from class.",
"expected": "ham",
"lr_p_spam": 0.0349,
"lr_label": "ham",
"nb_p_spam": 0.0001,
"nb_label": "ham"
}
],
"edge_cases": [
{
"text": "",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
},
{
"text": "!!! ??? ...",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
},
{
"text": " ",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
}
]
}