qgyd2021 commited on
Commit
e219b0c
·
1 Parent(s): 6cc2785
Files changed (2) hide show
  1. README.md +43 -0
  2. main.py +1 -1
README.md CHANGED
@@ -16,6 +16,49 @@ license: apache-2.0
16
  | enron_spam | 英语 | 垃圾邮件分类 | [enron_spam_data](https://github.com/MWiechmann/enron_spam_data); [Enron-Spam](https://www2.aueb.gr/users/ion/data/enron-spam/); [spam-mails-dataset](https://www.kaggle.com/datasets/venky73/spam-mails-dataset) | 17,171 spam; 16,545 ham | Enron-Spam 数据集是 V. Metsis、I. Androutsopoulos 和 G. Paliouras 收集的绝佳资源 | [enron_spam](https://huggingface.co/datasets/SetFit/enron_spam) |
17
 
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ### 参考来源
20
  <details>
21
  <summary>参考的数据来源,展开查看</summary>
 
16
  | enron_spam | 英语 | 垃圾邮件分类 | [enron_spam_data](https://github.com/MWiechmann/enron_spam_data); [Enron-Spam](https://www2.aueb.gr/users/ion/data/enron-spam/); [spam-mails-dataset](https://www.kaggle.com/datasets/venky73/spam-mails-dataset) | 17,171 spam; 16,545 ham | Enron-Spam 数据集是 V. Metsis、I. Androutsopoulos 和 G. Paliouras 收集的绝佳资源 | [enron_spam](https://huggingface.co/datasets/SetFit/enron_spam) |
17
 
18
 
19
+ ### 样本示例
20
+
21
+ <details>
22
+ <summary>train subset prompt 示例: (intent: Is it safe to go to the gym indoors if I'm vaccinated?)</summary>
23
+ <pre><code>
24
+ ------------
25
+ She's borderline but yeah whatever.
26
+ ham
27
+ ------------
28
+ I got a call from a landline number. . . I am asked to come to anna nagar . . . I will go in the afternoon
29
+ ham
30
+ ------------
31
+ Until 545 lor... Ya, can go 4 dinner together...
32
+ ham
33
+ ------------
34
+ I will be gentle princess! We will make sweet gentle love...
35
+ ham
36
+ ------------
37
+ How u doin baby girl ?? hope u are okay every time I call ure phone is off! I miss u get in touch
38
+ ham
39
+ ------------
40
+ Sorry, went to bed early, nightnight
41
+ ham
42
+ ------------
43
+ I like to think there's always the possibility of being in a pub later.
44
+ ham
45
+ ------------
46
+ HMM yeah if your not too grooved out! And im looking forward to my pound special :)
47
+ ham
48
+ ------------
49
+ I got to video tape pple type in message lor. U so free wan 2 help me? Hee... Cos i noe u wan 2 watch infernal affairs so ask u along. Asking shuhui oso.
50
+ ham
51
+ ------------
52
+ Hi dude hw r u da realy mising u today
53
+ ham
54
+ ------------
55
+ Me hungry buy some food good lei... But mum n yun dun wan juz buy a little bit...
56
+ ham
57
+ ------------
58
+ </code></pre>
59
+ </details>
60
+
61
+
62
  ### 参考来源
63
  <details>
64
  <summary>参考的数据来源,展开查看</summary>
main.py CHANGED
@@ -17,7 +17,7 @@ for sample in dataset:
17
 
18
  print(text)
19
  print(label)
20
- print("-" * 150)
21
 
22
 
23
  if __name__ == '__main__':
 
17
 
18
  print(text)
19
  print(label)
20
+ print("-" * 12)
21
 
22
 
23
  if __name__ == '__main__':