keepersecurity-bot commited on
Commit
752c55b
·
verified ·
1 Parent(s): 08afc75

Update dataset v1.0.0-initial

Browse files
CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to the Html Input Text Only Dataset will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Version 1.0.0]
9
+
10
+ - Initial release with html-input-text-only dataset
11
+ - Standardized data processing pipeline
12
+ - Comprehensive documentation and metadata
13
+
14
+ ---
15
+
16
+ ## Build Information
17
+
18
+ - **Dataset version**: v1.0.0-initial
19
+ - **Generated on**: 2025-08-21 12:50:04 UTC
README.md ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - af
4
+ - am
5
+ - ar
6
+ - bn
7
+ - bg
8
+ - ca
9
+ - hr
10
+ - cs
11
+ - da
12
+ - nl
13
+ - en
14
+ - et
15
+ - tl
16
+ - fi
17
+ - fr
18
+ - de
19
+ - el
20
+ - gu
21
+ - he
22
+ - hi
23
+ - hu
24
+ - id
25
+ - it
26
+ - ja
27
+ - kn
28
+ - ko
29
+ - lv
30
+ - lt
31
+ - ms
32
+ - ml
33
+ - mr
34
+ - no
35
+ - fa
36
+ - pl
37
+ - pt
38
+ - ro
39
+ - ru
40
+ license: other
41
+ license_name: other
42
+ license_details: This dataset is proprietary to Keeper Security and intended for internal use only.
43
+ tags: []
44
+ annotations_creators:
45
+ - machine-generated
46
+ pretty_name: Html Input Text Only Dataset
47
+ size_categories:
48
+ - 100K<n<1M
49
+ task_categories:
50
+ - text-classification
51
+ task_ids: []
52
+ configs:
53
+ - config_name: default
54
+ data_files:
55
+ - split: train
56
+ path: html-input-text-only-1755802899.parquet
57
+ dataset_info:
58
+ features:
59
+ - name: text
60
+ dtype: string
61
+ - name: label
62
+ dtype: string
63
+ - name: lang
64
+ dtype: string
65
+ config_name: default
66
+ splits:
67
+ - name: train
68
+ num_bytes: 21009409
69
+ num_examples: 449994
70
+ download_size: 21009409
71
+ dataset_size: 21009409
72
+ ---
73
+
74
+ # 📖 Html Input Text Only Dataset
75
+
76
+ This dataset contains HTML input text with all punctuation removed, making it ideal for training models on web form elements and URLs.
77
+
78
+
79
+ ## 📊 Dataset Overview
80
+
81
+ A preprocessed version of keeper-security/html_input_dataset with punctuation removed from HTML sections to reduce tokenization errors during model training. Contains web form elements and URLs for security analysis tasks.
82
+
83
+ This dataset is designed to facilitate the training of models that require clean HTML input without the noise introduced by punctuation.
84
+
85
+
86
+ ## 🔗 Dependencies
87
+
88
+ The dataset integrates and standardizes data from the following public datasets:
89
+
90
+ - [keeper-security/html_input_dataset](https://huggingface.co/datasets/keeper-security/html_input_dataset)
91
+
92
+ ---
93
+
94
+ ## 💡 Usage Examples
95
+
96
+ ### Load with Hugging Face Datasets
97
+
98
+ ```python
99
+ from datasets import load_dataset
100
+ ds = load_dataset("keeper-security/html-input-text-only", data_files={"train": "html-input-text-only-1755802899.parquet"})
101
+ print(ds["train"][0])
102
+ ```
103
+
104
+ ### Convert to Pandas
105
+
106
+ ```python
107
+ import pandas as pd
108
+ df_train = ds["train"].to_pandas()
109
+ df_train.head()
110
+ ```
111
+
112
+ ---
113
+
114
+ ## 📁 Repository Structure
115
+
116
+ ```bash
117
+ html-input-text-only/
118
+ ├── html-input-text-only-1755802899.parquet # Main processed dataset
119
+ ├── README.md # Dataset documentation
120
+ └── CHANGELOG.md # Version history and changes
121
+ ```
122
+
123
+ ---
124
+
125
+ ## 📊 Data Overview
126
+
127
+ - **Shape:** (449,994 rows × 3 columns)
128
+ - **File Size:** ~20 MB
129
+
130
+ ---
131
+
132
+ ### 📌 Statistics
133
+
134
+ - ✅ Total commands: **302,699**
135
+ - 🎯 Unique text: **302,616**
136
+ - 🎯 Unique label: **45**
137
+ - 🎯 Unique lang: **38**
138
+
139
+ ### Columns
140
+
141
+ | Column Name | Type | Description |
142
+ |:------------|:-----|:------------|
143
+ | text | string | The main text content URL and HTML combined |
144
+ | label | string | Classification label |
145
+ | lang | string | Language of the text |
146
+
147
+ ### Ontology
148
+
149
+
150
+ | **lang** | **Description** |
151
+ |--------|-----------------|
152
+ | Gujarati | Gujarati language |
153
+ | Japanese | Japanese language |
154
+ | Lithuanian | Lithuanian language |
155
+ | Indonesian | Indonesian language |
156
+ | Bengali | Bengali language |
157
+ | Afrikaans | Afrikaans language |
158
+ | Estonian | Estonian language |
159
+ | Dutch | Dutch language |
160
+ | Italian | Italian language |
161
+ | Hebrew | Hebrew language |
162
+ | Croatian | Croatian language |
163
+ | Finnish | Finnish language |
164
+ | Filipino | Filipino language |
165
+ | English | English language |
166
+ | Bulgarian | Bulgarian language |
167
+ | Korean | Korean language |
168
+ | Czech | Czech language |
169
+ | Danish | Danish language |
170
+ | Hindi | Hindi language |
171
+ | Latvian | Latvian language |
172
+ | German | German language |
173
+ | unknown | Unknown or unclassified language |
174
+ | Amharic | Amharic language |
175
+ | Hungarian | Hungarian language |
176
+ | Arabic | Arabic language |
177
+ | Greek | Greek language |
178
+ | Catalan | Catalan language |
179
+ | Kannada | Kannada language |
180
+ | French | French language |
181
+ | Marathi | Marathi language |
182
+ | Malay | Malay language |
183
+ | Malayalam | Malayalam language |
184
+ | Persian | Persian language |
185
+ | Norwegian Bokmål | Norwegian language |
186
+ | Polish | Polish language |
187
+ | Romanian | Romanian language |
188
+ | Portuguese | Portuguese language |
189
+ | Russian | Russian language |
190
+
191
+ | **label** | **Description** |
192
+ |---------|-----------------|
193
+ | ACCOUNT_CREATION_PASSWORD | Account creation password |
194
+ | ADDRESS_CITY | City name in an address |
195
+ | ADDRESS_COUNTRY | Country name in an address |
196
+ | ADDRESS_LINE1 | First line of a street address |
197
+ | ADDRESS_LINE2 | Second line of a street address (e.g., apartment, suite) |
198
+ | ADDRESS_STATE | State, province, or region in an address |
199
+ | ADDRESS_ZIP | Postal or ZIP code in an address |
200
+ | ALTERNATIVE_FAMILY_NAME | Alternative or secondary family/last name |
201
+ | ALTERNATIVE_FULL_NAME | Alternative or secondary full name |
202
+ | ALTERNATIVE_GIVEN_NAME | Alternative or secondary given/first name |
203
+ | AMBIGUOUS | Ambiguous or unclear input that cannot be classified |
204
+ | BIRTH_DATE_DAY | Day component of a birth date |
205
+ | BIRTH_DATE_MONTH | Month component of a birth date |
206
+ | BIRTH_DATE_YEAR | Year component of a birth date |
207
+ | COMPANY_NAME | Name of a company or organization |
208
+ | CONFIRMATION_PASSWORD | Password confirmation field |
209
+ | CREDIT_CARD_EXP_DATE_MONTH_AND_YEAR | Credit card expiration date (month and year) |
210
+ | CREDIT_CARD_EXP_DATE_YEAR | Credit card expiration year |
211
+ | CREDIT_CARD_EXP_MONTH | Credit card expiration month |
212
+ | CREDIT_CARD_NUMBER | Credit card number |
213
+ | CREDIT_CARD_STANDALONE_VERIFICATION_CODE | Credit card verification code (standalone field) |
214
+ | CREDIT_CARD_TYPE | Type or brand of credit card (e.g., Visa, MasterCard) |
215
+ | CREDIT_CARD_VERIFICATION_CODE | Credit card verification code (CVV, CVC, etc.) |
216
+ | EMAIL_ADDRESS | Email address |
217
+ | IBAN_VALUE | International Bank Account Number (IBAN) |
218
+ | MALICIOUS_LABEL | Label for potentially malicious or harmful input |
219
+ | MERCHANT_EMAIL_SIGNUP | Email address used for merchant signup |
220
+ | MERCHANT_PROMO_CODE | Promotional or discount code for merchants |
221
+ | NAME_FIRST | First or given name |
222
+ | NAME_FULL | Full name |
223
+ | NAME_LAST | Last or family name |
224
+ | NAME_MIDDLE | Middle name |
225
+ | NAME_MIDDLE_INITIAL | Middle initial |
226
+ | NAME_PREFIX | Name prefix (e.g., Mr., Dr., Ms.) |
227
+ | NAME_SUFFIX | Name suffix (e.g., Jr., Sr., III) |
228
+ | NATIONAL_IDENTITY_NUMBER | National identity or government-issued number |
229
+ | NEW_PASSWORD | New password field |
230
+ | PASSWORD | Password field |
231
+ | PHONE_NUMBER | Phone number |
232
+ | PIN_CODE | Personal identification number (PIN) |
233
+ | PROBABLY_NEW_PASSWORD | Field likely to be a new password |
234
+ | SEARCH | Search query or search field |
235
+ | TWO_FACTOR_CODE | Two-factor authentication code |
236
+ | UNKNOWN | Unknown or unclassified input |
237
+ | USERNAME | Username or user ID |
238
+
239
+ ---
240
+
241
+
242
+
243
+ ---
244
+
245
+ ## 🔧 Reproduction
246
+
247
+ 1. Clone the repository:
248
+ ```bash
249
+ git clone https://github.com/keeper-security/ai-factory.git
250
+ cd ai-factory
251
+ git checkout {{ github_commit_hash }}
252
+ ```
253
+
254
+ 2. Navigate to the dataset directory and run the pipeline:
255
+ ```bash
256
+ cd datasets/html-input-text-only
257
+ python run_pipeline.py
258
+ ```
259
+
260
+ ---
html-input-text-only-1755802899.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:492a9dc4342af0116c21802ea8fcc6829604f08e88c86ba7e036bbd9ba6014a8
3
+ size 21009409