Update README.md
Browse files
README.md
CHANGED
|
@@ -1,17 +1,16 @@
|
|
| 1 |
-
#PrivBERT
|
| 2 |
-
|
| 3 |
-
PrivBERT is a privacy policy language model. We pre-trained PrivBERT on ~1 million privacy policies starting from the pretrained Roberta model.
|
| 4 |
-
|
| 5 |
-
##Usage
|
| 6 |
|
|
|
|
|
|
|
| 7 |
from transformers import AutoTokenizer, AutoModel
|
| 8 |
tokenizer = AutoTokenizer.from_pretrained("mukund/privbert")
|
| 9 |
-
model = AutoModel.from_pretrained("
|
| 10 |
-
|
| 11 |
-
##License
|
| 12 |
|
|
|
|
| 13 |
If you use this dataset in research, you must cite the below paper.
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
For research, teaching, and scholarship purposes, the model is available under a CC BY-NC-SA license. Please contact us for any requests regarding commercial use.
|
|
|
|
| 1 |
+
# PrivBERT
|
| 2 |
+
PrivBERT is a privacy policy language model. We pre-trained PrivBERT on ~1 million privacy policies starting with the pretrained Roberta model. The data is available at [https://privaseer.ist.psu.edu/data](https://privaseer.ist.psu.edu/data)
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
## Usage
|
| 5 |
+
```
|
| 6 |
from transformers import AutoTokenizer, AutoModel
|
| 7 |
tokenizer = AutoTokenizer.from_pretrained("mukund/privbert")
|
| 8 |
+
model = AutoModel.from_pretrained("mukund/privbert")
|
| 9 |
+
```
|
|
|
|
| 10 |
|
| 11 |
+
## License
|
| 12 |
If you use this dataset in research, you must cite the below paper.
|
| 13 |
+
```
|
| 14 |
+
Mukund Srinath, Shomir Wilson and C. Lee Giles. Privacy at Scale: Introducing the PrivaSeer Corpus of Web Privacy Policies. In Proc. ACL 2021.
|
| 15 |
+
```
|
| 16 |
For research, teaching, and scholarship purposes, the model is available under a CC BY-NC-SA license. Please contact us for any requests regarding commercial use.
|