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")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dlb/MentalBERTa") model = AutoModelForMaskedLM.from_pretrained("dlb/MentalBERTa") - Notebooks
- Google Colab
- Kaggle
Commit ·
e0cbfc5
1
Parent(s): 54c2143
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (802ad8953816a480afc33738f406b034f1b57a21)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05f248dd1acee98c07d3fb1740c2334d6ccbdc6f03fc34cfb18ce409e70055ff
|
| 3 |
+
size 1421700748
|