Instructions to use ForumCore/finetuned_video_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ForumCore/finetuned_video_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ForumCore/finetuned_video_model") 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("ForumCore/finetuned_video_model") model = AutoModelForImageClassification.from_pretrained("ForumCore/finetuned_video_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Petr Jaroch commited on
DotCheck/Dotengine
Browse files- README.md +90 -0
- config.json +33 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: DotCheck/finetuned_model
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: finetuned_video_model
|
| 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 |
+
# finetuned_video_model
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [DotCheck/finetuned_model](https://huggingface.co/DotCheck/finetuned_model) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0712
|
| 22 |
+
- Accuracy: 0.9821
|
| 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: 1e-05
|
| 42 |
+
- train_batch_size: 512
|
| 43 |
+
- eval_batch_size: 512
|
| 44 |
+
- seed: 42
|
| 45 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- num_epochs: 30
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| No log | 1.0 | 14 | 0.1532 | 0.9615 |
|
| 54 |
+
| No log | 2.0 | 28 | 0.1363 | 0.9615 |
|
| 55 |
+
| No log | 3.0 | 42 | 0.1180 | 0.9654 |
|
| 56 |
+
| No log | 4.0 | 56 | 0.0998 | 0.9692 |
|
| 57 |
+
| No log | 5.0 | 70 | 0.0862 | 0.9692 |
|
| 58 |
+
| No log | 6.0 | 84 | 0.0808 | 0.9769 |
|
| 59 |
+
| No log | 7.0 | 98 | 0.0737 | 0.9782 |
|
| 60 |
+
| No log | 8.0 | 112 | 0.0677 | 0.9821 |
|
| 61 |
+
| No log | 9.0 | 126 | 0.0685 | 0.9821 |
|
| 62 |
+
| No log | 10.0 | 140 | 0.0704 | 0.9821 |
|
| 63 |
+
| No log | 11.0 | 154 | 0.0676 | 0.9821 |
|
| 64 |
+
| No log | 12.0 | 168 | 0.0653 | 0.9821 |
|
| 65 |
+
| No log | 13.0 | 182 | 0.0679 | 0.9833 |
|
| 66 |
+
| No log | 14.0 | 196 | 0.0674 | 0.9833 |
|
| 67 |
+
| No log | 15.0 | 210 | 0.0673 | 0.9833 |
|
| 68 |
+
| No log | 16.0 | 224 | 0.0692 | 0.9821 |
|
| 69 |
+
| No log | 17.0 | 238 | 0.0676 | 0.9833 |
|
| 70 |
+
| No log | 18.0 | 252 | 0.0691 | 0.9833 |
|
| 71 |
+
| No log | 19.0 | 266 | 0.0699 | 0.9821 |
|
| 72 |
+
| No log | 20.0 | 280 | 0.0688 | 0.9833 |
|
| 73 |
+
| No log | 21.0 | 294 | 0.0694 | 0.9833 |
|
| 74 |
+
| No log | 22.0 | 308 | 0.0707 | 0.9821 |
|
| 75 |
+
| No log | 23.0 | 322 | 0.0707 | 0.9821 |
|
| 76 |
+
| No log | 24.0 | 336 | 0.0706 | 0.9821 |
|
| 77 |
+
| No log | 25.0 | 350 | 0.0710 | 0.9821 |
|
| 78 |
+
| No log | 26.0 | 364 | 0.0711 | 0.9821 |
|
| 79 |
+
| No log | 27.0 | 378 | 0.0710 | 0.9821 |
|
| 80 |
+
| No log | 28.0 | 392 | 0.0710 | 0.9821 |
|
| 81 |
+
| No log | 29.0 | 406 | 0.0712 | 0.9821 |
|
| 82 |
+
| No log | 30.0 | 420 | 0.0712 | 0.9821 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
### Framework versions
|
| 86 |
+
|
| 87 |
+
- Transformers 4.54.1
|
| 88 |
+
- Pytorch 2.6.0+cu124
|
| 89 |
+
- Datasets 4.0.0
|
| 90 |
+
- Tokenizers 0.21.4
|
config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ViTForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"encoder_stride": 16,
|
| 7 |
+
"hidden_act": "gelu",
|
| 8 |
+
"hidden_dropout_prob": 0.0,
|
| 9 |
+
"hidden_size": 768,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "REAL",
|
| 12 |
+
"1": "FAKE"
|
| 13 |
+
},
|
| 14 |
+
"image_size": 224,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 3072,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"FAKE": 1,
|
| 19 |
+
"REAL": 0
|
| 20 |
+
},
|
| 21 |
+
"layer_norm_eps": 1e-12,
|
| 22 |
+
"model_type": "vit",
|
| 23 |
+
"num_attention_heads": 12,
|
| 24 |
+
"num_channels": 3,
|
| 25 |
+
"num_hidden_layers": 12,
|
| 26 |
+
"patch_size": 16,
|
| 27 |
+
"pooler_act": "tanh",
|
| 28 |
+
"pooler_output_size": 768,
|
| 29 |
+
"problem_type": "single_label_classification",
|
| 30 |
+
"qkv_bias": true,
|
| 31 |
+
"torch_dtype": "float32",
|
| 32 |
+
"transformers_version": "4.54.1"
|
| 33 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9bfbde6029a18c9ee968489299a6176b8a04dbc3b7ab5511ae141a5289d8e6a
|
| 3 |
+
size 343223968
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb4b61675c29c76755c2b23a79309be0c52c5d970168c742525627ece147ae30
|
| 3 |
+
size 5304
|