farnazzeidi commited on
Commit
86e8a39
·
verified ·
1 Parent(s): fae4e19

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -54,6 +54,9 @@ print(predictions)
54
 
55
  ### Load model directly
56
  ```python
 
 
 
57
  # Load model and tokenizer
58
 
59
  tokenizer = AutoTokenizer.from_pretrained("farnazzeidi/ner-legalturk-bert-model")
 
54
 
55
  ### Load model directly
56
  ```python
57
+ from transformers import AutoTokenizer, AutoModelForTokenClassification
58
+ import torch
59
+
60
  # Load model and tokenizer
61
 
62
  tokenizer = AutoTokenizer.from_pretrained("farnazzeidi/ner-legalturk-bert-model")