File size: 6,950 Bytes
752c55b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12bed54
752c55b
 
 
 
 
 
 
 
 
 
 
25d3478
752c55b
25d3478
 
752c55b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b4a6b9e
752c55b
 
 
 
 
 
 
 
 
 
 
12bed54
752c55b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12bed54
752c55b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b4a6b9e
 
 
752c55b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
040ddc6
752c55b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
---
language:
- af
- am
- ar
- bn
- bg
- ca
- hr
- cs
- da
- nl
- en
- et
- tl
- fi
- fr
- de
- el
- gu
- he
- hi
- hu
- id
- it
- ja
- kn
- ko
- lv
- lt
- ms
- ml
- mr
- no
- fa
- pl
- pt
- ro
- ru
license: other
license_name: other
license_details: This dataset is proprietary to Keeper Security and intended for internal use only.
tags: []
annotations_creators:
- machine-generated
pretty_name: Html Input Text Only Dataset
size_categories:
- 100K<n<1M
task_categories:
- text-classification
task_ids: []
configs:
- config_name: default
  data_files:
  - split: train
    path: html-input-text-only-1755812747.parquet
dataset_info:
  features:
    - name: text
      dtype: string
    - name: label
      dtype: string
    - name: lang
      dtype: string
  config_name: default
  splits:
    - name: train
      num_bytes: 21009409
      num_examples: 449994
  download_size: 21009409
  dataset_size: 21009409
---

# 📖 Html Input Text Only Dataset

This dataset contains HTML input text with all punctuation removed, making it ideal for training models on web form elements and URLs.


## 📊 Dataset Overview

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.

This dataset is designed to facilitate the training of models that require clean HTML input without the noise introduced by punctuation.


## 🔗 Dependencies

The dataset uses data from the following datasets:

- [keeper-security/html_input_dataset](https://huggingface.co/datasets/keeper-security/html_input_dataset)

---

## 💡 Usage Examples

### Load with Hugging Face Datasets

```python
from datasets import load_dataset
ds = load_dataset("keeper-security/html-input-text-only", data_files={"train": "html-input-text-only-1755812747.parquet"})
print(ds["train"][0])
```

### Convert to Pandas

```python
import pandas as pd
df_train = ds["train"].to_pandas()
df_train.head()
```

---

## 📁 Repository Structure

```bash
html-input-text-only/
├── html-input-text-only-1755812747.parquet # Main processed dataset
├── README.md                               # Dataset documentation
└── CHANGELOG.md                            # Version history and changes
```

---

## 📊 Data Overview

- **Shape:** (449,994 rows × 3 columns)
- **File Size:** ~20 MB

---

### 📌 Statistics

- 🎯 Unique `text`: **302,616**
- 🎯 Unique `label`: **45**
- 🎯 Unique `lang`: **38**

### Columns

| Column Name | Type | Description |
|:------------|:-----|:------------|
| text | string | The main text content URL and HTML combined |
| label | string | Classification label |
| lang | string | Language of the text |

### Ontology


| **lang** | **Description** |
|--------|-----------------|
| Gujarati | Gujarati language |
| Japanese | Japanese language |
| Lithuanian | Lithuanian language |
| Indonesian | Indonesian language |
| Bengali | Bengali language |
| Afrikaans | Afrikaans language |
| Estonian | Estonian language |
| Dutch | Dutch language |
| Italian | Italian language |
| Hebrew | Hebrew language |
| Croatian | Croatian language |
| Finnish | Finnish language |
| Filipino | Filipino language |
| English | English language |
| Bulgarian | Bulgarian language |
| Korean | Korean language |
| Czech | Czech language |
| Danish | Danish language |
| Hindi | Hindi language |
| Latvian | Latvian language |
| German | German language |
| unknown | Unknown or unclassified language |
| Amharic | Amharic language |
| Hungarian | Hungarian language |
| Arabic | Arabic language |
| Greek | Greek language |
| Catalan | Catalan language |
| Kannada | Kannada language |
| French | French language |
| Marathi | Marathi language |
| Malay | Malay language |
| Malayalam | Malayalam language |
| Persian | Persian language |
| Norwegian Bokmål | Norwegian language |
| Polish | Polish language |
| Romanian | Romanian language |
| Portuguese | Portuguese language |
| Russian | Russian language |

| **label** | **Description** |
|---------|-----------------|
| ACCOUNT_CREATION_PASSWORD | Account creation password |
| ADDRESS_CITY | City name in an address |
| ADDRESS_COUNTRY | Country name in an address |
| ADDRESS_LINE1 | First line of a street address |
| ADDRESS_LINE2 | Second line of a street address (e.g., apartment, suite) |
| ADDRESS_STATE | State, province, or region in an address |
| ADDRESS_ZIP | Postal or ZIP code in an address |
| ALTERNATIVE_FAMILY_NAME | Alternative or secondary family/last name |
| ALTERNATIVE_FULL_NAME | Alternative or secondary full name |
| ALTERNATIVE_GIVEN_NAME | Alternative or secondary given/first name |
| AMBIGUOUS | Ambiguous or unclear input that cannot be classified |
| BIRTH_DATE_DAY | Day component of a birth date |
| BIRTH_DATE_MONTH | Month component of a birth date |
| BIRTH_DATE_YEAR | Year component of a birth date |
| COMPANY_NAME | Name of a company or organization |
| CONFIRMATION_PASSWORD | Password confirmation field |
| CREDIT_CARD_EXP_DATE_MONTH_AND_YEAR | Credit card expiration date (month and year) |
| CREDIT_CARD_EXP_DATE_YEAR | Credit card expiration year |
| CREDIT_CARD_EXP_MONTH | Credit card expiration month |
| CREDIT_CARD_NUMBER | Credit card number |
| CREDIT_CARD_STANDALONE_VERIFICATION_CODE | Credit card verification code (standalone field) |
| CREDIT_CARD_TYPE | Type or brand of credit card (e.g., Visa, MasterCard) |
| CREDIT_CARD_VERIFICATION_CODE | Credit card verification code (CVV, CVC, etc.) |
| EMAIL_ADDRESS | Email address |
| IBAN_VALUE | International Bank Account Number (IBAN) |
| MALICIOUS_LABEL | Label for potentially malicious or harmful input |
| MERCHANT_EMAIL_SIGNUP | Email address used for merchant signup |
| MERCHANT_PROMO_CODE | Promotional or discount code for merchants |
| NAME_FIRST | First or given name |
| NAME_FULL | Full name |
| NAME_LAST | Last or family name |
| NAME_MIDDLE | Middle name |
| NAME_MIDDLE_INITIAL | Middle initial |
| NAME_PREFIX | Name prefix (e.g., Mr., Dr., Ms.) |
| NAME_SUFFIX | Name suffix (e.g., Jr., Sr., III) |
| NATIONAL_IDENTITY_NUMBER | National identity or government-issued number |
| NEW_PASSWORD | New password field |
| PASSWORD | Password field |
| PHONE_NUMBER | Phone number |
| PIN_CODE | Personal identification number (PIN) |
| PROBABLY_NEW_PASSWORD | Field likely to be a new password |
| SEARCH | Search query or search field |
| TWO_FACTOR_CODE | Two-factor authentication code |
| UNKNOWN | Unknown or unclassified input |
| USERNAME | Username or user ID |

---



---

## 🔧 Reproduction

1. Clone the repository:
```bash
git clone https://github.com/keeper-security/ai-factory.git
cd ai-factory
git checkout 245a96b976f46aefbd71fc1716c16fd69d503b73
```

2. Navigate to the dataset directory and run the pipeline:
```bash
cd datasets/html-input-text-only
python run_pipeline.py
```

---