Feature Extraction
Transformers
Safetensors
bert
mental-health
multi-label
mental-bert-base-uncased
text-embeddings-inference
Instructions to use mahir2021/mental-bert-depemo2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mahir2021/mental-bert-depemo2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mahir2021/mental-bert-depemo2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("mahir2021/mental-bert-depemo2") model = AutoModel.from_pretrained("mahir2021/mental-bert-depemo2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download custom_config.json from mahir2021/mental-bert-depemo2: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/mahir2021/mental-bert-depemo2/resolve/main/custom_config.json
- Command line
-
hf download hf://mahir2021/mental-bert-depemo2/custom_config.json
-
curl -L -o custom_config.json https://huggingface.co/mahir2021/mental-bert-depemo2/resolve/main/custom_config.json
141 Bytes
| { | |
| "arch": "CLSDiscriminator", | |
| "base_model": "mental/mental-bert-base-uncased", | |
| "num_labels": 8, | |
| "with_adv": false, | |
| "dropout": 0.1 | |
| } |