Run this model with HF Jobs
Run navya608/random-forest-fraud-detection 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/navya608/random-forest-fraud-detection. 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/navya608/random-forest-fraud-detection 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.
Instructions to use navya608/random-forest-fraud-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use navya608/random-forest-fraud-detection with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("navya608/random-forest-fraud-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from navya608/random-forest-fraud-detection: direct link, hf CLI and curl.
- Browser
- Download file 705 Bytes
-
https://huggingface.co/navya608/random-forest-fraud-detection/resolve/main/README.md
- Command line
-
hf download hf://navya608/random-forest-fraud-detection/README.md
-
curl -L -o README.md https://huggingface.co/navya608/random-forest-fraud-detection/resolve/main/README.md
705 Bytes
Random Forest Fraud Detection Model
This is a Random Forest model trained to detect fraudulent transactions.
Usage
from transformers import pipeline
classifier = pipeline("fraud-detection", model="your-username/random-forest-fraud-detection")
data = {
"CustomerAge": 45,
"POSWEBLimit": 2000,
"CreditLimit": 5000,
"Amount": 1500,
"AverageIncomeExpendicture": 3000,
"BalanceChange": -500,
"AmountToCreditLimitRatio": 0.3,
"IsMale": 1,
"Marital Status": "Single",
"Cards": "Visa",
"CardColour": "Gold",
"CardType": "Credit",
"TransactionType": "Debit",
"Domain": "Retail",
"ATM": "No"
}
result = classifier(data)
print(result)