Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use ishwarbb23/Q2-PHQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ishwarbb23/Q2-PHQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ishwarbb23/Q2-PHQ")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ishwarbb23/Q2-PHQ") model = AutoModelForSequenceClassification.from_pretrained("ishwarbb23/Q2-PHQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e1b469e
1
Parent(s): 31b01e4
End of training
Browse files- README.md +11 -2
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -3,6 +3,8 @@ license: apache-2.0
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: Q2-PHQ
|
| 8 |
results: []
|
|
@@ -14,6 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
# Q2-PHQ
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
@@ -38,13 +43,17 @@ The following hyperparameters were used during training:
|
|
| 38 |
- seed: 42
|
| 39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 40 |
- lr_scheduler_type: linear
|
| 41 |
-
- num_epochs:
|
| 42 |
|
| 43 |
### Training results
|
| 44 |
|
| 45 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 46 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 47 |
-
| No log | 1.0 | 51 | 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
|
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
model-index:
|
| 9 |
- name: Q2-PHQ
|
| 10 |
results: []
|
|
|
|
| 16 |
# Q2-PHQ
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.4108
|
| 21 |
+
- Accuracy: 0.79
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 43 |
- seed: 42
|
| 44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
+
- num_epochs: 5
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| No log | 1.0 | 51 | 0.3373 | 0.83 |
|
| 53 |
+
| No log | 2.0 | 102 | 0.3360 | 0.7975 |
|
| 54 |
+
| No log | 3.0 | 153 | 0.3572 | 0.79 |
|
| 55 |
+
| No log | 4.0 | 204 | 0.3911 | 0.795 |
|
| 56 |
+
| No log | 5.0 | 255 | 0.4108 | 0.79 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267855978
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6128980eff382c09b47ae7973fe1b1bf29f608c054243d0c5c878859ca7d0c12
|
| 3 |
size 267855978
|