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