Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use kozy9/news_classification_file with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kozy9/news_classification_file with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kozy9/news_classification_file")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kozy9/news_classification_file") model = AutoModelForSequenceClassification.from_pretrained("kozy9/news_classification_file", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Pushing the news classification model
Browse files- README.md +7 -7
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -19,9 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
- Accuracy: 0.89
|
| 24 |
-
- F1: 0.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -52,11 +52,11 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
|
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.4052
|
| 23 |
- Accuracy: 0.89
|
| 24 |
+
- F1: 0.8902
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| 0.812 | 1.0 | 32 | 0.4014 | 0.875 | 0.8756 |
|
| 56 |
+
| 0.299 | 2.0 | 64 | 0.3691 | 0.89 | 0.8903 |
|
| 57 |
+
| 0.1833 | 3.0 | 96 | 0.3947 | 0.88 | 0.8808 |
|
| 58 |
+
| 0.137 | 4.0 | 128 | 0.4067 | 0.89 | 0.8904 |
|
| 59 |
+
| 0.1069 | 5.0 | 160 | 0.4052 | 0.89 | 0.8902 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267838720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:794a361354a94d80352ba581656cf49dce3ee2e32901b44fff1de2c5c840be07
|
| 3 |
size 267838720
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5841
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4710903c69623a750d9d37fbd2efeb5b98c4bc57b6a7d7dead87ecee4245236d
|
| 3 |
size 5841
|