harshildarji
commited on
Commit
•
ab1fa89
1
Parent(s):
d2207b4
Update README.md
Browse files
README.md
CHANGED
@@ -9,8 +9,8 @@ widget:
|
|
9 |
from transformers import pipeline
|
10 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
11 |
|
12 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
13 |
-
model = AutoModelForTokenClassification.from_pretrained("
|
14 |
|
15 |
ner = pipeline("ner", model=model, tokenizer=tokenizer)
|
16 |
example = "We do not knowingly collect personal information from anyone under 16. We may limit how we collect, use and store some of the information of EU or EEA users between ages 13 and 16."
|
|
|
9 |
from transformers import pipeline
|
10 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
11 |
|
12 |
+
tokenizer = AutoTokenizer.from_pretrained("PaDaS-Lab/gdpr-privacy-policy-ner", use_auth_token="AUTH_TOKEN")
|
13 |
+
model = AutoModelForTokenClassification.from_pretrained("PaDaS-Lab/gdpr-privacy-policy-ner", use_auth_token="AUTH_TOKEN")
|
14 |
|
15 |
ner = pipeline("ner", model=model, tokenizer=tokenizer)
|
16 |
example = "We do not knowingly collect personal information from anyone under 16. We may limit how we collect, use and store some of the information of EU or EEA users between ages 13 and 16."
|