Update README.md
Browse files
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 |
-
|
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)
|