Yash345 commited on
Commit
9f420eb
1 Parent(s): fce013a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -9
README.md CHANGED
@@ -13,26 +13,28 @@ tags:
13
 
14
  ## Uses
15
 
16
- <!
17
- -- For social good.
18
- -->
19
 
20
  ### Direct Use
21
 
22
- <!
23
- -- model_path = ""
24
 
25
 
26
  model = BertForSequenceClassification.from_pretrained(model_path)
 
27
  tokenizer= BertTokenizerFast.from_pretrained(model_path)
 
28
  nlp= pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
29
 
30
  nlp("text")
31
- -->
32
 
33
 
34
  #### Metrics
35
 
36
- <!
37
- --Accuracy metrics
38
- -->
 
13
 
14
  ## Uses
15
 
16
+
17
+ For social good.
18
+
19
 
20
  ### Direct Use
21
 
22
+
23
+ model_path = ""
24
 
25
 
26
  model = BertForSequenceClassification.from_pretrained(model_path)
27
+
28
  tokenizer= BertTokenizerFast.from_pretrained(model_path)
29
+
30
  nlp= pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
31
 
32
  nlp("text")
33
+
34
 
35
 
36
  #### Metrics
37
 
38
+
39
+ Accuracy metrics
40
+