remzicam commited on
Commit
b7a7f3a
1 Parent(s): 099d734

Create README.md

Browse files

# privacy_intent model for intent classification of privacy policies

This model fine-tuned [privbert](https://huggingface.co/mukund/privbert) model on [PolicyIE dataset](https://github.com/wasiahmad/PolicyIE/blob/main/data/sanitized_split.zip).

- Reference Paper: [Intent Classification and Slot Filling for Privacy Policies](https://aclanthology.org/2021.acl-long.340/).

<b>Labels (5 Intents)</b>:

*(1) Data Collection/Usage: What, why and how user information is collected;*

*(2) Data Sharing/Disclosure: What, why and how user information is shared with or collected by third parties;*

*(3) Data Storage/Retention: How long and where user information will be stored;*

*(4) Data Security/Protection: Protection measures for user information;*

*(5) Other: Other privacy practices that do not fall into the above four categories.*

# Usage

With text generation pipeline

```python
from transformers import pipeline

pipe = pipeline('text-classification', "remzicam/privacy_intent")
text = "At any time during your use of the Services , you may decide to share some information or content publicly or privately."
pipe(text)
```

Output:

```
[{'label': 'data-sharing-disclosure', 'score': 0.8373807072639465}]
```

Files changed (1) hide show
  1. README.md +11 -0
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ pipeline_tag: text-classification
6
+ tags:
7
+ - legal
8
+ - privacy
9
+ - intent
10
+ - privacy policies
11
+ ---