yifan commited on
Commit
0fe590e
1 Parent(s): 6d0009d

Add how to use

Browse files
Files changed (1) hide show
  1. README.md +5 -0
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
+ >>> )