Instructions to use The-Adnan-Syed/Stress_Classifier_BERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use The-Adnan-Syed/Stress_Classifier_BERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="The-Adnan-Syed/Stress_Classifier_BERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("The-Adnan-Syed/Stress_Classifier_BERT") model = AutoModelForSequenceClassification.from_pretrained("The-Adnan-Syed/Stress_Classifier_BERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 128 Bytes
d26ed64 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0391e47895e594174e83bb24b80bc11e60765e764f788ac963ff1115f9441455
size 598
|