Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use gratkadlafana/grammar_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gratkadlafana/grammar_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gratkadlafana/grammar_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gratkadlafana/grammar_classifier") model = AutoModelForSequenceClassification.from_pretrained("gratkadlafana/grammar_classifier") - 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-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.
|
| 21 |
-
- Accuracy: 0.
|
| 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 | 151 | 0.
|
| 53 |
-
| No log | 2.0 | 302 | 0.
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
-
- Transformers 4.
|
| 59 |
-
- Pytorch 2.
|
| 60 |
-
- Datasets 2.
|
| 61 |
-
- Tokenizers 0.
|
|
|
|
| 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.4270
|
| 21 |
+
- Accuracy: 0.8344
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| No log | 1.0 | 151 | 0.4237 | 0.8427 |
|
| 53 |
+
| No log | 2.0 | 302 | 0.4270 | 0.8344 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
+
- Transformers 4.36.2
|
| 59 |
+
- Pytorch 2.0.0
|
| 60 |
+
- Datasets 2.1.0
|
| 61 |
+
- Tokenizers 0.15.0
|
runs/Jan24_09-53-51_c0c12f652d36/events.out.tfevents.1706090033.c0c12f652d36.27.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c37e19a39ec5f8daa20d411b33b795e86ee68e051ea7d07906ffbcd94eb1a5ad
|
| 3 |
+
size 5373
|