Model save
Browse files- README.md +65 -0
- trainer_state.json +67 -0
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: cc-by-nc-4.0
|
| 4 |
+
base_model: MCG-NJU/videomae-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: VideoMAE_wlasl__codeCheck
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# VideoMAE_wlasl__codeCheck
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 7.6141
|
| 22 |
+
- Accuracy: 0.0010
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 5e-05
|
| 42 |
+
- train_batch_size: 2
|
| 43 |
+
- eval_batch_size: 2
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 4
|
| 46 |
+
- total_train_batch_size: 8
|
| 47 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 50 |
+
- training_steps: 1786
|
| 51 |
+
- mixed_precision_training: Native AMP
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 57 |
+
| 30.6603 | 1.0 | 1786 | 7.6141 | 0.0010 |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
### Framework versions
|
| 61 |
+
|
| 62 |
+
- Transformers 4.46.1
|
| 63 |
+
- Pytorch 2.5.1+cu124
|
| 64 |
+
- Datasets 3.1.0
|
| 65 |
+
- Tokenizers 0.20.1
|
trainer_state.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.0010214504596527069,
|
| 3 |
+
"best_model_checkpoint": "/media/cse/HDD/Shawon/shawon/10 fold timesformer/VideoMAE_wlasl__codeCheck/checkpoint-1786",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 1786,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 1.0,
|
| 13 |
+
"grad_norm": 20.611459732055664,
|
| 14 |
+
"learning_rate": 1.2445550715619166e-07,
|
| 15 |
+
"loss": 30.6603,
|
| 16 |
+
"step": 1786
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 1.0,
|
| 20 |
+
"eval_accuracy": 0.0010214504596527069,
|
| 21 |
+
"eval_loss": 7.61414909362793,
|
| 22 |
+
"eval_runtime": 297.8226,
|
| 23 |
+
"eval_samples_per_second": 13.149,
|
| 24 |
+
"eval_steps_per_second": 6.574,
|
| 25 |
+
"step": 1786
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 1.0,
|
| 29 |
+
"step": 1786,
|
| 30 |
+
"total_flos": 1.8121006360874189e+19,
|
| 31 |
+
"train_loss": 30.660261233202686,
|
| 32 |
+
"train_runtime": 1787.4428,
|
| 33 |
+
"train_samples_per_second": 7.994,
|
| 34 |
+
"train_steps_per_second": 0.999
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"logging_steps": 500,
|
| 38 |
+
"max_steps": 1786,
|
| 39 |
+
"num_input_tokens_seen": 0,
|
| 40 |
+
"num_train_epochs": 9223372036854775807,
|
| 41 |
+
"save_steps": 500,
|
| 42 |
+
"stateful_callbacks": {
|
| 43 |
+
"EarlyStoppingCallback": {
|
| 44 |
+
"args": {
|
| 45 |
+
"early_stopping_patience": 5,
|
| 46 |
+
"early_stopping_threshold": 0.0
|
| 47 |
+
},
|
| 48 |
+
"attributes": {
|
| 49 |
+
"early_stopping_patience_counter": 0
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"TrainerControl": {
|
| 53 |
+
"args": {
|
| 54 |
+
"should_epoch_stop": false,
|
| 55 |
+
"should_evaluate": false,
|
| 56 |
+
"should_log": false,
|
| 57 |
+
"should_save": true,
|
| 58 |
+
"should_training_stop": true
|
| 59 |
+
},
|
| 60 |
+
"attributes": {}
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"total_flos": 1.8121006360874189e+19,
|
| 64 |
+
"train_batch_size": 2,
|
| 65 |
+
"trial_name": null,
|
| 66 |
+
"trial_params": null
|
| 67 |
+
}
|