YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
license: afl-3.0 ---# Assuming you have collected your data in a dictionary format data = { "text": ["Suspicious transaction detected", "Unauthorized access to account", ...], "label": [1, 1, ...] # 1 for fraud, 0 for legitimate }
Create a Hugging Face Dataset
dataset = Dataset.from_dict(data)
Split dataset
train_dataset = dataset.train_test_split(test_size=0.2)['train'] test_dataset = dataset.train_test_split(test_size=0.2)['test']
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support