ONNX
eric707 commited on
Commit
28f111e
1 Parent(s): 00f2c11

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +249 -0
README.md ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+
19
+ # Phishing Detection
20
+
21
+ # Model Overview
22
+
23
+ ## Description:
24
+ * Phishing detection is a binary classifier differentiating between phishing/spam and benign emails and SMS messages. This model is for demonstration purposes and not for production usage. <br>
25
+
26
+ ## References(s):
27
+ * https://archive.ics.uci.edu/ml/datasets/SMS+Spam+Collection <br>
28
+ * Devlin J. et al. (2018), BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding https://arxiv.org/abs/1810.04805 <br>
29
+
30
+ ## Model Architecture:
31
+
32
+ **Architecture Type:**
33
+
34
+ * Transformers <br>
35
+
36
+ **Network Architecture:**
37
+
38
+ * BERT <br>
39
+
40
+ ## Input: (Enter "None" As Needed)
41
+
42
+ **Input Format:**
43
+
44
+ * Evaluation script downloads the smsspamcollection.zip and extract tabular information into a dataframe <br>
45
+
46
+ **Input Parameters:**
47
+
48
+ * SMS/emails <br>
49
+
50
+ **Other Properties Related to Output:**
51
+
52
+ * N/A <br>
53
+
54
+ ## Output: (Enter "None" As Needed)
55
+
56
+ **Output Format:**
57
+
58
+ * Binary Results, Fraudulent or Benign <br>
59
+
60
+ **Output Parameters:**
61
+
62
+ * N/A <br>
63
+
64
+ **Other Properties Related to Output:**
65
+
66
+ * N/A <br>
67
+
68
+
69
+ ## Software Integration:
70
+
71
+ **Runtime(s):**
72
+
73
+ * Morpheus <br>
74
+
75
+ **Supported Hardware Platform(s):** <br>
76
+
77
+ * Ampere/Turing <br>
78
+
79
+ **Supported Operating System(s):** <br>
80
+
81
+ * Linux <br>
82
+
83
+ ## Model Version(s):
84
+
85
+ * v1 <br>
86
+
87
+ # Training & Evaluation:
88
+
89
+ ## Training Dataset:
90
+
91
+ **Link:**
92
+
93
+ * http://archive.ics.uci.edu/ml/machine-learning-databases/00228/smsspamcollection.zip <br>
94
+
95
+ **Properties (Quantity, Dataset Descriptions, Sensor(s)):**
96
+
97
+ * Dataset consists of SMSs <br>
98
+
99
+ ## Evaluation Dataset:
100
+
101
+ **Link:**
102
+
103
+ * https://github.com/nv-morpheus/Morpheus/blob/branch-24.03/models/datasets/validation-data/phishing-email-validation-data.jsonlines <br>
104
+
105
+ **Properties (Quantity, Dataset Descriptions, Sensor(s)):**
106
+
107
+ * Dataset consists of SMSs <br>
108
+
109
+ ## Inference:
110
+
111
+ **Engine:**
112
+
113
+ * Triton <br>
114
+
115
+ **Test Hardware:** <br>
116
+
117
+ * DGX (V100) <br>
118
+
119
+ ## Ethical Considerations:
120
+ NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their supporting model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards below. Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
121
+
122
+ # Subcards
123
+
124
+ ## Model Card ++ Bias Subcard
125
+
126
+ ### What is the language balance of the model validation data?
127
+
128
+ * English
129
+
130
+ ### What is the geographic origin language balance of the model validation data?
131
+
132
+ * UK
133
+
134
+ ### Individuals from the following adversely impacted (protected classes) groups participate in model design and testing.
135
+
136
+ * Not Applicable
137
+
138
+ ### Describe measures taken to mitigate against unwanted bias.
139
+
140
+ * Not Applicable
141
+
142
+ ## Model Card ++ Explainability Subcard
143
+
144
+ ### Name example applications and use cases for this model.
145
+ * The model is primarily designed for testing purposes and serves as a small pre-trained model specifically used to evaluate and validate the phishing detection pipeline. Its application is focused on assessing the effectiveness of the pipeline rather than being intended for broader use cases or specific applications beyond testing.
146
+
147
+ ### Fill in the blank for the model technique.
148
+
149
+ * This model is designed for developers seeking to test the phishing detection pipeline with a small pre-trained model.
150
+
151
+ ### Name who is intended to benefit from this model.
152
+
153
+ * The intended beneficiaries of this model are developers who aim to test the performance and functionality of the phishing pipeline using synthetic datasets. It may not be suitable or provide significant value for real-world phishing messages.
154
+
155
+ ### Describe the model output.
156
+ * This model output can be used as a binary result, Phishing/Spam or Benign
157
+
158
+ ### List the steps explaining how this model works.
159
+ * A BERT model gets fine-tuned with the dataset and in the inference it predicts one of the binary classes. Phishing/Spam or Benign.
160
+
161
+ ### Name the adversely impacted groups (protected classes) this has been tested to deliver comparable outcomes regardless of:
162
+ * Not Applicable
163
+
164
+ ### List the technical limitations of the model.
165
+ * For different email/SMS types and content, different models need to be trained.
166
+
167
+ ### Has this been verified to have met prescribed NVIDIA standards?
168
+
169
+ * Yes
170
+
171
+ ### What performance metrics were used to affirm the model's performance?
172
+ * F1
173
+
174
+ ### What are the potential known risks to users and stakeholders?
175
+ * N/A
176
+
177
+ ### Link the relevant end user license agreement
178
+ * [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
179
+
180
+ ## Model Card ++ Saftey & Security Subcard
181
+
182
+ ### Link the location of the training dataset's repository.
183
+ * http://archive.ics.uci.edu/ml/machine-learning-databases/00228/smsspamcollection.zip
184
+
185
+ ### Is the model used in an application with physical safety impact?
186
+ * No
187
+
188
+ ### Describe life-critical impact (if present).
189
+ * None
190
+
191
+ ### Was model and dataset assessed for vulnerability for potential form of attack?
192
+ * No
193
+
194
+ ### Name applications for the model.
195
+
196
+ * The primary application for this model is testing the Morpheus phishing detection pipeline
197
+
198
+ ### Name use case restrictions for the model.
199
+ * This pretrained model's use case is restricted to testing the Morpheus pipeline and may not be suitable for other applications.
200
+
201
+ ### Name target quality Key Performance Indicators (KPIs) for which this has been tested.
202
+ * N/A
203
+
204
+ ### Is the model and dataset compliant with National Classification Management Society (NCMS)?
205
+ * No
206
+
207
+ ### Are there explicit model and dataset restrictions?
208
+ * No
209
+
210
+ ### Are there access restrictions to systems, model, and data?
211
+ * No
212
+
213
+ ### Is there a digital signature?
214
+
215
+ * No
216
+
217
+ ## Model Card ++ Privacy Subcard
218
+
219
+
220
+ ### Generatable or reverse engineerable personally-identifiable information (PII)?
221
+ * None
222
+
223
+ ### Protected classes used to create this model? (The following were used in model the model's training:)
224
+ * N/A
225
+
226
+ ### Was consent obtained for any PII used?
227
+ * N/A
228
+
229
+ ### How often is dataset reviewed?
230
+ * Unknown
231
+
232
+ ### Is a mechanism in place to honor data subject right of access or deletion of personal data?
233
+
234
+ * N/A
235
+
236
+ ### If PII collected for the development of this AI model, was it minimized to only what was required?
237
+ * N/A
238
+
239
+ ### Is data in dataset traceable?
240
+ * N/A
241
+
242
+ ### Are we able to identify and trace source of dataset?
243
+ * N/A
244
+
245
+ ### Does data labeling (annotation, metadata) comply with privacy laws?
246
+ * N/A
247
+
248
+ ### Is data compliant with data subject requests for data correction or removal, if such a request was made?
249
+ * N/A