likhith231 commited on
Commit
24a9171
1 Parent(s): e7286e9

update readme with content

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -23,4 +23,29 @@ configs:
23
  path: data/validation-*
24
  task_categories:
25
  - text-classification
26
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  path: data/validation-*
24
  task_categories:
25
  - text-classification
26
+ ---
27
+ # Dataset Card for Dataset Name
28
+
29
+ <!-- Provide a quick summary of the dataset. -->
30
+
31
+ This dataset is a condensed subset derived from the SetFit/enron_spam dataset. It comprises two primary columns: 'Text' and 'Label'. The dataset contains 1000 samples for training and 1000 samples for testing, making it suitable for binary text classification tasks.
32
+
33
+ ## Dataset Details
34
+
35
+ ### Columns
36
+
37
+ - **Text:** Represents the content of an email.
38
+ - **Label:** Indicates whether the email is categorized as 'spam' or 'ham' (non-spam).
39
+
40
+ ### Dataset Sources
41
+
42
+ - **Repository:** https://huggingface.co/datasets/SetFit/enron_spam
43
+
44
+ ## Uses
45
+
46
+
47
+ ### Direct Use
48
+ ```
49
+ from datasets import load_dataset
50
+ spam_dataset = load_dataset("likhith231/enron_spam_small")
51
+ ```