Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use ranjitharjun7/Food_Not_Food_Text_Classification_Bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ranjitharjun7/Food_Not_Food_Text_Classification_Bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ranjitharjun7/Food_Not_Food_Text_Classification_Bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ranjitharjun7/Food_Not_Food_Text_Classification_Bert") model = AutoModelForSequenceClassification.from_pretrained("ranjitharjun7/Food_Not_Food_Text_Classification_Bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Food Not food text classification
Browse files- README.md +11 -11
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,7 +18,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
- Accuracy: 1.0
|
| 23 |
|
| 24 |
## Model description
|
|
@@ -50,16 +50,16 @@ The following hyperparameters were used during training:
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0005
|
| 22 |
- Accuracy: 1.0
|
| 23 |
|
| 24 |
## Model description
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| 0.4521 | 1.0 | 7 | 0.1490 | 1.0 |
|
| 54 |
+
| 0.109 | 2.0 | 14 | 0.0132 | 1.0 |
|
| 55 |
+
| 0.0092 | 3.0 | 21 | 0.0029 | 1.0 |
|
| 56 |
+
| 0.0024 | 4.0 | 28 | 0.0013 | 1.0 |
|
| 57 |
+
| 0.0012 | 5.0 | 35 | 0.0008 | 1.0 |
|
| 58 |
+
| 0.0009 | 6.0 | 42 | 0.0007 | 1.0 |
|
| 59 |
+
| 0.0007 | 7.0 | 49 | 0.0006 | 1.0 |
|
| 60 |
+
| 0.0006 | 8.0 | 56 | 0.0005 | 1.0 |
|
| 61 |
+
| 0.0006 | 9.0 | 63 | 0.0005 | 1.0 |
|
| 62 |
+
| 0.0006 | 10.0 | 70 | 0.0005 | 1.0 |
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7576e6131004bfd6b19d85af1bbb3298e482408a58e6f85811a5dc67ca1a9fdf
|
| 3 |
size 267832560
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb6b4f046b9e2736a72aa55c7db77145c9143292aa46174f1c704ab0f168b903
|
| 3 |
size 5240
|