Commit History

Update README.md
7404c6d
verified

sa-rehman commited on

Update README.md
e0e00e7
verified

sa-rehman commited on

Update README.md
94d64b7
verified

sa-rehman commited on

#To make custom predictions use the below code # Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sa-rehman/stress_classifier") def predict(sentence): pred=pipe.predict(sentence) if pred[0].get("label")=='LABEL_1': return "relaxed" else: return "stressed"
f2b71e1
verified

sa-rehman commited on

Upload 4 files
0dfd4fe
verified

sa-rehman commited on

Upload 4 files
707b694
verified

sa-rehman commited on

Upload 3 files
0b54994
verified

sa-rehman commited on

initial commit
ec27779
verified

sa-rehman commited on