Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use anvayS/reddit-aita-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anvayS/reddit-aita-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anvayS/reddit-aita-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("anvayS/reddit-aita-classifier") model = AutoModelForSequenceClassification.from_pretrained("anvayS/reddit-aita-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -16,8 +16,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.
|
| 20 |
-
- Accuracy: 0.
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -46,12 +46,12 @@ The following hyperparameters were used during training:
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
-
| Training Loss | Epoch | Step
|
| 50 |
-
|:-------------:|:-----:|:----
|
| 51 |
-
| 0.
|
| 52 |
-
| 0.
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
|
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.1667
|
| 20 |
+
- Accuracy: 0.9497
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 51 |
+
| 0.5866 | 1.0 | 1250 | 0.5692 | 0.7247 |
|
| 52 |
+
| 0.5638 | 2.0 | 2500 | 0.4841 | 0.7813 |
|
| 53 |
+
| 0.4652 | 3.0 | 3750 | 0.2712 | 0.9077 |
|
| 54 |
+
| 0.3088 | 4.0 | 5000 | 0.1667 | 0.9497 |
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|