Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use philgrey/question_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philgrey/question_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philgrey/question_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philgrey/question_classifier") model = AutoModelForSequenceClassification.from_pretrained("philgrey/question_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
-
- Accuracy:
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -49,13 +49,13 @@ The following hyperparameters were used during training:
|
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
-
| No log | 1.0 |
|
| 53 |
-
| No log | 2.0 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
-
- Transformers 4.40.
|
| 59 |
- Pytorch 2.1.0
|
| 60 |
-
- Datasets 2.19.
|
| 61 |
- Tokenizers 0.19.1
|
|
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.0991
|
| 21 |
+
- Accuracy: 0.9881
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| No log | 1.0 | 16 | 0.1252 | 0.9524 |
|
| 53 |
+
| No log | 2.0 | 32 | 0.0991 | 0.9881 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
+
- Transformers 4.40.2
|
| 59 |
- Pytorch 2.1.0
|
| 60 |
+
- Datasets 2.19.1
|
| 61 |
- Tokenizers 0.19.1
|