Add how to use
Browse files
README.md
CHANGED
@@ -27,3 +27,8 @@ https://propaganda.qcri.org/annotations/definitions.html
|
|
27 |
|
28 |
## How to use
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
## How to use
|
29 |
|
30 |
+
>>> from .model import BertForTokenAndSequenceJointClassification
|
31 |
+
>>> model = BertForTokenAndSequenceJointClassification.from_pretrained(
|
32 |
+
>>> "QCRI/PropagandaTechniquesAnalysis-en-BERT",
|
33 |
+
>>> revision="v0.1.0",
|
34 |
+
>>> )
|