sguarnaccio commited on
Commit
6d3a1d2
·
1 Parent(s): 0d39895

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -33,6 +33,10 @@ Identify the section of a legal contract that contains the governing law and ext
33
 
34
  Use the code below to get started with the model.
35
  ```python
36
- from clf_ner import clf_ner
37
- clf_ner.predict("This agreement shall be governed by the laws of the State of New Jersey")
 
 
 
 
38
  ```
 
33
 
34
  Use the code below to get started with the model.
35
  ```python
36
+ from transformers import AutoTokenizer, ClassifierNER
37
+
38
+ tokenizer = AutoTokenizer.from_pretrained("sguarnaccio/gov_law_clf_ner")
39
+
40
+ model = ClassifierNER.from_pretrained("sguarnaccio/gov_law_clf_ner")
41
+ model.predict("This agreement shall be governed by the laws of the State of New Jersey")
42
  ```