Mental-Health
Collection
4 items • Updated
How to use AlexanderHolmes0/mental_health_model_rob with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AlexanderHolmes0/mental_health_model_rob") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AlexanderHolmes0/mental_health_model_rob")
model = AutoModelForSequenceClassification.from_pretrained("AlexanderHolmes0/mental_health_model_rob")This model is a fine-tuned version of FacebookAI/roberta-base on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|---|---|---|---|---|
| No log | 1.0 | 270 | 0.7201 | 0.6445 |
| 0.7167 | 2.0 | 540 | 0.7585 | 0.5858 |
| 0.7167 | 3.0 | 810 | 0.7726 | 0.6201 |
| 0.3475 | 4.0 | 1080 | 0.7829 | 0.6671 |
| 0.3475 | 5.0 | 1350 | 0.7226 | 0.7786 |
Base model
FacebookAI/roberta-base