Update README.md
Browse files
README.md
CHANGED
@@ -8,4 +8,37 @@ tags:
|
|
8 |
- privacy
|
9 |
- intent
|
10 |
- privacy policies
|
11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
- privacy
|
9 |
- intent
|
10 |
- privacy policies
|
11 |
+
---
|
12 |
+
|
13 |
+
# privacy_intent for privacy policy intent classification
|
14 |
+
|
15 |
+
This model fine-tuned version of [mukund/privbert](https://huggingface.co/mukund/privbert) model on [PolicyIE dataset ](https://github.com/wasiahmad/PolicyIE/blob/main/data/sanitized_split.zip).
|
16 |
+
|
17 |
+
- Reference Paper: [Intent Classification and Slot Filling for Privacy Policies](https://aclanthology.org/2021.acl-long.340/).
|
18 |
+
|
19 |
+
<b>5 Intents (Labels)</b>:
|
20 |
+
|
21 |
+
*(1) Data Collection/Usage: What, why and how user information is collected;*
|
22 |
+
|
23 |
+
*(2) Data Sharing/Disclosure: What, why and how user information is shared with or collected by third parties;*
|
24 |
+
|
25 |
+
*(3) Data Storage/Retention: How long and where user information will be stored;*
|
26 |
+
|
27 |
+
*(4) Data Security/Protection: Protection measures for user information;*
|
28 |
+
|
29 |
+
*(5) Other: Other privacy practices that do not fall into the above four categories.*
|
30 |
+
|
31 |
+
```python
|
32 |
+
from transformers import pipeline
|
33 |
+
|
34 |
+
pipe = pipeline("text-classification", "remzicam/privacy_intent")
|
35 |
+
text="At any time during your use of the Services, you may decide to share some information or content publicly or privately."
|
36 |
+
pipe(text)
|
37 |
+
```
|
38 |
+
|
39 |
+
Output
|
40 |
+
|
41 |
+
```
|
42 |
+
[{'label': 'data-sharing-disclosure', 'score': 0.8373807072639465}]
|
43 |
+
|
44 |
+
```
|