File size: 1,183 Bytes
b252dea ee8e133 b252dea ee8e133 0bee41d b252dea 488053f ae7f511 488053f b252dea 17e53ae |
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 |
---
license: mit
language: "en"
tags:
- relation-extraction
widget:
- text: "We store your basic account information, including your name, username, and email address until you ask us to delete them."
- text: "When we transfer the personal data of users in the EEA, UK and/or Switzerland, we rely on the Standard Contractual Clauses approved by the European Commission for such transfers or other transfer mechanisms deemed 'adequate' under applicable laws."
- text: "We collect information about the apps, browsers, and devices you use to access Google services, which helps us provide features like automatic product updates and dimming your screen if your battery runs low."
---
#### Use:
```python
from transformers import pipeline
pipe = pipeline("text-classification", model="PaDaS-Lab/privacy-policy-relation-extraction", return_all_scores=True)
example = "We store your basic account information, including your name, username, and email address until you ask us to delete them."
results = pipe(example)
threshold = 0.5
print([result for result in results[0] if result['score'] >= threshold])
```
#### Performance:
 |