Instructions to use dlb/MentalBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dlb/MentalBERTa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dlb/MentalBERTa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dlb/MentalBERTa") model = AutoModelForMaskedLM.from_pretrained("dlb/MentalBERTa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturef55db5c -
Update README.md
Verified signature466b92f
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (802ad8953816a480afc33738f406b034f1b57a21) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>e0cbfc5
-
Create README.md
54c2143 -
Initial Commit
091d54c
-
initial commit
976ecc7