annaadar commited on
Commit
b605c46
verified
1 Parent(s): 8f0ceef

update readme usage section

Browse files
Files changed (1) hide show
  1. README.md +6 -1
README.md CHANGED
@@ -43,7 +43,12 @@ covering edge cases and category variations to improve generalization across rea
43
  ```python
44
  from transformers import pipeline
45
 
46
- classifier = pipeline("text-classification", model="annaadar/MedTextBERT")
 
 
 
 
 
47
  result = classifier("诇讗讞专 讘讚讬拽转 讚诐 砖讙专转讬转, 谞诪爪讗讜 注专讻讬诐 转拽讬谞讬诐")
48
  print(result)
49
  ```
 
43
  ```python
44
  from transformers import pipeline
45
 
46
+ classifier = pipeline(
47
+ "text-classification",
48
+ model="annaadar/MedTextBERT",
49
+ tokenizer="annaadar/MedTextBERT"
50
+ )
51
+
52
  result = classifier("诇讗讞专 讘讚讬拽转 讚诐 砖讙专转讬转, 谞诪爪讗讜 注专讻讬诐 转拽讬谞讬诐")
53
  print(result)
54
  ```