SeyedAli commited on
Commit
015c803
1 Parent(s): 0185280

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SeyedAli/Remote-Sensing-UAV-image-classification",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "field",
13
+ "1": "forest",
14
+ "2": "grass",
15
+ "3": "industry",
16
+ "4": "parking",
17
+ "5": "resident",
18
+ "6": "river or lake"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "field": "0",
25
+ "forest": "1",
26
+ "grass": "2",
27
+ "industry": "3",
28
+ "parking": "4",
29
+ "resident": "5",
30
+ "river or lake": "6"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "quantization_config": {
41
+ "bnb_4bit_compute_dtype": "float32",
42
+ "bnb_4bit_quant_type": "fp4",
43
+ "bnb_4bit_use_double_quant": false,
44
+ "llm_int8_enable_fp32_cpu_offload": false,
45
+ "llm_int8_has_fp16_weight": false,
46
+ "llm_int8_skip_modules": null,
47
+ "llm_int8_threshold": 6.0,
48
+ "load_in_4bit": true,
49
+ "load_in_8bit": false,
50
+ "quant_method": "bitsandbytes"
51
+ },
52
+ "torch_dtype": "float16",
53
+ "transformers_version": "4.37.1"
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a7b40ad7bfef27c15e40a5c988390c0b809feb273db8d0258f29301107c058d
3
+ size 49575486