food vs nonfood classifier
Browse files- README.md +11 -11
- config.json +4 -4
- 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.0007 | 10.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.0006
|
22 |
- Accuracy: 1.0
|
23 |
|
24 |
## Model description
|
|
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 0.3264 | 1.0 | 9 | 0.0895 | 0.9709 |
|
54 |
+
| 0.0372 | 2.0 | 18 | 0.0223 | 0.9964 |
|
55 |
+
| 0.0225 | 3.0 | 27 | 0.0022 | 1.0 |
|
56 |
+
| 0.0023 | 4.0 | 36 | 0.0015 | 1.0 |
|
57 |
+
| 0.0015 | 5.0 | 45 | 0.0010 | 1.0 |
|
58 |
+
| 0.0012 | 6.0 | 54 | 0.0008 | 1.0 |
|
59 |
+
| 0.0009 | 7.0 | 63 | 0.0007 | 1.0 |
|
60 |
+
| 0.0008 | 8.0 | 72 | 0.0006 | 1.0 |
|
61 |
+
| 0.0009 | 9.0 | 81 | 0.0006 | 1.0 |
|
62 |
+
| 0.0007 | 10.0 | 90 | 0.0006 | 1.0 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
config.json
CHANGED
@@ -9,13 +9,13 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"label2id": {
|
17 |
-
"food":
|
18 |
-
"not_food":
|
19 |
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "food",
|
13 |
+
"1": "not_food"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"label2id": {
|
17 |
+
"food": 0,
|
18 |
+
"not_food": 1
|
19 |
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
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:267d80f37cfea177eac74cec68bd4fcbcb0ed0688739820a2967ba4a9d7de782
|
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:7925907535a140fb8a58fa3718f780e4d3dc9110f8fd83aaf0bb5a2df8492662
|
3 |
size 5240
|