anmolshrivastav commited on
Commit
999d18d
·
verified ·
1 Parent(s): 7e98cde

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +94 -28
README.md CHANGED
@@ -1,30 +1,96 @@
1
  ---
2
- configs:
3
- - config_name: default
4
- data_files:
5
- - split: train
6
- path: data/train-*
7
- - split: test
8
- path: data/test-*
9
- dataset_info:
10
- features:
11
- - name: text
12
- dtype: string
13
- - name: label
14
- dtype:
15
- class_label:
16
- names:
17
- '0': ham
18
- '1': scam
19
- - name: language
20
- dtype: string
21
- splits:
22
- - name: train
23
- num_bytes: 3256251
24
- num_examples: 12600
25
- - name: test
26
- num_bytes: 361805
27
- num_examples: 1400
28
- download_size: 1642794
29
- dataset_size: 3618056
30
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - as
4
+ - bn
5
+ - en
6
+ - gu
7
+ - hi
8
+ - kn
9
+ - ks
10
+ - ml
11
+ - mr
12
+ - or
13
+ - pa
14
+ - ta
15
+ - te
16
+ tags:
17
+ - scam-detection
18
+ - fraud-detection
19
+ - text-classification
20
+ - indic
21
+ - nlp
22
+ - synthetic
23
+ task_categories:
24
+ - text-classification
25
+ size_categories:
26
+ - 10K<n<100K
27
+ license: mit
28
+ pretty_name: "Indian Multilingual Scam & Ham SMS Dataset (14 Languages)"
 
29
  ---
30
+
31
+ # Indian Multilingual Scam & Ham SMS Dataset (14 Languages)
32
+
33
+ A balanced benchmark dataset of **14,000 text samples** curated for detecting fraud, phishing, and legitimate messages across **14 major Indian languages and scripts**.
34
+
35
+ ## Dataset Summary
36
+ - **Total Records:** 14,000 samples
37
+ - **Label Split:** Exactly 7,000 Scam / 7,000 Ham (Balanced 50:50 distribution)
38
+ - **Languages Covered (1,000 samples each across 14 languages):**
39
+ - Assamese (`as`)
40
+ - Bengali (`bn`)
41
+ - English (`en`)
42
+ - Gujarati (`gu`)
43
+ - Hindi (`hi`)
44
+ - Hinglish (`hi-Latn`)
45
+ - Kannada (`kn`)
46
+ - Kashmiri (`ks` - Perso-Arabic script)
47
+ - Malayalam (`ml`)
48
+ - Marathi (`mr`)
49
+ - Odia (`or`)
50
+ - Punjabi (`pa` - Gurmukhi script)
51
+ - Tamil (`ta`)
52
+ - Telugu (`te`)
53
+
54
+ ---
55
+
56
+ ## Dataset Structure
57
+
58
+ ### Features
59
+ | Column | Type | Description |
60
+ | :--- | :--- | :--- |
61
+ | `text` | string | The full SMS / messaging alert text. |
62
+ | `label` | ClassLabel | Target category: `0` (ham) or `1` (scam). |
63
+ | `language` | string | Language name (e.g., `Hindi`, `Bengali`, `Odia`, `Hinglish`). |
64
+
65
+ ### Splitting
66
+ - **Train:** 12,600 samples (90%)
67
+ - **Test:** 1,400 samples (10%)
68
+ - Stratified across both classes to preserve exact class balance.
69
+
70
+ ---
71
+
72
+ ## Domain Coverage & Fraud Vectors
73
+ The dataset models realistic communication patterns across India:
74
+
75
+ ### 1. Scam Vectors
76
+ - **Utility Threats:** Immediate power/electricity cut-off notices demanding urgent phone calls or payment.
77
+ - **Banking / KYC Phishing:** Impersonation of major Indian public & private banks (SBI, PNB, HDFC) with fake KYC verification deadlines.
78
+ - **Lottery / Scheme Baits:** Government subsidy lures (PM Awas Yojana), prize claims, and work visa processing fee scams.
79
+ - **Delivery Frauds:** Fake package delivery delays requesting minor redelivery payments or credential confirmations.
80
+
81
+ ### 2. Ham (Legitimate) Samples
82
+ - **Transactional Alerts:** Genuine OTP codes, bank debit/credit balance alerts, and telecom recharge receipts.
83
+ - **Official Utility Reminders:** Real-world telecom and broadband billing dates.
84
+ - **Conversational Messages:** Everyday peer-to-peer discussions, family updates, and social interactions in native scripts.
85
+
86
+ ---
87
+
88
+ ## Quick Usage
89
+
90
+ ```python
91
+ from datasets import load_dataset
92
+
93
+ dataset = load_dataset("__anmolshrivastav/scam_ham_india_14_languages__")
94
+
95
+ # Inspect a sample
96
+ print(dataset["train"][0])