dakkoong commited on
Commit
4e6d6d6
1 Parent(s): 63d3a43

Upload model

Browse files
Files changed (2) hide show
  1. config.json +74 -2
  2. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "_name_or_path": "microsoft/git-base-vqav2",
3
  "architectures": [
4
  "GitModel"
@@ -22,14 +23,85 @@
22
  "position_embedding_type": "absolute",
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "float32",
25
- "transformers_version": "4.35.2",
26
  "use_cache": true,
27
  "vision_config": {
 
 
 
 
 
 
 
 
 
 
 
 
28
  "dropout": 0.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  "image_size": 480,
30
  "initializer_factor": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
31
  "model_type": "git_vision_model",
32
- "projection_dim": 512
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  },
34
  "vocab_size": 30522
35
  }
 
1
  {
2
+ "_commit_hash": "ebc01fc0e32e3b65aafad93556a18027e1c55f7c",
3
  "_name_or_path": "microsoft/git-base-vqav2",
4
  "architectures": [
5
  "GitModel"
 
23
  "position_embedding_type": "absolute",
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "float32",
26
+ "transformers_version": null,
27
  "use_cache": true,
28
  "vision_config": {
29
+ "_name_or_path": "",
30
+ "add_cross_attention": false,
31
+ "architectures": null,
32
+ "attention_dropout": 0.0,
33
+ "bad_words_ids": null,
34
+ "begin_suppress_tokens": null,
35
+ "bos_token_id": null,
36
+ "chunk_size_feed_forward": 0,
37
+ "cross_attention_hidden_size": null,
38
+ "decoder_start_token_id": null,
39
+ "diversity_penalty": 0.0,
40
+ "do_sample": false,
41
  "dropout": 0.0,
42
+ "early_stopping": false,
43
+ "encoder_no_repeat_ngram_size": 0,
44
+ "eos_token_id": null,
45
+ "exponential_decay_length_penalty": null,
46
+ "finetuning_task": null,
47
+ "forced_bos_token_id": null,
48
+ "forced_eos_token_id": null,
49
+ "hidden_act": "quick_gelu",
50
+ "hidden_size": 768,
51
+ "id2label": {
52
+ "0": "LABEL_0",
53
+ "1": "LABEL_1"
54
+ },
55
  "image_size": 480,
56
  "initializer_factor": 1.0,
57
+ "initializer_range": 0.02,
58
+ "intermediate_size": 3072,
59
+ "is_decoder": false,
60
+ "is_encoder_decoder": false,
61
+ "label2id": {
62
+ "LABEL_0": 0,
63
+ "LABEL_1": 1
64
+ },
65
+ "layer_norm_eps": 1e-05,
66
+ "length_penalty": 1.0,
67
+ "max_length": 20,
68
+ "min_length": 0,
69
  "model_type": "git_vision_model",
70
+ "no_repeat_ngram_size": 0,
71
+ "num_attention_heads": 12,
72
+ "num_beam_groups": 1,
73
+ "num_beams": 1,
74
+ "num_channels": 3,
75
+ "num_hidden_layers": 12,
76
+ "num_return_sequences": 1,
77
+ "output_attentions": false,
78
+ "output_hidden_states": false,
79
+ "output_scores": false,
80
+ "pad_token_id": null,
81
+ "patch_size": 16,
82
+ "prefix": null,
83
+ "problem_type": null,
84
+ "projection_dim": 512,
85
+ "pruned_heads": {},
86
+ "remove_invalid_values": false,
87
+ "repetition_penalty": 1.0,
88
+ "return_dict": true,
89
+ "return_dict_in_generate": false,
90
+ "sep_token_id": null,
91
+ "suppress_tokens": null,
92
+ "task_specific_params": null,
93
+ "temperature": 1.0,
94
+ "tf_legacy_loss": false,
95
+ "tie_encoder_decoder": false,
96
+ "tie_word_embeddings": true,
97
+ "tokenizer_class": null,
98
+ "top_k": 50,
99
+ "top_p": 1.0,
100
+ "torch_dtype": null,
101
+ "torchscript": false,
102
+ "transformers_version": "4.26.0",
103
+ "typical_p": 1.0,
104
+ "use_bfloat16": false
105
  },
106
  "vocab_size": 30522
107
  }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:643460e5326e9a472dc54879f96dab2e196ab197b99534ccbe9f3589bee4c2f3
3
+ size 614871758