Instructions to use NekoJar/trainer_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NekoJar/trainer_output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NekoJar/trainer_output") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("NekoJar/trainer_output") model = AutoModelForImageClassification.from_pretrained("NekoJar/trainer_output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +14 -9
- all_results.json +6 -6
- eval_results.json +6 -6
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -22,7 +22,7 @@ model-index:
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
-
value: 0.
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [motheecreator/vit-Facial-Expression-Recognition](https://huggingface.co/motheecreator/vit-Facial-Expression-Recognition) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
- Loss:
|
| 36 |
-
- Accuracy: 0.
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -61,17 +61,22 @@ The following hyperparameters were used during training:
|
|
| 61 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 62 |
- lr_scheduler_type: cosine
|
| 63 |
- lr_scheduler_warmup_steps: 1000
|
| 64 |
-
- num_epochs:
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 70 |
-
| No log | 0.9890 | 45 | 2.
|
| 71 |
-
| 2.
|
| 72 |
-
| 1.
|
| 73 |
-
| 1.
|
| 74 |
-
| 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.755896023411947
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [motheecreator/vit-Facial-Expression-Recognition](https://huggingface.co/motheecreator/vit-Facial-Expression-Recognition) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.8323
|
| 36 |
+
- Accuracy: 0.7559
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 61 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 62 |
- lr_scheduler_type: cosine
|
| 63 |
- lr_scheduler_warmup_steps: 1000
|
| 64 |
+
- num_epochs: 10
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 70 |
+
| No log | 0.9890 | 45 | 2.0569 | 0.1918 |
|
| 71 |
+
| 2.0911 | 1.9890 | 90 | 1.9314 | 0.4433 |
|
| 72 |
+
| 1.9842 | 2.9890 | 135 | 1.6798 | 0.6192 |
|
| 73 |
+
| 1.7415 | 3.9890 | 180 | 1.3741 | 0.6504 |
|
| 74 |
+
| 1.413 | 4.9890 | 225 | 1.1637 | 0.6953 |
|
| 75 |
+
| 1.1803 | 5.9890 | 270 | 1.0347 | 0.7172 |
|
| 76 |
+
| 1.0364 | 6.9890 | 315 | 0.9433 | 0.7356 |
|
| 77 |
+
| 0.9529 | 7.9890 | 360 | 0.8781 | 0.7478 |
|
| 78 |
+
| 0.8837 | 8.9890 | 405 | 0.8323 | 0.7559 |
|
| 79 |
+
| 0.8339 | 9.9890 | 450 | 0.8072 | 0.7531 |
|
| 80 |
|
| 81 |
|
| 82 |
### Framework versions
|
all_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_loss":
|
| 5 |
-
"eval_runtime":
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second": 1.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 9.989010989010989,
|
| 3 |
+
"eval_accuracy": 0.755896023411947,
|
| 4 |
+
"eval_loss": 0.8322914838790894,
|
| 5 |
+
"eval_runtime": 53.712,
|
| 6 |
+
"eval_samples_per_second": 108.151,
|
| 7 |
+
"eval_steps_per_second": 1.694
|
| 8 |
}
|
eval_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_loss":
|
| 5 |
-
"eval_runtime":
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second": 1.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 9.989010989010989,
|
| 3 |
+
"eval_accuracy": 0.755896023411947,
|
| 4 |
+
"eval_loss": 0.8322914838790894,
|
| 5 |
+
"eval_runtime": 53.712,
|
| 6 |
+
"eval_samples_per_second": 108.151,
|
| 7 |
+
"eval_steps_per_second": 1.694
|
| 8 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343242432
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1c81ddd449b6039960b137608a59dd06e2491be145a7f26c85c7d00669a0ec4
|
| 3 |
size 343242432
|