Kebinnuil commited on
Commit
55fde25
·
verified ·
1 Parent(s): d1ff217

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -4
README.md CHANGED
@@ -32,8 +32,5 @@ from transformers import pipeline, DistilBertTokenizer, DistilBertForSequenceCla
32
  tokenizer = DistilBertTokenizer.from_pretrained("Kebinnuil/suicidal_detection_model")
33
  model = pipeline("text-classification", model="Kebinnuil/suicidal_detection_model")
34
 
35
- from transformers import pipeline
36
-
37
- classifier = pipeline("text-classification", model="Kebinnuil/suicidal_detection_model")
38
- result = classifier("I want to jump off the bridge")
39
  print(result)
 
32
  tokenizer = DistilBertTokenizer.from_pretrained("Kebinnuil/suicidal_detection_model")
33
  model = pipeline("text-classification", model="Kebinnuil/suicidal_detection_model")
34
 
35
+ result = model("I want to jump off the bridge")
 
 
 
36
  print(result)