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 +8 -8
- 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.
|
| 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.4232
|
| 23 |
+
- Accuracy: 0.89
|
| 24 |
+
- F1: 0.8884
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| 0.8589 | 1.0 | 32 | 0.4555 | 0.855 | 0.8547 |
|
| 56 |
+
| 0.316 | 2.0 | 64 | 0.3841 | 0.875 | 0.8737 |
|
| 57 |
+
| 0.1993 | 3.0 | 96 | 0.4407 | 0.875 | 0.8753 |
|
| 58 |
+
| 0.1376 | 4.0 | 128 | 0.4330 | 0.885 | 0.8829 |
|
| 59 |
+
| 0.1128 | 5.0 | 160 | 0.4232 | 0.89 | 0.8884 |
|
| 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:93bc7b246d0f097e3f3feb16d2dc97b198169e442a27e6332e54c93313d6a97b
|
| 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:561c20baee45c4fc42edaa3a72ca91d7bcb318bff81ea251ccd8e16b7cf112d5
|
| 3 |
size 5841
|