Upload folder using huggingface_hub
Browse files- config.json +59 -0
- model.safetensors +3 -0
- preprocessor_config.json +33 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ViTForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"encoder_stride": 16,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.0,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "calling",
|
| 13 |
+
"1": "clapping",
|
| 14 |
+
"2": "cycling",
|
| 15 |
+
"3": "dancing",
|
| 16 |
+
"4": "drinking",
|
| 17 |
+
"5": "eating",
|
| 18 |
+
"6": "fighting",
|
| 19 |
+
"7": "hugging",
|
| 20 |
+
"8": "laughing",
|
| 21 |
+
"9": "listening_to_music",
|
| 22 |
+
"10": "running",
|
| 23 |
+
"11": "sitting",
|
| 24 |
+
"12": "sleeping",
|
| 25 |
+
"13": "texting",
|
| 26 |
+
"14": "using_laptop"
|
| 27 |
+
},
|
| 28 |
+
"image_size": 224,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 3072,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"calling": 0,
|
| 33 |
+
"clapping": 1,
|
| 34 |
+
"cycling": 2,
|
| 35 |
+
"dancing": 3,
|
| 36 |
+
"drinking": 4,
|
| 37 |
+
"eating": 5,
|
| 38 |
+
"fighting": 6,
|
| 39 |
+
"hugging": 7,
|
| 40 |
+
"laughing": 8,
|
| 41 |
+
"listening_to_music": 9,
|
| 42 |
+
"running": 10,
|
| 43 |
+
"sitting": 11,
|
| 44 |
+
"sleeping": 12,
|
| 45 |
+
"texting": 13,
|
| 46 |
+
"using_laptop": 14
|
| 47 |
+
},
|
| 48 |
+
"layer_norm_eps": 1e-12,
|
| 49 |
+
"model_type": "vit",
|
| 50 |
+
"num_attention_heads": 12,
|
| 51 |
+
"num_channels": 3,
|
| 52 |
+
"num_hidden_layers": 12,
|
| 53 |
+
"patch_size": 16,
|
| 54 |
+
"pooler_act": "tanh",
|
| 55 |
+
"pooler_output_size": 768,
|
| 56 |
+
"problem_type": "single_label_classification",
|
| 57 |
+
"qkv_bias": true,
|
| 58 |
+
"transformers_version": "4.57.3"
|
| 59 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a78579e4cdbc5aa23c5be1ff81225909d8bcaf7112bddfefedbc8a7ffb15f236
|
| 3 |
+
size 343263964
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"disable_grouping": null,
|
| 7 |
+
"do_center_crop": null,
|
| 8 |
+
"do_convert_rgb": null,
|
| 9 |
+
"do_normalize": true,
|
| 10 |
+
"do_pad": null,
|
| 11 |
+
"do_rescale": true,
|
| 12 |
+
"do_resize": true,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_processor_type": "ViTImageProcessorFast",
|
| 19 |
+
"image_std": [
|
| 20 |
+
0.5,
|
| 21 |
+
0.5,
|
| 22 |
+
0.5
|
| 23 |
+
],
|
| 24 |
+
"input_data_format": null,
|
| 25 |
+
"pad_size": null,
|
| 26 |
+
"resample": 2,
|
| 27 |
+
"rescale_factor": 0.00392156862745098,
|
| 28 |
+
"return_tensors": null,
|
| 29 |
+
"size": {
|
| 30 |
+
"height": 224,
|
| 31 |
+
"width": 224
|
| 32 |
+
}
|
| 33 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ce0084f6c1920d574c9a228e1ddf245b4831240d256f939b326e5663fc3ae5f
|
| 3 |
+
size 5777
|