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 +8 -8
- all_results.json +6 -6
- eval_results.json +6 -6
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 |
|
|
@@ -65,11 +65,11 @@ The following hyperparameters were used during training:
|
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
-
| Training Loss | Epoch
|
| 69 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
-
| No log |
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.6458943019452573
|
| 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: 1.6672
|
| 36 |
+
- Accuracy: 0.6459
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 70 |
+
| No log | 0.9890 | 45 | 2.0266 | 0.2080 |
|
| 71 |
+
| 2.0636 | 1.9890 | 90 | 1.9071 | 0.5510 |
|
| 72 |
+
| 1.9588 | 2.9890 | 135 | 1.6672 | 0.6459 |
|
| 73 |
|
| 74 |
|
| 75 |
### 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": 2.989010989010989,
|
| 3 |
+
"eval_accuracy": 0.6458943019452573,
|
| 4 |
+
"eval_loss": 1.6671953201293945,
|
| 5 |
+
"eval_runtime": 55.3025,
|
| 6 |
+
"eval_samples_per_second": 105.04,
|
| 7 |
+
"eval_steps_per_second": 1.645
|
| 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": 2.989010989010989,
|
| 3 |
+
"eval_accuracy": 0.6458943019452573,
|
| 4 |
+
"eval_loss": 1.6671953201293945,
|
| 5 |
+
"eval_runtime": 55.3025,
|
| 6 |
+
"eval_samples_per_second": 105.04,
|
| 7 |
+
"eval_steps_per_second": 1.645
|
| 8 |
}
|