--- 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: ![model performance](https://i.imgur.com/09EaH9h.png)